Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
25 lines
604 B
Plaintext
25 lines
604 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
if(GetIsPC(oPC) == TRUE)
|
|
{
|
|
if (GetLocalInt(OBJECT_SELF,"nDone")!=1)
|
|
{
|
|
int nIdx=0;
|
|
object oTarget = GetObjectByTag("fr_statue_ice",nIdx);
|
|
|
|
while (GetIsObjectValid(oTarget))
|
|
{
|
|
int nType = DURATION_TYPE_PERMANENT;
|
|
effect eFX = EffectVisualEffect(VFX_DUR_ICESKIN, FALSE);
|
|
|
|
ApplyEffectToObject(nType, eFX, oTarget);
|
|
|
|
nIdx++;
|
|
oTarget = GetObjectByTag("fr_statue_ice",nIdx);
|
|
}
|
|
SetLocalInt(OBJECT_SELF,"nDone",1);
|
|
}
|
|
}
|
|
}
|