Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
nastasim
Beginner


Joined: 08 Jun 2004
Posts: 10

PostPosted: Tue Jun 08, 2004 11:13 pm   

Spell Re-attack Help
 
Hi All, I have a script which re-casts a spell based on the MUD message saying i hit the mob. The problem I am having is the spells which can hit 2-4 times (on 1 cast), and i get the 'trigger' message that many times!! So I end up casting 2-4 times per round when I really want to cast just once. Here is what it looks like:

Eventide attacks the Milestone Statue.
Marle recites a scroll of recall.
Marle disappears.
Hp:797 Mo:255 Ma:478 Sec:67 [Good] [ne] AC:[-9] Dr:[10] Hr:[4]>
mana = 478 and lastspell=fr
ca 'fists of rock' statue
kill statue
The Milestone Statue is here, fighting Eventide.
Ok.
Your fists of rock hit the Milestone Statue hard.
Your fists of rock hit the Milestone Statue hard.
Your fists of rock hit the Milestone Statue hard.
Your fists of rock hit the Milestone Statue hard.
Silverwind attacks the Milestone Statue.
Erin assists Eventide.
Keano attacks the Milestone Statue.
Thingol assists Eventide.
Hp:797 Mo:255 Ma:430 Sec:67 [Good] [ne] AC:[-9] Dr:[10] Hr:[4]>
Fighting: [the Milestone Statue/Small wounds]>
mana = 478 and lastspell=fr
mana = 478 and lastspell=fr
mana = 478 and lastspell=fr
mana = 478 and lastspell=fr
mana = 430 and lastspell=fr
ca 'fists of rock'
ca 'fists of rock'
ca 'fists of rock'
ca 'fists of rock'
ca 'fists of rock'

The main problem here is that the cast attempts stack up and I am still casting when the mob is dead. And very bad when the group is ordered to recall!!
Any suggestions on how to fix this?
Thank you,
Mario
Reply with quote
filthyreg
Beginner


Joined: 14 Oct 2003
Posts: 14
Location: Canada

PostPosted: Tue Jun 15, 2004 9:07 pm   
 
This is for completed scripts only, post this in the general forum, if you need help.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net