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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
echocaliber
Newbie


Joined: 04 Jun 2022
Posts: 3

PostPosted: Wed Jul 06, 2022 7:16 pm   

auto cast above a certain percent
 
Hi all,

So I all ready have auto assist triggers and such, but I also want to cast spells automatically at a certain percent in combat..

The prompt is as shown, I just need to the right syntax and i can adjust the spells accordingly:

<1008H 419M 234V 1X 70%D 20:21:25>

So I would want to for instance

IF %D > 70

weave 'fireball'

Thanks.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4549
Location: Pensacola, FL, USA

PostPosted: Wed Jul 06, 2022 10:12 pm   
 
#TR {<(%d)H (%d)M (%d)V (%d)X (%d)~%D (%d):(%d):(%d)>} {#IF (%5>70) {weave fireball}} "" "prompt"

Should do it.
_________________
Discord: Shalimar#3679
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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