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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
bebamedo
Novice


Joined: 02 Aug 2006
Posts: 32

PostPosted: Mon Jul 09, 2007 4:00 am   

illusion part of script does not work
 
hello.
here is my script for doublestabing and illusioning. Now, envenom and dstab part works without problems. But illusioninig part does not produce illuissons in order it is suppose to. it stucks at first one all time, even though illusionholder var is upgraded. Any help would be good.

here is whole script:

#CLASS {Combat/attack/stacks}
#VAR envenomed {0} {0}
#VAR envenom {1} {1}
#VAR illusionlistholder {0} {0}
#VAR snaping {0} {0}
#ALIAS dstabalias {flay @tar aura;#IF (@snaping) {snap @tar;#VAR Combat/attack/stacks/snaping 0};#IF (@Combat/Enemy/Enemy_Aura/rebound = 0) {#IF (@Combat/attack/stacks/envenomed = 0) {envenom dirk with %item(@envenomlist, @envenom);envenom dirk with %item(@envenomlist, (@envenom+1));#VAR Combat/attack/stacks/envenomed 1};ci %item(@illusionlist, @illusionlistholder);dstab @tar;#TEMP {You have regained your mental equilibrium.} {ci %item(@illusionlist, (@illusionlistholder+1))}}}
#TRIGGER {You prick} {#VAR Combat/attack/stacks/envenomed 0;#ADD Combat/attack/stacks/envenom 1}
#TRIGGER {Your target has no aura for you to flay.} {dstabalias}
#ALIAS comboreset {wipe dirk;#VAR illusionlistholder 1;#VAR Combat/attack/stacks/envenomed 0;#VAR Combat/attack/stacks/envenom 1;#ECHO combo reset}
#CLASS 0
#CLASS {Combat/attack/stacks/settingaliasi}
#ALIAS kelpstack {#KEY F6 {dstabalias};#VAR Combat/attack/stacks/snaping 1;#VAR Combat/attack/stacks/illusionlistholder 1;#T+ Combat/attack/stacks/kelpstack;#ECHO ****** KELPSTACK ON ******}
#CLASS 0
#CLASS {Combat/attack/stacks/kelpstack}
#VAR envenomlist {arsenic|ether|hemotoxin|mercury|iodine|bromine|ciguatoxin|aconite|calotropis|xeroderma}
#VAR illusionlist {dstupidpara|ddizzyreckless|dmetrametra|dartstupid|webtat|ddizzyreckless|dementia|drecklesspeace}
#TRIGGER {You conjure up your illusion.} {#IF (@Combat/attack/stacks/illusionlistholder < 9) {#ADD Combat/attack/stacks/illusionlistholder 1} {#VAR Combat/attack/stacks/illusionlistholder 1}}
#CLASS 0
#T- Combat/attack/stacks/kelpstack
Reply with quote
bebamedo
Novice


Joined: 02 Aug 2006
Posts: 32

PostPosted: Mon Jul 09, 2007 4:17 am   
 
eh, problem is in ALIAS dstabalias
Reply with quote
bebamedo
Novice


Joined: 02 Aug 2006
Posts: 32

PostPosted: Sat Jul 14, 2007 2:23 am   
 
heh, script is ok, the problem was in another script
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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