hondacrx
0449c88951
Core/Spells: Damage and healing bonus calculation fixes
...
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
* Fixed SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE and SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH not working for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac1c0419441a6c0b1a049a3197a35c754e00ea6e )
2023-09-14 02:59:06 -04:00
hondacrx
d7c2fa52f4
Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cdf3530f41e18fc815e7b164e40c01a18c3d757 )
2023-09-13 18:18:29 -04:00
hondacrx
54c6d05de0
Core/Auras: Implement SPELL_AURA_MOD_DAMAGE_PERCENT_DONE_BY_TARGET_AURA_MECHANIC
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a760de79b6dc9d821bd6dd2c362301c307991f0 )
2023-09-04 07:55:44 -04:00
hondacrx
445733704e
Core/Spells: Fully prevent infinite proc loops and add logging to detect most spells that could possibly trigger this behavior at startup
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/29eac37a16df2ec14cba89f4d6e28f54ca1a4e25 )
2023-07-01 09:24:55 -04:00
hondacrx
d55f4f836f
Core/Units: Power handling improvements
...
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1325e0c4b279d590acbcbb05d6abdf5fdb66a882 )
2023-05-23 05:44:42 -04:00
hondacrx
b7a8a88a76
Core/Auras: Fixed iterator invalidation crash with procs using SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE attribute
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/15451ce699540c7d175f4a24d257778dedb0e3d7 )
2023-04-21 18:32:54 -04:00
hondacrx
1cf184978e
Core/Creatures: Improved movement interruption while casting spells
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc57c9dad59a2eded2f7ea0471aa79c89b390559 )
2023-04-05 08:03:07 -04:00
hondacrx
138d0d2ed4
Core/Spells: Refactor Spell::finish to accept SpellCastResult argument instead of just a bool indicating success
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8bb1739e99c503fc72b3a4a9ecede214c88396f )
2023-03-13 02:45:19 -04:00
hondacrx
cd249ac67a
Core/Spells: Updated silence flags for 9.0 and rename unit flag to its new meaning
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3400c5a52c8ea35e56d57326f904dc0127c33048 )
2023-03-13 02:36:50 -04:00
hondacrx
c2ab67c6d2
Core/Auras: Fully remove auras that had all of their effect suppressed with immunity
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8568b08350b954afb6603bf2c64897493230f2b1 )
2023-01-24 23:10:42 -05:00
hondacrx
06c6c8afc7
Core/Auras: Fixed possible iterator invalidation crashes caused by calling UpdateTargetMap inside loops iterating m_appliedAuras
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1b2b86427ce6be2205db0643ad00f546fc076e4 )
2023-01-24 23:08:20 -05:00
hondacrx
f73e64396f
Update license headers for all files.
2023-01-18 17:25:32 -05:00
hondacrx
7d6b86fb2e
Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dbed48becc30e10b4b17d95f595056d08a987bad )
2023-01-05 17:26:59 -05:00
hondacrx
40db25f49c
Core/Phasing: Reduce differences between branches in GridNotifiers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c3f385c48f5080e64b13b0f31864e20e04e531aa )
2023-01-05 02:44:38 -05:00
hondacrx
989b80b056
Core: Updated to 10.0.2
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b )
2022-12-28 15:25:15 -05:00
hondacrx
2dc12dbb69
Core/Spells: Extended mechanic mask to uint64
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/de7c03c8385780f05530c2b3cf952a712d5f8f00 )
2022-12-17 17:37:07 -05:00
hondacrx
86e03cee1b
Core/Spells: fixed up block mechanics
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f084718277b01936435c66696084fc049f8f8cf )
2022-10-01 17:10:57 -04:00
hondacrx
e9ad8c63f8
Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffbde7cccc6b0d697f915345c48e2b70dc110f38 )
2022-10-01 16:39:06 -04:00
hondacrx
81f3889539
Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cfc74d8c8a8579cd8160b6d7d1fa52b5ed1f068 )
2022-09-11 14:32:38 -04:00
hondacrx
7357a98adc
Core/Auras: Improve aura interactions with immunities on spell effect level
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/66b03acc47665cd79646096e13aa8c6b513675aa )
2022-09-07 15:22:28 -04:00
hondacrx
a164362caa
Misc fixes
2022-08-04 18:06:54 -04:00
hondacrx
8caa99803f
Fixes aura assert by not removing player when crash from map.
2022-08-01 11:32:31 -04:00
hondacrx
114747fc4b
Misc fixes
2022-07-29 17:24:07 -04:00
hondacrx
95d134b512
Core/Spells: Autorepeat casting fixes
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/de592386dcd6ac85feb11d2af85538d62c192696 )
2022-06-01 16:28:01 -04:00
hondacrx
e9fcfd6f26
Core/Spells: Cleanup movement checks in spells - use correct interrupt flags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/538fa8e97ff4b4e36a59e37fd74ea8958e6e30d2 )
2022-06-01 16:20:48 -04:00
hondacrx
c971cae3bb
Core/Spells: Corrected implementation of SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL - it allows casting other spells while channeling, not allows movement while channeling
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a219b7e397f4c31a0e40d582ff9bbcd94f1a6e1 )
2022-06-01 13:53:22 -04:00
hondacrx
c7ea51d1dd
Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d818add0e20fcf2c86ef46b5cd94f942488511a0 )
2022-06-01 13:51:21 -04:00
hondacrx
62c2d34f1a
Core/Spells: Rename SpellAttr4 to use official attribute names
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8d16a79dea4c0100d36e13b068c42499a3a48154 )
2022-06-01 13:37:39 -04:00
hondacrx
8cddeb0fc5
Core/Spells: Rename SpellAttr3 to use official attribute names
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/88d7b58a3dd8b0eb95c233a20c1608ddce73d9ea )
2022-06-01 13:01:55 -04:00
hondacrx
a198e03a1d
Core/Spells: Rename SpellAttr2 to use official attribute names
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dda375b9868d6dbe2a4d58b386bb90ae41d25e0d )
2022-06-01 11:53:42 -04:00
hondacrx
a2d9499152
Core/Spells: Rename SpellAttr1 to use official attribute names
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c88b602a2c7eda598a4205dd0ec9f562c31f21b0 )
2022-05-31 22:13:24 -04:00
hondacrx
dc6eb46302
Core/Spells: Rename SpellAttr0 to use official attribute names
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a31e6819447626cd7b6967665001ea89bf6a0298 )
2022-05-31 21:05:21 -04:00
hondacrx
306b0cb227
Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/050f55b62fded4cc73b76e42d56d98ea950cc26a )
2022-05-30 15:44:21 -04:00
hondacrx
e6f65fc228
Core/Unit: Fixed Deterrence stopping working for no reason
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c632bb69004bace82d8e67247c3831e6971889b )
2022-05-30 12:45:30 -04:00
hondacrx
f7130656aa
Core/Unit: improve SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL immunities
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b7c55921f521d1de2d19d39fc56e9cdeca5b138 )
2022-05-29 20:57:34 -04:00
hondacrx
3cacc1ff68
Core/Misc: Define / rename attributes and flags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e72264cfbd4b3bd925a634d99ab1717a1c0a6b91 )
2022-05-26 16:25:16 -04:00
hondacrx
3c3d16ab09
Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1594c7295f1ca3f21a63a13895abf371d8bd3e0 )
2022-05-24 12:54:25 -04:00
hondacrx
94eea137ae
Core/Auras: Fix SPELL_AURA_MOD_DAMAGE_DONE_FOR_MECHANIC for effects mechanics
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/64e8e11377c9b0bf92e81afb38e0668ba3fdf3f4 )
2022-05-09 13:11:27 -04:00
hondacrx
cf15d538cc
Core/Spells: Load entire proc flags array from db2
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3844c79adb749432b0f41b9b1aecde7287b9f765 )
2022-05-07 14:56:20 -04:00
hondacrx
09a4e13453
Core/Spells: Implement SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_PARRY and SPELL_ATTR7_NO_ATTACK_MISS
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d22d4616339a966ce5e5fe959dca622fc21b7988 )
2022-05-05 09:52:50 -04:00
hondacrx
8c6e487e5a
Scripts/Spells: Move shaman Lava Burst crit chance calculation to scripts and add Lava Burst Overload
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1696d738608fa8ed30321b5b4050d5516b5765f6 )
2022-03-04 17:38:54 -05:00
hondacrx
9587d3ea7d
Update GameTime Methods
2022-03-01 17:33:20 -05:00
hondacrx
c14f1eb3dc
Remove custom OptionalType and use the default c# nullable type.
2022-03-01 17:27:56 -05:00
hondacrx
fc33b8cd20
Core/Auras: Store non-unit caster guids in auras
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbed5dc3e8327535e3842650b966291dd90c9bc7 )
2022-02-27 14:36:44 -05:00
hondacrx
19abbbf0b5
Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4110a06e8193329c31cb9d59d346294835fd51a5 )
2022-02-22 20:11:11 -05:00
hondacrx
98206ec201
Fixes aura infinite loop
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cb01a79046fce3f76835bb68bf66e4f3079e4bc )
2022-02-22 18:37:01 -05:00
hondacrx
14ec7655ad
Core/Spells: Relaxed aura exclusivity check to allow casting spells that have other, non-aura effects even if aura will not be applied
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6413466693e424ee42744a4cdb8b24502631fa49 )
2022-02-22 13:28:18 -05:00
hondacrx
e7eba5907d
Core/Spells Fixed scroll stacking check when not targeting self
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9443f190abdf2467386c64c0b476e2d6ec545f6 )
2022-02-18 16:34:20 -05:00
hondacrx
e89a36a232
Core/Spells: SPELL_AURA_48 implementation
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/37178ff311af95c4a2035a38839b5e8a9afe2af5 )
2022-01-06 00:17:58 -05:00
hondacrx
b527bd99d6
Core/Creatures: Fix spell_school_immune_mask being applied against positive spells too
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/96ec8477f0b9580881a955356a42fb3b109c0b49
2022-01-05 23:21:32 -05:00