Commit Graph

81 Commits

Author SHA1 Message Date
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 76d79ff2e6 Core/Auras: Update AuraState enum and implement missing new ones
Port From (https://github.com/TrinityCore/TrinityCore/commit/69e0b9a98516a0cac14bc3f985a2deb2fe79205f)
2021-03-17 21:51:55 -04:00
hondacrx 4568cdad48 Core/Spells: Define all spell modifier types and implement ProcCooldown mod and PeriodicHealingAndDamage for melee periodic damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/6585666e6e34ade0333e4c23876acdf847d169c0)
2021-03-17 18:52:59 -04:00
hondacrx 923def9f4a Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id
Port From (https://github.com/TrinityCore/TrinityCore/commit/624881bef5c90a91e4c59e5bf404d8775c2ca55d)
2021-03-04 14:43:39 -05:00
hondacrx 2949a2514c Core/Creatures: Implemented extra flag to use offhand attacks
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a51edc5bcebe40c114e37ef3b24da6c8f095892)
2021-03-04 12:00:39 -05:00
hondacrx 64bafe8d73 Misc cleanups 2021-03-04 11:47:12 -05:00
hondacrx 2bf56cfb1b Fixed a crash in CalcHealAbsorb 2021-02-26 15:17:56 -05:00
hondacrx cb1afc82b2 Core/Auras: Implemented SPELL_AURA_DISABLE_ATTACKING_EXCEPT_ABILITIES
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac1ef5efbe0a8c4cf25f4bdf154d5b4e86827c06)
2021-02-22 15:52:37 -05:00
hondacrx a5e9adffe6 Core/Auras: Implemented SPELL_AURA_MOD_AUTOATTACK_RANGE and SPELL_AURA_MOD_AUTOATTACK_CRIT_CHANCE
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffbbc1d8e5329e5530341a1922adec7697c5f649)
2021-02-22 15:32:29 -05:00
hondacrx 762090efb1 Core/Auras: Implemented SPELL_AURA_MOD_PERIODIC_DAMAGE_TAKEN
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ee565b2c85a442069ee7a611378f30f066de873)
2021-02-22 15:10:45 -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 26c57969fb Core/Players: Corrected shield block value calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/31d3080091643d4e348ec53c5bec3caf0e17110f)
2021-02-21 21:44:30 -05:00
hondacrx 6ceeb9e31e Core/Creatures: Fixed crediting loot and quests for creatures using level scaling
Port From (https://github.com/TrinityCore/TrinityCore/commit/9e9fb667ecef8263f6184d194c3aceafd4d89e71)
2021-02-13 20:45:57 -05:00
hondacrx 2dd7fcba0c Core/Auras: Handle SPELL_AURA_MOD_AUTOATTACK_DAMAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/964340bb764baab75830cfe298d1346ceae84c61)
2021-02-09 13:35:37 -05:00
hondacrx c4f0ad6012 Core/Auras: Handle SPELL_AURA_MOD_SCHOOL_MASK_DAMAGE_FROM_CASTER
Port From (https://github.com/TrinityCore/TrinityCore/commit/e11067a39861214bde940bdc0e5b11daf7c326a0)
2021-02-09 13:31:59 -05:00
hondacrx 9bca3b5432 Core/Combat: Fixes Resistance calculations. 2021-01-27 14:58:05 -05:00
hondacrx 65855d1f22 Misc Fixes 2021-01-08 20:45:13 -05:00
hondacrx f929746c3d Core/Combat: Fixes 0 damage 2021-01-03 14:56:15 -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 0c036ef4db Core/Spells: Implemented using base weapon damage in spell attack power formulas
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd21e7ff404aed1d449b09db2b7fcbe2be8536c3)
2020-09-10 19:53:09 -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 5cc8c0dadf Fix an overly strict check that was causing guardians to evade loop. Also make players properly enter combat when their pets are engaged by a creature.
Port From (https://github.com/TrinityCore/TrinityCore/commit/09027e5ccc9618e5fae45a354bcd01cd04ee0aa1)
2020-07-24 16:35:22 -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 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 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 f0942a257e Misc fixes/Misc DB updates 2020-06-12 16:52:42 -04:00
hondacrx c1dbec58bd Core/Creatures: Update creature scaling to use content tuning
Port From (https://github.com/TrinityCore/TrinityCore/commit/314a35f0cd912daed7c0663f4f13552b6747fd98)
2020-05-20 15:27:22 -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 756e8aa6a9 Core/Unit: fix SPELL_AURA_MOD_DAMAGE_DONE damage calculation on non-melee schools
Port From (https://github.com/TrinityCore/TrinityCore/commit/8889b6f54c803805fe28ca9e015efe064759262a)
2020-05-12 23:49:17 -04:00
hondacrx c7f160557f Core/Instance: stop updating the instance resettimes based on creature respawns
Port From (https://github.com/TrinityCore/TrinityCore/commit/7dcc185a151745c8a12e23708bb5d457e5796032)
2020-05-12 17:28:03 -04:00
hondacrx 9f235e1659 Misc Fixes
Port From (https://github.com/TrinityCore/TrinityCore)
2020-05-08 15:00:56 -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 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 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 63105504a4 Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
2019-11-23 00:44:38 -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 0877e73ff2 Core/Spells: Implement SpellMisc.LaunchDelay
Port From (https://github.com/TrinityCore/TrinityCore/commit/c924840ce7fa7289fe73fb15b0f022bc74618ee1)
2019-09-04 13:13:59 -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 8797760d8a Properly stop attacking after player leaves ffa area (like Gurubashi Arena)
Port From (https://github.com/TrinityCore/TrinityCore/commit/4380fe2751869e7a011d51ee9449e8723b00067f)
2019-08-30 18:05:45 -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 aa71a8926a Misc fixes 2019-08-18 10:48:48 -04:00
hondacrx c8b6f417d1 Core/Spells: implement SPELL_AURA_OVERRIDE_AUTOATTACK_WITH_MELEE_SPELL
Port From (https://github.com/TrinityCore/TrinityCore/commit/9bd8d907281ea060f87987d448e91b1134311fa6)
2019-08-17 14:03:36 -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
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 d3bce6a75c Core/Misc: Fix various crashes, also related to multithreading
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad008c43b75080ec59aa973f1e2e4424332c34a4)
2019-08-16 22:03:02 -04:00
hondacrx ee098676c2 Core/Spells: Added SPELL_FAILED_NOTHING_TO_STEAL error
Port TrinityCore Commit: https://github.com/TrinityCore/TrinityCore/commit/b711f0bcaef7e966140fce4929ff5196b6b2bbf6
2019-08-14 23:46:10 -04:00