UW2_PRC8/_module/nss/s_arcanegolem.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

18 lines
614 B
Plaintext

#include "afx_sfunc"
void main()
{
object oArea = GetArea(OBJECT_SELF);
// place here the % chance of rest being interruped excample here 33% chance of rest being interuped
SetLocalInt(oArea, "nMonChance",85);
// place here the blueprint refrenfrence tag of the creature you wish to attack them
// or place the word CUSTOM which will send a 201 event to the area starting your won script
// here it is a goblin
SetLocalString(oArea, "sMonster","arcanegolem");
object oPC=GetEnteringObject();
if(GetIsPC(oPC) == TRUE) {
afx_apply_effects(oPC,OBJECT_SELF);
}
}