Initial Upload
Initial Upload
This commit is contained in:
25
_module/nss/lcs_shld_cond.nss
Normal file
25
_module/nss/lcs_shld_cond.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
|
||||
object oItem = GetItemInSlot(INVENTORY_SLOT_LEFTHAND);
|
||||
|
||||
iResult = GetIsObjectValid(oItem);
|
||||
|
||||
if(iResult)
|
||||
{
|
||||
int nBaseItemType = GetBaseItemType(oItem);
|
||||
if(((nBaseItemType == BASE_ITEM_SMALLSHIELD) || (nBaseItemType == BASE_ITEM_LARGESHIELD)) || (nBaseItemType == BASE_ITEM_TOWERSHIELD))
|
||||
{
|
||||
return iResult;
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return iResult;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user