Initial upload
Initial upload
This commit is contained in:
36
_module/nss/givepcgodgear.nss
Normal file
36
_module/nss/givepcgodgear.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
//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);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user