diff options
| author | joschiwald <joschiwald@online.de> | 2012-12-22 01:37:54 +0100 |
|---|---|---|
| committer | joschiwald <joschiwald@online.de> | 2012-12-22 01:37:54 +0100 |
| commit | c19f78c36321aead01cc7ceb9fd80f049bf11c0f (patch) | |
| tree | 5d747db6f0a310f96421d5fc11b20d5cd334741a /src/server/game/Conditions/ConditionMgr.h | |
| parent | 95a201352d025ba2864e12f4c01c5b753128a756 (diff) | |
Core/Conditions: implement CONDITION_SOURCE_TYPE_SPELL_PROC and use it in old and new proc system
Usage:
SourceTypeOrReferenceId: 24
- SourceGroup: always 0
- SourceEntry: spell id of aura which triggers the proc
- ConditionTarget:
* 0 - Actor
* 1 - ActionTarget
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
| -rw-r--r-- | src/server/game/Conditions/ConditionMgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index 807b75c4ee6..2b3f904eeb9 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -128,7 +128,8 @@ enum ConditionSourceType CONDITION_SOURCE_TYPE_VEHICLE_SPELL = 21, CONDITION_SOURCE_TYPE_SMART_EVENT = 22, CONDITION_SOURCE_TYPE_NPC_VENDOR = 23, - CONDITION_SOURCE_TYPE_MAX = 24 // MAX + CONDITION_SOURCE_TYPE_SPELL_PROC = 24, + CONDITION_SOURCE_TYPE_MAX = 25 // MAX }; enum ComparisionType |
