Talk:Zmud Affect Status Window
Used this script for years; don't know what I'd have done without it. I added the following to it, after the development of stances and exhausts:
#VAR stance {-} #VAR exhaust {-} #TRIGGER {^Spell: '*{stance|fang|dance}' for (%d) hours.} {#var stance %1} #TRIGGER {^Exhausted Spell: '(*)' unavailable for (%d) hours.} {#if ("%1" =~ "*{stance|fang|dance}") {#var stance -%2} {#var exhaust -%2}}
An exhausted spell shows up with a negative duration, and an exhausted stance shows up in the stance slot. Also, a bunch of relevant debuffs, and an example of a racial:
#VAR curse {-} #VAR weak {-} #VAR scramble {-} #VAR dfire {-} #VAR rupture{-} #VAR rfren {-} #TRIGGER {^Spell: 'curse' modifies hit roll by -%d for (%d) hours.} {#var curse %1} #TRIGGER {^Spell: 'weaken' modifies strength by -%d for (%d) hours.} {#var weak %1} #TRIGGER {^Spell: 'scramble' modifies intelligence by -%d for (%d) hours.} {#var scramble %1} #TRIGGER {^Spell: 'demonfire' for (%d) hours.} {#var dfire %1} #TRIGGER {^Spell: 'rupture' modifies intelligence by -%d for (%d) hours.} {#if ((@rupture =~ "-")|(@rupture < %1)) {#var rupture %1}} #TRIGGER {^Racial frenzy fatigue for (%d) hours.} {#var rfren -%eval( %1-1)} #TRIGGER {^Spell: 'racial frenzy' modifies damage roll by %d for (%d) hours.} {#var rfren %1}
*If anyone has successfully ported this script to CMud, please speak up. ;)
--Neyne 02:38, 10 September 2010 (UTC)
I will add a note to look at the discussion page for additional things that could be added. As far as I can see this should port over fairly easily as i have it already working in cmud after using the function to port my zmud settings over to cmud. After putting all the amezyarak stuff I find useful here I will start with the big Cmud port main problems I've seen so far with his scripts are down to colour and the use of #temp + #cw --Rhodry 11:09, 10 September 2010 (UTC)
Just looked at the CMUD scripts the ZAffects script seems to be heavily based on this script so possibly use that as a basis for your cmud script --Rhodry 12:09, 10 September 2010 (UTC)