Please check out Crossroads MUSH !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Post Max-level leveling Wed Aug 26, 2009 [11:55 AM]
baltoris
wrastla275@hotmail.com
member since: Jul 7, 2009
Reply
I've played on a few muds where people can gain levels once they've reached max level. Like say max mortal level is 101... Once a person reaches that level he can continue to gain level/trains/hp/mana etc etc however his level stays 101... I've never tried anything like this before, and im not the most experienced coder in the world, but was curious to if anyone knew a good starting spot for this. I am working with a Rot 1.4 game.... Thanks!!


2. RE: Post Max-level leveling Sun Aug 30, 2009 [9:53 PM]
Hellionz
Email not supplied
member since: Aug 30, 2009
In Reply To
Reply
I did something kinda like that though mine was random on kills. I just added it to the align change code under it so every kill it had a chance of rolling for more of the stat or hp or manna you wanted to gain.

if (number(1, 400) < 150 && GET_MANA(ch) >= 50 && GET_DEX(ch)<100) {
send_to_char("You gain 1 Dex!)\r\n", ch);
ch->real_abils.dex += 1;
}

Thats just how I did it.... Though sloppy it works great. I don't know what your pointers are for each thing but you can use this and just edit it how you wish for each stat. You might wanna play with the number rolls I had issues with it rolling to much or too little and I just never got back to it yet.

(Comment added by Hellionz on Sun Aug 30 22:54:56 2009)

If you have a question my AIM is Coindexte8 and Yahoo is Coindexter22

(Comment added by Hellionz on Sun Aug 30 23:02:20 2009)

Also you can add a check in for levels if you only want it to work after max level some like....

if (GET_LEVEL(ch) >= 101) {

if (number(1, 400) < 150 && GET_MANA(ch) >= 50 && GET_DEX(ch)
< 100) {
send_to_char("You gain 1 Dex!)\r\n", ch);
ch->real_abils.dex += 1;
}
}

Something of that nature should work. Just try it and play with it.




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]