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

37 lines
664 B
Plaintext

//Put this script OnEnter
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
if (GetAbilityScore(oPC, ABILITY_INTELLIGENCE, TRUE)>= 40)
{
CreateItemOnObject("bandotgods44", oPC);
CreateItemOnObject("godlybelt44", oPC);
CreateItemOnObject("godlyammulet44", oPC);
CreateItemOnObject("godlysilks44", oPC);
CreateItemOnObject("godlyring44", oPC);
CreateItemOnObject("godlybracers44", oPC);
CreateItemOnObject("godlyhelm55", oPC);
CreateItemOnObject("godlyboots44", oPC);
}
}