37 lines
664 B
Plaintext
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);
|
|
|
|
}
|
|
}
|
|
|