hondacrx
c56e1752f5
More Scripts done.
2023-10-16 12:35:26 -04:00
hondacrx
73fd633065
More Updates to scripts.
2023-10-15 15:17:44 -04:00
hondacrx
33091ed942
More updates to scripts (still wont build)
2023-10-13 16:11:34 -04:00
hondacrx
cda53c8e7f
Some cleanups. (might break build for scripts as they are a WIP)
2023-10-08 10:35:31 -04:00
hondacrx
ccb5341c21
Some misc cleansup.
2023-10-06 17:33:20 -04:00
hondacrx
85f37f6edf
Added some implicit operators to spell casting.
2023-10-01 07:32:38 -04:00
hondacrx
f636ea225f
Messed up the commit history, so here is all the files rip, Credit to TrinityCore
2023-09-16 08:42:35 -04:00
hondacrx
b99f574f64
Core/Spells: Allow cancelling spell missiles without cancelling the entire spell
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed98146d317f9b956e8ca23524631cdd2388492b )
2023-09-14 06:59:49 -04:00
hondacrx
25b27dcc72
Core/Auras: Allow effects of SPELL_AURA_SCHOOL_ABSORB_OVERKILL to be prevented by setting absorb value to 0 in script
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b9493eec7c937642243c5ab0367f5ac8643879e )
2023-09-14 06:57:52 -04:00
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
44e79ec8ea
Core/Spells: Removed old combo point code leftovers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/197d4369c894e9b088f862c7189f4fe20b4836ca )
2023-09-12 18:08:48 -04:00
hondacrx
07a2dd9859
Core/AI: Implemented OnHealthDepleted hook
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea134c0eae83b4cdbb5f0e941ed867a144bb01f6 )
2023-09-04 13:07:59 -04:00
hondacrx
5be3f5acca
Core/Units: Fixed knockback angle calculation for players
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3bc5ebf1627527de638c4e686d5b42ebfd849b3 )
2023-09-04 11:41:54 -04:00
hondacrx
04250a71f8
Core/Units: Fixed crash (previously was a memory leak) when vehicle creatures are deleted without ever being added to world
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/40cdf0750d40668692660db817c5fc19d53aea2e )
2023-09-04 08:02:03 -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
fb44221203
Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/88ff97c1f96381565c47f8ca1993bdc7fce19fd6 )
2023-09-04 07:50:01 -04:00
hondacrx
15fe47e0cb
Core/Unit: Added helper functions to modify UNIT_FLAG2_CANNOT_TURN
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/53f9abec14613c0823b1ee5363b3f873cc23ece9 )
2023-09-04 07:22:22 -04:00
hondacrx
b6b558f03a
Core/Units: Allow autoattack if channelling with SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbe7cba7f411977d756f6f697056aafb920a5b0a )
2023-08-28 11:30:37 -04:00
hondacrx
8bef51cf6e
Core/Players: Fixed base hit chance initialization for players
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f8eddc4f0cf443c45a930bc919007541210984a )
2023-08-28 11:19:01 -04:00
hondacrx
f6807e152c
Core: Update to 10.1.5
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4 )
2023-08-21 07:22:33 -04:00
hondacrx
7de6a839fa
Core/Auras: Removed triggering aura effect from SPELL_AURA_OVERRIDE_AUTOATTACK_WITH_MELEE_SPELL handling (paladin Crusading Strikes combines this with a proc aura on another effect on the same spell)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/36ecc2d8cb8d913a6ac0936031de47b18c69a90d )
2023-07-18 07:37:11 -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
219b1e2b36
Core/Auras: Fixed accessing invalid iterators in Unit::CalcHealAbsorb
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/63b2188e75704ef4220d1e169d07179d07e898c7 )
2023-07-01 08:48:01 -04:00
hondacrx
49a07ebcce
Core/Items: Item bonus generation improvements
...
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd )
2023-06-21 09:19:40 -04:00
hondacrx
cf5f53e33f
Core/Spells: Implement SPELL_ATTR10_RESET_COOLDOWN_UPON_ENDING_AN_ENCOUNTER
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4aa4d4b5371af440b9fce2bb0866b90a50750f6 )
2023-05-30 08:18:38 -04:00
hondacrx
068ccd990f
Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac )
2023-05-30 08:16:40 -04:00
hondacrx
ef250e0400
Core/Areas: Update AreaFlags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01 )
2023-05-23 08:07:33 -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
35961a0121
Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/205aba1ff3a6f1ff92a8b26af646fd25f139c697 )
2023-05-21 18:38:55 -04:00
hondacrx
53623d94dc
Core/Auras: Implement SpellAuraInterruptFlags2::Falling
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/145bb98ecbc4bb265d5c33cc2bb8358a639d5e98 )
2023-05-21 17:22:54 -04:00
hondacrx
0cfe1dc508
Core/Auras: Implement SpellAuraInterruptFlags2::WarModeLeave
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2b231c9866db62eaab2a5806f671c7dcf22073a5 )
2023-05-21 17:21:22 -04:00
hondacrx
f670656393
Core/Auras: Implement SpellAuraInterruptFlags2::EndOfEncounter
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/998ee363c5e41141da158ea39c0dae0814967fba )
2023-05-21 17:19:33 -04:00
hondacrx
fd377ebc0d
Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/15135ce16f76d1635fa5606c99822b60bced94bf )
2023-05-21 17:17:00 -04:00
hondacrx
1ce3844697
Core/Auras: Implement SpellAuraInterruptFlags2::AbandonVehicle
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/513788e884f15ca0d9dd3c0897e6fea87f0a1fff )
2023-05-21 17:11:13 -04:00
hondacrx
12c53d6182
Core/Unit: Named npc flags UNIT_NPC_FLAG_AREA_SPIRIT_HEALER and UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/920b9a99bdd2d7eb9b7a787c4872a38b862f75c8 )
2023-05-21 17:09:28 -04:00
hondacrx
1ba4f55eec
Core/Units: Calculate HoverHeight from model data
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d6133c78de9e2272765c2cfda82c440663acd254 )
2023-04-25 17:23:24 -04:00
hondacrx
bd2eb5baab
Core/Creature: Implemented sparring with max health percent thresholds
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0750b7f8455df39a64462636ca296c6f2aa2b048 )
2023-04-25 08:38:55 -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
19c484dc5a
Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/81ea6f54d93ee10b03e6432c6071e0d0983796a2 )
2023-04-21 18:21:08 -04:00
hondacrx
d3297b96a2
Core/Skinning: Update correct skinning skill according to creature expansion
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/229a7ac79d38b9db76387f92e846c04c151ad3aa )
2023-04-05 08:22:24 -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
fe6135ed71
Core/Units: Added functions to modify WorldEffects updatefield
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/51569217ad88a4d19d89a6083b56f228554ac90a )
2023-03-23 07:11:56 -04:00
hondacrx
4571d4666b
Core/Creatures: Use togglable CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS instead of equivalent flag from creature_template.type_flag
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/512f5138d44408882cb93ae4cff7cc8d1b627503 )
2023-03-23 07:10:08 -04:00
hondacrx
d0b7bcb2fe
Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d26d38075cdb56dcef77f05276a360e717cc5032 )
2023-03-14 04:34:51 -04:00
hondacrx
40898d4b9f
Core/Creatures: Allow toggling creature default root state
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb93afffc08a45354e1b896adf38d1f8e8b352ac )
2023-03-14 04:30:36 -04:00
hondacrx
1d5d0a32e6
Core/Creatures: Allow scripts to change creature loot id (must be done before death)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/155cf58236f7adbd169f57e0578c96fd7ce2173f )
2023-03-14 04:27:22 -04:00
hondacrx
40009792c4
Core/Creatures: Allow disabling loot for creatures
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebf799c0f696ec88be66795d4ad0a20fa5ce5e92 )
2023-03-14 04:17:18 -04:00
hondacrx
bc12537c67
Core/Movement: Refactor TimedFleeingMovementGenerator to use TimeSpan
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4300c3edd3b2fe4c0f5a01807271e663b6750ebb )
2023-03-14 02:12:21 -04:00
hondacrx
89a3cb971a
Core/Creatures: Implemented unkillable flag (prevent health from going below 1)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7ea438ebdca93874776e02e9985db1da0a53f2fb )
2023-03-14 02:09:28 -04:00