diff options
| author | Shauren <none@none> | 2010-09-10 20:49:29 +0200 |
|---|---|---|
| committer | Shauren <none@none> | 2010-09-10 20:49:29 +0200 |
| commit | 320929ff40a42bfd2bbd1f83c4ff9fa1ea7563a3 (patch) | |
| tree | 51595971c38768d37374ecb7f5343fa8ec82d600 /src/server/game/Conditions/ConditionMgr.h | |
| parent | 61075d5101283cc6d485018a40e02b2c44f27ebf (diff) | |
Core/Conditions: Added "player knows spell" condition type
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
| -rw-r--r-- | src/server/game/Conditions/ConditionMgr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index cdb343fbe48..0a0741e98ed 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -52,8 +52,9 @@ enum ConditionType CONDITION_TARGET_HEALTH_BELOW_PCT = 20, // 0-100 0 +referenceID true if target's health is below value1 percent, false if over or no target CONDITION_TARGET_RANGE = 21, // minDistance maxDist +referenceID true if target is closer then minDist and further then maxDist or if max is 0 then max dist is infinit CONDITION_MAPID = 22, // map_id 0 +referenceID true if in map_id - CONDITION_AREAID = 23, // area_id 0 +referenceID true if in area_id - CONDITION_ITEM_TARGET = 24 // ItemRequiredTargetType, TargetEntry, 0 + 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 }; #define MAX_CONDITION 25 // maximum value in ConditionType enum |
