Code/ConditionMgr: added condition_NOITEM (26) value1: item.entry value2: 0/1 if 1 it searches player's bank too

--HG--
branch : trunk
This commit is contained in:
Rat
2010-09-30 22:41:19 +02:00
parent 84a29b2d35
commit 0857c18af8
2 changed files with 15 additions and 1 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ enum ConditionType
CONDITION_AREAID = 23, // area_id 0 +referenceID true if in area_id
CONDITION_ITEM_TARGET = 24, // ItemRequiredTargetType, TargetEntry, 0
CONDITION_SPELL = 25, // spell_id 0 +referenceID true if knows spell
CONDITION_MAX = 26 // MAX
CONDITION_NOITEM = 26, // item_id bank +referenceID true if player does not have any of the item (if 'bank' is set it searches in bank slots too)
CONDITION_MAX = 27 // MAX
};
enum ConditionSourceType