the spell opon them but it stops dead.
please help the code is below
obj |
oh and yer he/she does have more than 5 mp at the start.
ID:172273
Jun 6 2004, 3:11 pm
|
||
in my code for the magic system when you click the fire button it works out that a mob in front of you and casts
the spell opon them but it stops dead. please help the code is below
oh and yer he/she does have more than 5 mp at the start. | ||
have you defined mp as a mob variable?
mob var mp (No copy and paste cause of spaces)also put ur other major stats there like hp | |
yes i do
mob/var/mp = 20 :) but that dont help me much, but still ty anyway. | |
#4 Jun 6 2004, 8:49 pm
|
|
Madpeter wrote:
in my code for the magic system when you click the fire button it works out that a mob in front of you and casts How much of this gets executed, like does the fire object appear, does the s_damage appear of the mob, and does the sound play. Are there any run-time errors when executing this? Please provide any information on these points. | |
there is no effects and no runtime errors.
[edit] fixed it var/mob/M = locate(/mob/) in get_step(usr,usr.dir) forgot to add the last / after the locate mob bit :) | |
gives me error:src.mp:undefined var
this is on the first usr i have changed plz help