I know you add an affect to a mob or Pc by using MPMSET as shown in the lessons. Is there a way of removing an affect.
For example using code i can determine that a PC is affected by true sight. Other than hitting them with a whole load of dispel magic is there anyway i can target that one particular affect ?
Similarly if i have a mob who is set to be affected by for example WIZINVIS is there a way of reversing it. I guess i could just use Vis for that one but it is the general principle of the thing.
Duranamir
removing affects from Mobs and Pc's
-
- Sword Grand Master
- Posts: 4708
- Joined: Tue Jul 15, 2003 9:26 pm
- Location: House of Wonder, Waterdeep
As far as I know, you can't remove a single affect from a PC. Note that you shouldn't add affects to a PC either with mpmset, because the affect then would be permanent.
For mobs, you can use mpmset with the following syntax: mpmset (keyword/self/mVNUM) affected (affectname). The trickiest part is to get the affectname right.
Examples of affectnames (if I remember correctly): flying, levitate, infrared, trueseeing, waterbreath, ...
The mpmset command acts as a toggle.
For mobs, you can use mpmset with the following syntax: mpmset (keyword/self/mVNUM) affected (affectname). The trickiest part is to get the affectname right.
Examples of affectnames (if I remember correctly): flying, levitate, infrared, trueseeing, waterbreath, ...
The mpmset command acts as a toggle.