Commit Graph

68 Commits

Author SHA1 Message Date
hondacrx 193ad3a48d Combat/Threat rewrite - prep & refactor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8be23fcbbdf26e8169defd761e61765f301bebe0)
2020-08-22 11:58:19 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx 1a2411ae0f Ports from (https://github.com/TrinityCore/TrinityCore)
Core/Unit: don't clear low health aura states on death
Core/Gossip: Fix gossip bug on modify money
Core/Spells: Change the radius of PBAoEs following the feedback received on
Core/Player: update interaction checks, some info taken from client
Core/Spell: abort channeling if no valid targets are found after searching
Core/Creature: fix _DespawnAtEvade saving wrong respawn time
Core/Spell: fixed some problems with per caster aura states
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
Fix evade issues when a spell hits the target just before evading.
Scripts/Command: implement .debug play music command
Partial revert, Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat).
Fix an issue where CanSpawn would never get invoked on creatures without per-guid script.
Core/Players: fix null dereference crash
2020-06-21 13:01:24 -04:00
hondacrx c1f79334ef Core/Entities: allow guardian pets to inherit spellmods
Port From (https://github.com/TrinityCore/TrinityCore/commit/3698f3a26203be05480b1673d1595e52e2534445)
2020-06-19 20:05:40 -04:00
hondacrx d7954f4fc7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7306439e7004288fb85890d6a5f730cf1761d71)
2020-06-18 12:39:39 -04:00
hondacrx 2fc4e3e71f TC Ports:
Core/Misc: 522f537048 followup (https://github.com/TrinityCore/TrinityCore/commit/9a57e95f102a9d35ac8416d02e24c0dddbc755ed)
Core/CreatureAI: b6b0353bff followup (https://github.com/TrinityCore/TrinityCore/commit/5d411e0b21b1f1a4653d274d9b1cc7fef17f232b)
Core/Spell: move creature focus (https://github.com/TrinityCore/TrinityCore/commit/8c12f36915b2fddd48a5e4c9244c2b0498a64ae9)
Core/Unit: 2170541a51 followup (https://github.com/TrinityCore/TrinityCore/commit/2d4549023a6655d19671f7f7e6b4f7c9b71ae632)
Core/Misc: cleanup SetInFront uses (https://github.com/TrinityCore/TrinityCore/commit/104e745edfb89f95e34cad7840eae0b6e183bf94)
Core/Unit: 229444b74a follow-up (https://github.com/TrinityCore/TrinityCore/commit/6a96addadd5dea633b3066b8d0427302ba514364)
Core/Unit: revert 3ea46e57af (https://github.com/TrinityCore/TrinityCore/commit/a46286a803b41b375ed9352858c742626bb85720)
Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook (https://github.com/TrinityCore/TrinityCore/commit/1929ca3aa14f6cd83ea3ac9d7e8c0e2ed0e87a26)
Core/Entities: moved PetAura handling to Player where it belongs (https://github.com/TrinityCore/TrinityCore/commit/4f6d38fe9d5c07e6e8eb88e517af71b6cdc4f9f8)
Core/Spells: Fixed Chilled to the Bone (https://github.com/TrinityCore/TrinityCore/commit/08635c740a7ee04da9b0cd5045075a9432121b06)
Core/Spell: implement pvp trinket immunity against Judgement of Justice (https://github.com/TrinityCore/TrinityCore/commit/05ba662d5daaa3428cc01cdaa3794bf5a073ef17)
2020-05-19 14:49:37 -04:00
hondacrx d8558a57ef Core/Spells: Corrected aura SPELL_AURA_MOD_CASTING_SPEED_NOT_STACK handling for auras with very high values
Port From (https://github.com/TrinityCore/TrinityCore/commit/9842ca3f4a843e97815512e84e9860737ab5db21)
2020-05-19 14:07:41 -04:00
hondacrx d5e2f1e646 Core/Movement: allow focused spells to not break movement if it's movement allowed spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ef39fa5d2f76459e3e529a0877655b0f69b98d6)
2020-05-18 22:57:14 -04:00
hondacrx d8104a0032 Core/Spell: fixed SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to actually check effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/52e00746cf4a8f1b5455210dfe1baed0f342f2c4)
2020-05-12 23:38:57 -04:00
hondacrx a528aed6fe Core/Spell: check aura positivity per effect on spell hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/f31e380499b9ecceca9e86b1ee55eb29c7f87c88)
2020-05-12 20:28:15 -04:00
hondacrx f5ead031f4 Core/Spell: fix SpellAttr3.IgnoreHitResult bypassing reflects
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc0a037eef2a6a1dd1cc43f0233aaa1d400393be)
2020-05-12 20:22:53 -04:00
hondacrx 1d23f6bc0e Core/Unit: cleanup and minor fixes of miss and resist calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/1960a95425c63f3b45409bcc1ee544472be598a3)
2020-05-07 14:55:22 -04:00
hondacrx 83f57da2b6 Core/Spell: fix an issue with vehicle spells changing orientation of base vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/e44d0c88734f8dcfd15655224ed6c674dffe1da6)
2020-05-06 13:47:04 -04:00
hondacrx 9ec956becf Core/Auras: reworked multiplicative AuraEffects calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebc06b1d0401be69066986e18d0e926170c58023)
2020-05-05 18:38:43 -04:00
hondacrx 230453c451 New Year 2020 :) 2020-01-09 11:35:00 -05:00
hondacrx e24c69dd89 Core/Items: Fixed crash in selecting azerite essences
Port From (https://github.com/TrinityCore/TrinityCore/commit/bec4ed0f16d100f74c76e4aca06ed9ea42e21ec4)
2019-12-02 14:15:23 -05:00
hondacrx cdb225a4b6 Core/Spells: Fixed value of aura effects for stat mod auras applied by items
Port From (https://github.com/TrinityCore/TrinityCore/commit/123858331211db6fe6745f0886c1499f8e598443)
2019-12-02 14:01:46 -05:00
hondacrx 570aebce26 More refactoring of code. 2019-09-23 21:41:13 -04:00
hondacrx 35c06c09fd Some refactoring of code. and some cleanups 2019-09-21 12:11:16 -04:00
hondacrx 87d30caa49 Ensure that all actions are compared to fixed point in time (ie. world update start)
Port From (https://github.com/TrinityCore/TrinityCore/commit/60663d1374beef3103f4787152654034fa4a8897)
2019-09-01 10:37:14 -04:00
hondacrx 01a8140203 Core/Spell: Added the possibility to explicitly disable auraEffect procs using attributes
Port From (https://github.com/TrinityCore/TrinityCore/commit/77fc6ceea8716a85baca80b1816fbe3588b182e7)
2019-08-31 11:01:41 -04:00
hondacrx a44224564c Corrected immunity checking after recent changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/36a4e008d08b4a7ec9d80e261f282b94171fb90f)
2019-08-17 10:52:40 -04:00
hondacrx d3cbe70f56 Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others
Port From (https://github.com/TrinityCore/TrinityCore/commit/fe63cd3dbb66f4fda743858db4284a24bc2bd400)
2019-08-17 10:47:55 -04:00
hondacrx bdfea4ecad Implemented binary resistances and some more
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca26c33145cb40ae7fd2c84fc7577fc6f11bdbbf)
2019-08-16 23:15:19 -04:00
hondacrx 3634bc7133 Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
2019-08-16 13:43:17 -04:00
hondacrx 4b627a6dcf Core/Spells: Properly send autorepeat cancel packet to self and fix some problems with autoshot (#18918)
Port TrinityCore Commit: https://github.com/TrinityCore/TrinityCore/commit/67000a7826c2f29e5d61272abf3d3d6ea194fc9a
2019-08-14 23:25:43 -04:00
hondacrx 125e3b3ac7 Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)
Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore
Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
2019-08-14 11:20:42 -04:00
hondacrx 1e1c5c77a8 2019 YAY! 2019-01-01 12:01:55 -05:00
hondacrx 8e20114e10 BFA Update (still lots of testing to do tho) 2018-12-10 12:46:25 -05:00
hondacrx 8673e7218d Core/Spells: Fixed travel form 2018-07-25 14:08:35 -04:00
hondacrx 943e858ccf Core/Spells: Implement AURA_REMOVE_BY_INTERRUPT to provide aura scripts with more information when removing by Unit::RemoveAurasWithInterruptFlags 2018-07-25 12:25:53 -04:00
hondacrx 7aa494d5dd Core/Errors: Stop using System.Diagnostics.Contracts, Its just closing the server without error or warning. We now log the error and then throw a exception 2018-06-15 12:34:56 -04:00
hondacrx 2c3479c6e2 Core/Refactor: Part 4 2018-05-27 15:40:06 -04:00
hondacrx 5dacd669b5 Core/Refactor: Part 3 2018-05-16 19:57:48 -04:00
hondacrx 7d4c0b7634 Core/Misc: Misc cleanups and changing of fields 2018-05-13 20:26:05 -04:00
hondacrx 9b40067017 Core/Refactor: Part 2 2018-05-07 22:07:35 -04:00
hondacrx 216db1c23a Core/Refactor: Part 1 2018-05-07 18:56:09 -04:00
hondacrx 9c33d9c20e Core/Units: Implemented versatility 2018-04-29 19:40:29 -04:00
hondacrx fa35d60f60 Core/Entities: Phasing rewrite 2018-03-28 11:09:30 -04:00
hondacrx 761af36d05 Core/Misc: Misc fixes 2018-03-18 11:44:55 -04:00
hondacrx 0ab3b8e8cd Core/DataStores: Fixed db2 structures after 7.3.5 2018-03-13 15:43:03 -04:00
hondacrx 2199e07955 Core\Unit: Fixed copy/paste error.
Core\Spells: Fixed another collection was modified (see there will be more)
2018-03-12 17:17:54 -04:00
hondacrx 05ecb41a10 Core/Spell: partial revert of SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE immunity handling 2018-03-12 14:37:52 -04:00
hondacrx 6ee6180866 Core/Entities: Replace existing GetAuraEffectsByType + iteration uses with proper helper functions 2018-03-12 14:33:20 -04:00
hondacrx 237580ab50 Core/Unit: added GetTotalAuraXXX overloads taking a predicate - Redefined existing overloads to use the predicate logic, avoids code duplication and not checking same stack rules 2018-03-12 14:00:18 -04:00
hondacrx 9af60df765 Core/Spell: improved immunity logic for dispels 2018-03-12 13:31:19 -04:00
hondacrx 8edb9e6c73 Core/Auras: calculate periodic bonuses before specific mods, fixes Imp. Devouring Plague damage 2018-03-12 12:57:04 -04:00
hondacrx a2fafd2920 Core/DB: Misc fixes 2018-03-11 14:57:40 -04:00
hondacrx 0775ef9c97 Core\Aura: Fixed Collection was modified error (i'm sure there is more, trying to cut down on lists having to be copied) 2018-03-09 23:33:27 -05:00
hondacrx 82dca6de94 Updated DB2 structs 2018-02-26 13:13:54 -05:00