Changed folder name.
Changed folder name.
This commit is contained in:
19
_module/nss/eq_legendaryaxes.nss
Normal file
19
_module/nss/eq_legendaryaxes.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCItemLastEquippedBy();
|
||||
|
||||
object oItem;
|
||||
oItem = GetPCItemLastEquipped();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetHitDice(oPC) <= 20)
|
||||
{
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
|
||||
AssignCommand(oPC, ActionUnequipItem(GetItemPossessedBy(OBJECT_SELF, "legendaryaxes")));
|
||||
|
||||
FloatingTextStringOnCreature("You are not powerful enough to use this item, level 30 required!", oPC);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user