Areas and Fixes
Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
This commit is contained in:
19
_module/nss/vamp_checkarmor.nss
Normal file
19
_module/nss/vamp_checkarmor.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
string vamp_checkArmor(object oPC)
|
||||
{
|
||||
if (GetItemInSlot(INVENTORY_SLOT_CHEST,oPC)!=OBJECT_INVALID)
|
||||
{
|
||||
string sItem = GetSubString(GetTag(GetItemInSlot(INVENTORY_SLOT_CHEST,oPC)),0,4);
|
||||
if (GetLocalInt(oMod, "iVampSpecialClothes")==0 && GetItemInSlot(INVENTORY_SLOT_CHEST,oPC)!=OBJECT_INVALID)
|
||||
{
|
||||
return "Vamp";
|
||||
}
|
||||
else
|
||||
{
|
||||
return sItem;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Invalid";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user