// returns TRUE if they have a shield equiped.
int StartingConditional()
{
int oLeft= GetBaseItemType(GetItemInSlot(INVENTORY_SLOT_LEFTHAND));
return oLeft== BASE_ITEM_LARGESHIELD ||
oLeft== BASE_ITEM_SMALLSHIELD ||
oLeft== BASE_ITEM_TOWERSHIELD;
}
//returns TRUE if they
DO NOT have a shield equipted
int StartingConditional()
{
int oLeft= GetBaseItemType(GetItemInSlot(INVENTORY_SLOT_LEFTHAND));
return !(oLeft== BASE_ITEM_LARGESHIELD ||
oLeft== BASE_ITEM_SMALLSHIELD ||
oLeft== BASE_ITEM_TOWERSHIELD);
}
Modifié par Lightfoot8, 23 juillet 2011 - 04:21 .