I don't know if this is right... but im trying to make a fireball spell.... this is what I have.
mob
fireball()
missile(/mob/fireball,src,loc)
and also what would I add to that to make it do damage?
please help me......
ID:178398
May 18 2002, 10:41 am
|
|
May 18 2002, 1:34 pm
|
|
anyone there to help me......?
|
You might want to do this:
mob/var/spelltimer = 0 in 0 to 10 This will allow players to flame other mobs. If the mobs are player-controlled, the mobs take damage. The player can only use magic so often, however, because there is a timer. People who have a higher magic rate can cast spells more frequently. |
In response to Lord of Water
|
|
wow! your good! thanks! :) so I'm gonna try to understand most of it :) to see if i am actually learning very well.... so thanks now i can use that for about 4-5 different spells... later im gonna try leveling. Thanks
|
In response to Lord of Water
|
|
im having a couple of errors... these are them
DWO Quest.dm:763:error:/obj/fireball:undefined type path DWO Quest.dm:764:error:mob.client:undefined var |
In response to Aleis
|
|
........first of all
:/obj/fireball:undefined type path u gotta make an object anmed obj/fireball as for the second one,i gotta see it to know how to fix it even though i got it to werk=) |
In response to Magnus VI
|
|
tell me how you did it....
|
In response to Aleis
|
|
*ISGH*
do this and cahgn eit if u need to obj/fireball icon = 'fireball .dmi' the indentation it off so wathc out |
In response to Aleis
|
|
The fist error just is telling you that you don't have an /obj/fireball yet (make sure to give /obj/fireball an icon too, or else the missile won't be too spectacular.) The other error was my fault, as I put mob.client instead of M.client. Swap the two and you should be good to go.
-LoW |
In response to Lord of Water
|
|
i can help u make a spell wit MP and stuff liek that just wait untikl this long weekend
|
In response to Magnus VI
|
|
i'll wait till the long weekend..... anyday
|