Changed folder name.
Changed folder name.
This commit is contained in:
20
_module/nss/eq_artlxbow.nss
Normal file
20
_module/nss/eq_artlxbow.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
//Created by Genisys / Guile 5/20/08
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCItemLastEquippedBy();
|
||||
|
||||
object oItem;
|
||||
oItem = GetPCItemLastEquipped();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetHitDice(oPC) <= 29)
|
||||
{
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
|
||||
AssignCommand(oPC, ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC)));
|
||||
|
||||
FloatingTextStringOnCreature("You are not powerful enough to use this ite, level 30 required!", oPC);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user