Code/ConditionMgr: added CONDITION_LEVEL(27) value1: player level, value2: modify test statement, default(0) is '=='

--HG--
branch : trunk
This commit is contained in:
Rat
2010-10-05 17:54:27 +02:00
parent cac4cfda42
commit f733d8b224
2 changed files with 33 additions and 1 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ enum ConditionType
CONDITION_ITEM_TARGET = 24, // ItemRequiredTargetType, TargetEntry, 0
CONDITION_SPELL = 25, // spell_id 0 +referenceID true if knows spell
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
CONDITION_LEVEL = 27, // level opt +referenceID true if player's level is equal to param1 (param2 can modify the statement)
CONDITION_MAX = 28 // MAX
};
enum ConditionSourceType