In response to Pyro_dragons
mob/EarthGod
verb
BoulderThrow()
set category="EarthGod"
mob/var/attacking = 0
var/obj/S=new/obj/GodBoulder
S.loc=(usr.loc)
S.damage=30
S.owner=usr
usr.attacking = 1
walk(S,usr.dir,2)
sleep(50)
LvlCheck(usr)
spawn(50)
usr.attacking = 0
del S
return
In response to Sorcerb
Ok, first of all, get rid of the return, its not needed. Second, that was my fault in the misplacement of variables. Take out the mob/var/attacking from the spell code and place it somewhere outside of the code, or with the rest of you mob variables. That way you can use that one attacking verb in all your spells and attacks instead of repeatedly creating new ones. Meaning:

mob/var/attacking

mob/EarthGod
verb
//etc
In response to Pyro_dragons
mob/EarthGod
verb
BoulderThrow()
set category="EarthGod"
var/obj/S=new/obj/GodBoulder
S.loc=(usr.loc)
S.damage=30
S.owner=usr
usr.attacking = 1
walk(S,usr.dir,2)
sleep(50)
LvlCheck(usr)
spawn(50)
usr.attacking = 0
del S

They still just go simultaneously.
In response to Sorcerb
Wow, apparently I have to spell it out for you. *sigh* Add this after set category.

if(usr.attacking)
usr << "You must wait before casting again."
return
In response to Pyro_dragons
Thanks, it works.
In response to Sorcerb
No problem, but these 20+ replied topics are really getting annoying.

Tell you what, add me to your MSN or email me if you have a problem, so we can reduce these, ok?

MSN/Email = [email protected]
Both the DM guide and the DM reference tell you. Go look it up.
In response to Sorcerb
I call Loki troll. This guy cannot possibly be serious.
In response to Jp
What's a Loki troll?
In response to Sorcerb
GAAAAHHH! So close to getting rid of this topic!!!!!
In response to Pyro_dragons
you can say that agian.
In response to Jp
I think he is, JP. But it's laughable.
In response to Sorcerb
A term I've nicked from another board - well, technically, a Usenet discussion listy thing. A Loki troll is someone who pretends to be incredibly stupid and a member of whatever the generic 'worst social class' on the communications medium is, despite actually being much more intelligent then that and actually in the upper echelons. It's a psychology thing - screwing with people just because you can.
In response to Jp
Jp wrote:
A term I've nicked from another board - well, technically, a Usenet discussion listy thing. A Loki troll is someone who pretends to be incredibly stupid and a member of whatever the generic 'worst social class' on the communications medium is, despite actually being much more intelligent then that and actually in the upper echelons. It's a psychology thing - screwing with people just because you can.

Iam not sure about that in this case but hey he could be an olbie testing us on stupid and moronic questions?
In response to A.T.H.K
Okay, lets stop posting so we may forget that this horrible thread doesn't exist >.>

- GhostAnime
In response to Jp
Heheh -_-...
In response to A.T.H.K
Maybe...
In response to GhostAnime
O.K.
In response to Pyro_dragons
No we aren't.
In response to A.T.H.K
No he can't.
Page: 1 2 3 4