ID:140794
 
Code:
        Kaioken()
set category="Attack"
set name="Kaioken"
var/kaiotimes=input("How much times do you want you power to be multiplied by?")as num
usr.attack = (usr.mattack * "[kaiotimes]")
view(usr,8) << "<b><font color=red><font size=2>[usr]: KAIOKEN X[kaiotimes]"


Problem description: I try to multiply the attack var by the maximum attack X the kaiotimes, i get no errors, but when i use the verb, it set my attack var to 0.

What to do? Please help me!

Thanks

Dragonman59 wrote:
Code:
>           usr.attack = (usr.mattack * "[kaiotimes]")
>


Why are you multiplying a number and a string?
In response to Kuraudo
Ok i got it fixed, all thanks to howey, an awesome guy ;)