Transformation

Posted by Jinru on Tue 09 Mar 2004 03:09 PM — 8 posts, 25,983 views.

USA #0
How would i start on or make dbz like transformations for my mud that will lets say ssj make pl*3 intill u go back normal. (might be a hard one)
USA #1
Its not hard. Just do something like....

ch->powerlevel * 3;
USA #2
Thanks ill try it but i have another problem
i have put my pl code in and in score and mud. in char data and update.c but it still wont show the gain and i want to see the gain in ur prompt to how whould i go about doing that
thanks
USA #3
also chould i do powrup like this

void do_powerup
ch->base_pl * 3 = powered_up_pl

i want it to show the base pl times that number but the output goes into the powerd up pl varable



(tired cant spell)
USA #4
Whats it showing up in score as? 0? That means the variable is zero. Try to set it and see if it works.

Also, instead of

ch->base_pl * 3 = powered_up_pl

Do this:

powered_up_pl = ch->base_pl * 3;
USA #5
thanks but in the powrup how do i make it a command and also ssj make it so its only race is saiyan
USA #6
Make sure you added the references to tables.c and mud.h, and then cedit it in. And make an ifcheck in the ssj code, if the player isn't saiyan, return.
#7
Set it up like you have turbo, Jinru.
Then I will add ssj as being a skill or ability.