Commit Graph

106 Commits

Author SHA1 Message Date
hondacrx d1485ad482 Core/Spells: Fixed spells using SPELL_EFFECT_POWER_BURN not working when combined with other effect types that hit other units and power burn hits caster
Port From (https://github.com/TrinityCore/TrinityCore/commit/23aa13257a0af0143651f48ac3af65435ba9f346)
2021-02-24 18:49:18 -05:00
hondacrx e74d30024f Core/Auras: Implemented new spell modifier type to change aura stack size on apply
Port From (https://github.com/TrinityCore/TrinityCore/commit/51a9d2a9c20f36f5343049a340663601c1c1165b)
2021-02-22 16:01:43 -05:00
hondacrx f15cc130fa Core/Auras: Implemented SPELL_AURA_PERIODIC_WEAPON_PERCENT_DAMAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/5ed75bb2d3fdc5bd2ee4dddb748db291fe3b1541)
2021-02-22 15:29:14 -05:00
hondacrx 7ae358bd71 Core/Auras: Rename many old aura types to their new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd7c714c97beb04eb815b0aa175badfb6933ccf1)
2021-02-22 15:05:41 -05:00
hondacrx 22100aa2f2 Core/UpdateFields: Fixes areatriggers from spells being really small. 2021-02-21 13:56:25 -05:00
hondacrx addc831f0d Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cae71eac58bf37c6a2cbce2a60dd2aa1f7b4314)
2021-02-09 13:02:06 -05:00
hondacrx a6c5ac711e Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/d697882dfbb16242b7aa0b915fb116a14039ac5e)
2021-02-04 12:24:50 -05:00
hondacrx fc475c4338 Core/Spells: Defined new spell attributes
Port From (https://github.com/TrinityCore/TrinityCore/commit/b2ddf547ff7acd3dab7c93579d8a44fe825c7ecf)
2021-01-19 13:46:59 -05:00
hondacrx a4c4db7af5 Core/Spells: Fixed missing null checks on some SpellEffects 2021-01-14 17:06:53 -05:00
hondacrx 15a69ae550 Core/Spells: Core/Spells: Improve teleport destination for a certain class of spells (Killing Spree, Shadowstep, ...)
Port From (https://github.com/TrinityCore/TrinityCore/commit/540678be069b24664ad95f1922288d026b7e0e41)
2021-01-03 15:10:14 -05:00
hondacrx f0037ab99f Core/DataStores: Updated db2 structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
2020-12-12 23:20:41 -05:00
hondacrx cbbdf6d695 Core/Spells: Use new spell visual structure instead of just SpellXSpellVisualID
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f6eef37e61ea3d47bf8028c6e37175ba0a71373)
2020-12-10 10:43:24 -05:00
hondacrx 0749a06c99 Core/Misc: First set of required db changes for 9.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ca29f3cb050896a8a6c1fea5b2364b2b11c22cd)
2020-12-09 16:03:38 -05:00
hondacrx c46c7ba2dc Core/PacketIO: Updated most packet structures to 9.0.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/cab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc)
2020-12-09 14:01:38 -05:00
hondacrx c2ae405346 Core/Commands: Cleanups 2020-08-24 17:38:22 -04:00
hondacrx 36a8844acc Creatures now release spell focus on projectile launch (for spells that have a projectile portion) as opposed to projectile impact.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bacc5ef94ec0f064248b871646d88955da04b725)
2020-08-22 13:02:17 -04:00
hondacrx b3ebc2f8b5 Core/Spells: enable and implement SMSG_MISSILE_CANCEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/71db17220ae67dc6a354e88451ffc0700fe6c5f9)
2020-08-22 12:58:19 -04:00
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 ddaaae896e So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5392212799b669d91c80cf0e9539a3aaa2abbe79)
2020-07-23 19:01:15 -04:00
hondacrx db44970987 Pet/Guardian AI hook re-organizing
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7a7d02a7f50400cdc2be3c4722afeefe7efce80)
2020-07-22 15:27:19 -04:00
hondacrx 2bff624426 Re-check target evade state on projectile impact and adjust accordingly. This fixes the incorrect message ("Absorb" instead of "Evade"), and also removes the root cause of the original evade follow bug
Port From (https://github.com/TrinityCore/TrinityCore/commit/323e3b9cdeda96d5f0d5be1c615de489ee41ad85)
2020-07-22 14:08:25 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx 4164384b72 Core/Spells: Implemented new target types
Port From (https://github.com/TrinityCore/TrinityCore/commit/fce9fca9002e5bfc99990b9108aa56447e5001bd)
2020-06-21 14:33:32 -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 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 d09ddf2032 Core/Items: Implemented new bonus type (extra ItemEffect)
Port From (https://github.com/TrinityCore/TrinityCore/commit/63fba4751142d7a16d6316e9fb5ad844da088509)
2020-06-10 13:25:01 -04:00
hondacrx 888d281aa7 Core/Players: Only restore spells learned as quest rewards if they have the right AcquireMethod in SkillLineAbility.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/4acae3992bfecf85d68c0860007f7c538ca45a90)
2020-05-22 14:17:06 -04:00
hondacrx 87b63b0975 Core/Spells: Fixed initializing spell power costs
Port From (https://github.com/TrinityCore/TrinityCore/commit/dfdabdb97bdd776da4add3cd4f19cf5793160abf)
2020-05-20 20:05:49 -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 33097d3e2d Core/Spell: don't make creature change orientation to 0 if channeling self
Port From (https://github.com/TrinityCore/TrinityCore/commit/52ab2707682f37bbf35a0d384e81c79e8b064ebf)
2020-05-18 22:53:33 -04:00
hondacrx 0ca73248cd Core/Spell: fix creature focus with channeled spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3eca0c26410a6c9dc7fbef46ffb938cdd0901bc)
2020-05-12 23:51:55 -04:00
hondacrx 86c88330d6 Core/Spell: register spell mod owner properly on spell cast
Port From (https://github.com/TrinityCore/TrinityCore/commit/71c2fda1132d5fba3864f133d0e3ee4e81de508f)
2020-05-12 23:46: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 cbc2597adb Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb0d2ed2b96c314ea144b3524195ae96878e0079)
2020-05-06 17:26:03 -04:00
hondacrx ba885908b7 Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
2020-05-06 14:34:20 -04:00
hondacrx 8bc9cc9c55 Core/Items: Check required level to use items including any bonuses that modify it
Port From (https://github.com/TrinityCore/TrinityCore/commit/b702401978928781249798dd607b6c6fbd10f122)
2020-04-26 01:07:12 -04:00
hondacrx a9d1d3f2b0 Core/Spells: Fixed Spell::CheckCast for targeting items trade with lockpicking
Port From (https://github.com/TrinityCore/TrinityCore/commit/3b6e5a87d83989151d434d871dfa67ad4f9a2013)
2020-04-25 00:42:26 -04:00
hondacrx 230453c451 New Year 2020 :) 2020-01-09 11:35:00 -05:00
hondacrx 5b9ad41953 Core/Items: Implement azerite empowered items
Port From (https://github.com/TrinityCore/TrinityCore/commit/d934824421c83598853487c5cc9e4cbb3c5d0006)
2019-12-05 22:55:44 -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 588d7135b2 Core/Spells: Fixed crash in delayed DEST spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/fa0dc88c23a9d9dc95dd9e444e8f240d91ca241a)
2019-09-04 13:34:24 -04:00
hondacrx b3bcfd1a8f Core/Spells: Fixed calling spellhit script hooks on launch when spell hits both caster and target with different effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/04ab611111824c7709582637660d01eb117fe9fc)
2019-09-04 13:22:38 -04:00
hondacrx 0877e73ff2 Core/Spells: Implement SpellMisc.LaunchDelay
Port From (https://github.com/TrinityCore/TrinityCore/commit/c924840ce7fa7289fe73fb15b0f022bc74618ee1)
2019-09-04 13:13:59 -04:00
hondacrx a0fbf8e172 Core/Spells: Fixed some enchantments checks and fixed serious logic flaw in create item effect check
Port From (https://github.com/TrinityCore/TrinityCore/commit/a0a6b155e2699b9772fc16e749e2ba4fa4f43737)
2019-09-03 15:55:56 -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 1657f720dc Core/SmartAI: Various fixes and extensions for smart scripts:
Port From (https://github.com/TrinityCore/TrinityCore/commit/a32d5cfa1762ae1158ee2f40b4c9b36e5b41913a)
2019-08-30 12:00:42 -04:00
hondacrx 1e4b1366c2 Fixed setting and unsetting of m_spellModTakingSpell
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb5c07ffe8d72d32a2c47cfa41dfb3a952160b72)
2019-08-17 13:04:19 -04:00
hondacrx 0a29281557 Core/Misc: Fixed player corpse looting, added player corpse loot and some more
Port From (https://github.com/TrinityCore/TrinityCore/commit/89f728cd5b6ae3041fdae3c853ac4b0ac5f0a848)
2019-08-17 11:42:16 -04:00