ID:145188
 
Code:
mob
Devon
verb
LSSJ()
if(usr.transformed == 1)
usr <<"Your already LSSJ"
return
else
usr.transformed = 1
usr.battlepower *= 25
usr.icon_state = "turn"
world <<"<font color=green>The Ground Violently Shakes"
sleep(05)
view() <<"<font color=green>[usr] says,'Huaaaaaaaaaaaaaaaaaaaaaaaaaaa!'"
usr.icon = 'LSSJBaby.dmi'
usr.overlays += 'LSSJ[Hair].dmi'
view() <<"<fotn color=red>[usr] has transformed into the Legendary Super Saiyan"
return
Revert()
if(usr.transformed == 0)
usr <<"Your not transformed"
return
else
view() <<"[usr] begins to calm down as his incredible power fades"
usr.transformed = 0
usr.battlepower = usr.maxbp
usr.overlays -='LSSJ[Hair].dmi'
usr.icon = 'Baby.dmi'
usr.overlays +='Hair1.dmi'
return

 mob/Stat()
statpanel("[usr]'s Stats")
stat(src)

stat("Race:","[Race]")
stat("Health","[num2text(round((Health/maxhp)*100))]%")
stat("Stamina","[num2text(round((stam/stamax)*100))]%")
stat("Battle Power","[num2text(round((battlepower/maxbp)*100))]%")


Problem description: The problame is that the Battle Power doesn't stay at 100% when you go LSSJ it goes to 2500% Please help me

.. You're multiplying Battle Power by 25. What the hell do you want?
In response to Mysame
Your no help, how do I make the Battle Power stay at 100% would i have to do somthing with the multiplyer, or what?
In response to Strong123488
I'm no help? Nope, you're just plainly unlogical. If you want it to stay at 100%, you need to increase both stats.
Thus, battlepower and maxbp
In response to Strong123488
Mysame wrote:
What the hell do you want?

Strong123488 wrote:
Your no help

Yea he is no help and he has a bad temper.
In response to Mysame
Yes, but if i did that, when it reverted it would revert to maxbp, therefor you would gain Bp every time your transform
In response to Strong123488
Well then, make a backup var. Like origbp (originalbattlepower).
In response to Mysame
Thanks for your help.