diff options
| author | megamage <none@none> | 2009-07-30 11:33:28 +0800 |
|---|---|---|
| committer | megamage <none@none> | 2009-07-30 11:33:28 +0800 |
| commit | 7121d98480d58a4214abcc2e22f678bad76cdecf (patch) | |
| tree | a2abe6c11df8264a0f96e090770583c8ea9b0d18 /src/game/Unit.h | |
| parent | 61162312231f1722cbb3f1464704bfa74ed30369 (diff) | |
[8249] Implement support `spell_proc_item_enchant` table for ppm item enchantments triggering at hit.
* Added a new SQL table, spell_proc_item_enchant, for "custom" ppmRates on Item Enchants that do not use auras.
With table data this must fix ppm for effect from 8033 and ranks enchanting, and item 6947/10918 and ranks enchanting.
* Implemented SPELLMOD_FREQUENCY_OF_SUCCESS (26).
That must fix work talent 14113, spell 32645 with ranks, glyph 41094 and item set effect 64917 in frequency part.
Thanks to MaS0n as author alternative patch that partly used in this patch.
Thanks to Thenecromancer as author alternative patch that ideas inspire MaS0n's patch writing and then this patch also.
Author: nos4r2zod
*Note: has been implemented before. Only use part of the patch.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
| -rw-r--r-- | src/game/Unit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 85f2ed154dd..f9bdba95dde 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -111,7 +111,7 @@ enum SpellModOp SPELLMOD_CRIT_DAMAGE_BONUS = 15, SPELLMOD_RESIST_MISS_CHANCE = 16, SPELLMOD_JUMP_TARGETS = 17, - SPELLMOD_CHANCE_OF_SUCCESS = 18, + SPELLMOD_CHANCE_OF_SUCCESS = 18, // Only used with SPELL_AURA_ADD_FLAT_MODIFIER and affects proc spells SPELLMOD_ACTIVATION_TIME = 19, SPELLMOD_EFFECT_PAST_FIRST = 20, SPELLMOD_GLOBAL_COOLDOWN = 21, //TODO: GCD is not checked by server currently @@ -120,6 +120,7 @@ enum SpellModOp SPELLMOD_SPELL_BONUS_DAMAGE = 24, // spellmod 25 SPELLMOD_PROC_PER_MINUTE = 26, + //SPELLMOD_FREQUENCY_OF_SUCCESS = 26, // Only used with SPELL_AURA_ADD_PCT_MODIFIER and affects used on proc spells SPELLMOD_MULTIPLE_VALUE = 27, SPELLMOD_RESIST_DISPEL_CHANCE = 28, SPELLMOD_CRIT_DAMAGE_BONUS_2 = 29, //one not used spell |
