Talk:Zmud Affect Status Window
Jump to navigation
Jump to search
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 these to the script and put a foot note about your modifications also 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. --Rhodry 11:09, 10 September 2010 (UTC)