PRC8_fork/nwn/trunk/scripts/wol_a_enter.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

17 lines
426 B
Plaintext

// For trigger enters
void main()
{
object oPC = GetEnteringObject();
if (!GetIsObjectValid(oPC)) oPC = GetLastUsedBy();
object oTrigger = OBJECT_SELF;
string sTag = GetTag(oTrigger);
if (GetIsPC(oPC))
{
if (sTag == "wol_a_bbbcreek")
{
ApplyEffectToObject(DURATION_TYPE_PERMANENT, TagEffect(EffectMovementSpeedDecrease(50), "BBBCreek"), oPC);
}
}
}