IMM_UNAFFECT
Keywords: IMM_UNAFFECT, WIZ_UNAFFECT
=== STAFF MANUAL ===
Usage: unaffect <player>
Description:
Strip every active Affect object from a character in one
pass. This covers every source: spell effects, DOTs, buffs and
debuffs, race or class toggles, aura applications, status
affects like TRAITOR, and anything else that was attached via
the affect system. Use it to rescue a player from a stuck
effect, wipe test buffs between scenarios, or clear a victim
of a cascade of bad effects that cannot easily be resolved
one at a time.
Output:
The victim sees a soft flash-and-reset message:
There is a brief flash of light!
You feel slightly different.
You see:
All affects removed.
After the sweep the game re-runs the affect totaller and
recomputes the victim's HP and EP regeneration rates via
CheckRegenRates, so their stat baseline and ticking
regen return to a clean slate immediately.
Restrictions:
- Requires the Characters staff permission.
- Cannot be applied to mobs ("You can't do that to a
mob!").
- Staff-on-staff unaffect follows the standard
do_wizutil rules: you can unaffect another staff
member only if you are Admin, and admin-flagged
targets cannot be unaffected at all.
- An argument is required. Running unaffect with no
target prints "Yes, but for whom?!?".
Notes:
- unaffect is a blunt instrument -- it removes
every affect, including ones the victim would
normally want (a racial aura, a currently-ticking
heal, legitimate buffs). There is no selective form
of this command; use stat first to confirm what you
are about to blow away.
- The removal is permanent for effects with no reapply
source. Effects sourced from a worn item or a passive
ability will reapply at the next tick or on the next
affect recomputation.
- The victim's pfile is saved immediately after the
sweep, so the cleared state survives logout and reboot.
- Unlike freeze or pardon, unaffect does not write
an entry to the staff wiznet.
Related Helpfiles: WIZ_STAT
=== END MANUAL ===