forked from Jaysyn/PRC8
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.
17 lines
426 B
Plaintext
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);
|
|
}
|
|
}
|
|
} |