Initial commit. Updated release archive.
This commit is contained in:
26
_module/nss/wiztp_finish.nss
Normal file
26
_module/nss/wiztp_finish.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
void ClearBlind(object oPC)
|
||||
{
|
||||
effect token = GetFirstEffect(oPC);
|
||||
|
||||
while (GetIsEffectValid(token))
|
||||
{
|
||||
if(GetEffectType(token) == EFFECT_TYPE_BLINDNESS)
|
||||
RemoveEffect(oPC,token);
|
||||
|
||||
token = GetNextEffect(oPC);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if(oPC == OBJECT_INVALID)
|
||||
oPC = GetLastSpeaker();
|
||||
|
||||
ClearBlind(oPC);
|
||||
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user