Commit Graph

130 Commits

Author SHA1 Message Date
hondacrx 1e4fa35ac2 Core/Unit: Random code style/naming adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/05119fd90949340cad4a700d12069154a2faf5f6)
2021-11-01 12:09:07 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx 68c4407840 Core/Auras: Implemented SPELL_AURA_CAST_WHILE_WALKING_BY_SPELL_LABEL and SPELL_AURA_CAST_WHILE_WALKING_ALL
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e81db7b9380269d4561eb5deb21fbef26913779)
2021-10-16 18:33:43 -04:00
hondacrx 727e0100a1 Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project
Port From (https://github.com/TrinityCore/TrinityCore/commit/555b2d40ecc22eb0ea4bf913b534ffa7197fa6fe)
2021-10-03 13:55:43 -04:00
hondacrx 889e0570f0 Core/Threat: Fix taunt behavior in some edge cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/4634cfaa9f1e7064147f2c81a146234405f4e121)
2021-09-26 14:15:27 -04:00
hondacrx c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx 7cfe3c0021 Core/Spell: fix SendSpellMiss requiring caster Unit
Port From (https://github.com/TrinityCore/TrinityCore/commit/60ff73eeba93c7f97abff0eeb504cb4b5ff8a6cd)
2021-09-08 23:26:14 -04:00
hondacrx f9779537a8 Core/Spells: Fix periodic rolling adding bonuses twice
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fa95b4b57c1d843392d0c321cdabbc3a21e1d69)
2021-09-08 22:52:23 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 1e96f4a663 Core/Auras: Fixed cherry-pick mistakes in Unit::RemoveMovementImpairingAuras and Unit::HasAuraWithMechanic
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d7eee1a8cc0fbfe297f2114446e5f634255b3f3)
2021-09-05 10:14:01 -04:00
hondacrx fcb7edb93f Core/Spells: Remove leftover code from old mechanic - default spellpower scaling coefficients
Port From (https://github.com/TrinityCore/TrinityCore/commit/407e5aea1a0e9395f8a0dda58b004c5659e78b7b)
2021-09-05 10:11:16 -04:00
hondacrx 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00
hondacrx 091272755c Core/Spells: rework part 3: spells only handle at most one UnitAura and one DynObjAura during its lifetime
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3548d45d0a74203ef6f5c7282c31ba794ddf7a1)
2021-08-28 17:03:47 -04:00
hondacrx 7cc0221447 Core/Entities: kill unused return value from Unit::HandleSpellClick
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1a00f823e7e47e8cb652b71a839c1d0875a8f84)
2021-08-09 10:05:13 -04:00
hondacrx 8e758048ae Core/Scripts: remove hack that caused aura to not be applied and saved twice on owned auras, causing an error on save
Port From (https://github.com/TrinityCore/TrinityCore/commit/181c671924c22fb92e32b96dd0f63d395b13db4f)
2021-08-09 09:48:05 -04:00
hondacrx 7ca12d9793 Core/DataStores: 9.1.0 db2 structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce1046a8fd0f04aad6c414786949269fffea88f3)
2021-08-08 14:40:42 -04:00
hondacrx fbec933705 Core/Unit: kill unused parameter from SpellxxxBonusTaken
Port From (https://github.com/TrinityCore/TrinityCore/commit/15810eb579c40ee2b3db35ef2a99b7c5cb70c985)
2021-06-23 22:27:20 -04:00
hondacrx 9846d3de7f Core/Unit: corrected calculation for SPELL_AURA_MOD_DAMAGE_TAKEN/SPELL_AURA_MOD_HEALING auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc6b0c519776ff6afad586d31b99abd1e9c41678)
2021-06-23 22:22:57 -04:00
hondacrx 9e23ca4b04 Core/Spells: calculate crit chance only for spells that do damage/healing
Port From (https://github.com/TrinityCore/TrinityCore/commit/85e5509e91a1370b16851d375a26121797870921)
2021-06-23 22:06:49 -04:00
hondacrx 0b0ab3b059 Core/Unit: fixed Global cooldown cancelation on spell interrupt
Port From (https://github.com/TrinityCore/TrinityCore/commit/df585571f108b3c44d3db1ab82683151f798cbf7)
2021-06-23 14:06:43 -04:00
hondacrx b70086db18 Core/Unit: check remaining instead of full duration for Bounced by DR auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0fa8c72a3c2f82ed49c47f2f1e29618d6ef6abb)
2021-06-22 20:56:13 -04:00
hondacrx aae86fe4d1 Core/Entities: Port some refactors
Port From (https://github.com/TrinityCore/TrinityCore/commit/431a326e6974d3c86452192767368ab6c4ea9b0b)
2021-06-22 20:43:41 -04:00
hondacrx 0711c5b3a4 Core/Unit: fix Sanctified Wrath (again)
Port From (https://github.com/TrinityCore/TrinityCore/commit/770367a514ec6af2bcae687418b95d01681189ae)
2021-06-22 20:20:23 -04:00
hondacrx 063a29b9d2 Core/Unit: simplified and arranged spell bonus calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/bec829df0a51b4597e40d0f8638a4d6bf1788977)
2021-06-22 20:15:23 -04:00
hondacrx c51c4d443f Core/Spell: SpellValueOverrides encapsulation
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fbddef85f48f6b9140d025d7f2e14faae0af178)
2021-06-22 18:43:40 -04:00
hondacrx e98e45cf8b Core/Auras: removed caster dependency from core
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf1a8c62820004df92b9ac567ba75f7281e6e2)
2021-06-22 15:01:42 -04:00
hondacrx ba2908f508 Core/Units: Add Func overloads to GetAura/GetAuraApplication
Port From (https://github.com/TrinityCore/TrinityCore/commit/9542d221cb359f6dfd67aa1432877e19b942b619)
2021-06-04 16:35:52 -04:00
hondacrx 0f16ad75d0 Core/Spells: Defined and implemented some new spell attributes
Port From (https://github.com/TrinityCore/TrinityCore/commit/1912999b9e4b1f1b7503e404d359dfeac38c3d29)
2021-05-18 13:08:05 -04:00
hondacrx 9851142796 Core: Combat/threat system rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/34c7810fe507eca1b8b9389630db5d5d26d92e77)
2021-05-18 12:25:40 -04:00
hondacrx 4872dcb649 Core/Spells: Send actual power gain amount in spell energize log
Port From (https://github.com/TrinityCore/TrinityCore/commit/b511fac643f4192d5f748192bf711b64a9a2363d)
2021-05-17 14:05:59 -04:00
hondacrx cb06e572f3 Core/Units: No longer send PowerUpdate packets when gaining power via energize spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/a0a4d23fed58880c5ad1ebf4216d15d957035b65)
2021-05-13 20:37:31 -04:00
hondacrx be9da02534 Misc fixes 2021-04-28 11:00:29 -04:00
hondacrx 47f993bff5 Core/Spells: Removed extra health from feed pet
Port From (https://github.com/TrinityCore/TrinityCore/commit/60df74933f0bf75865ba963b33c2c1bdd9cdefbd)
2021-04-22 20:40:17 -04:00
hondacrx e64b091512 Fixed a crash when trying to summon a companion pet. 2021-04-22 12:24:09 -04:00
hondacrx d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -04:00
hondacrx da0b406c8a Core/Spell: implement SPELL_FAILED_AURA_BOUNCED on DR spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/bebc20b4de7db2fa1b80ac481902a39d92bd4dc8)
2021-04-16 15:20:02 -04:00
hondacrx 9782ad7eee Core/Misc: Some crash fixes. 2021-04-13 16:54:14 -04:00
hondacrx b0e28e1478 Misc fixes! 2021-04-12 15:03:12 -04:00
hondacrx 03cc39b4a2 Fixed two crashes 2021-03-30 11:14:16 -04:00
hondacrx 3d40c868f6 Core/Script: Implement CalcCritChance hooks for spell and aura scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8255b15419cd1efdd2ccaf77298c8598322288f)
2021-03-29 16:04:29 -04:00
hondacrx 0501481fcd Core/Auras: Defined and implemented many new interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b5a46ca2bb3a4632cb9914e0899df611a47d935)
2021-03-28 15:49:12 -04:00
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 1d8bab3b58 Core/Auras: periodics refactor part 1:
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f9e0d92d563c983c229db1569414916b3dce51e)
2021-03-17 16:08:17 -04:00
hondacrx cb25ddc507 Core/Spells: Take SPELLMOD_CRIT_DAMAGE_BONUS into account also for healing spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/1d7590072c63151f7696f9003b6869f9000cb665)
2021-03-08 13:38:03 -05: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 b04f34a1e1 Core/Scripts: Add SpellInfo argument to ScriptMgr::ModifySpellDamageTaken
Port From (https://github.com/TrinityCore/TrinityCore/commit/995fb23bc11e5dff3f21e1afa977934b76482d1b)
2021-03-04 14:13:48 -05:00
hondacrx 8a481dc9bd Core/Auras: implemented SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee2ebfe87db6e43fc0ee2e27d760d656eadf9526)
2021-03-04 13:54:52 -05:00
hondacrx bfb732e72b Core/Auras: Implemented SPELL_AURA_MOD_CRIT_CHANCE_VERSUS_TARGET_HEALTH and SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER
Port From (https://github.com/TrinityCore/TrinityCore/commit/84cb6718eee5a1beada137559f21396fb8f43705)
2021-02-22 15:41:23 -05:00