ID:176029
 
Here it is...
proc
Transform()
set category = "Fighting" flick("Normal-Monster",usr)
sleep(200)
M.Max_Hp++;M.Strength++;
world <<"[usr] turns into a hug Monster!!!"
here is my error
Combat.dm:270:error:M.Max_Hp:undefined var
Combat.dm:270:error:M.Strength:undefined var
but I have this...
var/Max_Hp
var/Strength
I don't see the problem..
If it says undefined var, the coding is not right. You failed to define M.

Transform()
set category = "Fighting" flick("Normal-Monster",usr)
sleep(200)
M.Max_Hp++;M.Strength++; <font color=yellow>Using the variable M, though it is not defined.</font>
world <<"[usr] turns into a hug Monster!!!"
In response to Skysaw
Skysaw wrote:
If it says undefined var, the coding is not right. You failed to define M.

Transform()
set category = "Fighting" flick("Normal-Monster",usr)
sleep(200)
M.Max_Hp++;M.Strength++; <font color=yellow>Using the variable M, though it is not defined.</font>
world <<"[usr] turns into a hug Monster!!!"
<font color=yellow>Thank you <font color=red>Skysaw
In addition to what Skysaw pointed out, you shouldn't be using usr in that proc. Make it src instead; it's what you really want.

Lummox JR
In response to Lummox JR
ooohhhh, thanks Lummox JR