Commit Graph

77 Commits

Author SHA1 Message Date
hondacrx bb2df1c0f9 Core/Spells: Named and implemented most of SpellAttr7
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e87bd7942d932225436940f62e26d48719a42dd)
2024-02-01 15:39:38 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 3052b1dc23 Core/Misc: Turn ChrSpecialization into enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/98007f859b7318570c0c923a00aa32fc485c8ec8)
2023-09-13 20:33:47 -04:00
hondacrx f7169353b3 Misc Stuff 2023-07-01 09:34:03 -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 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 dfceb4c044 Core: Update to 10.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/16bc74667e8996b64258718e95b97258dfc0217a)
2023-05-19 16:23:44 -04:00
hondacrx 141ed88de0 Core/Auras: Removed outdated aura type handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/c563d52c8da02c610266b0376ef70ea92d022835)
2023-05-02 17:25:05 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -05:00
hondacrx 21b5fe44f5 Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR_PCT and rename HandleModStatBonusArmor
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e9a6700d83f0ad07c7c56becfc3a62434707208)
2022-09-07 15:43:21 -04:00
hondacrx 3355b1e066 Core/Auras: Implement SPELL_AURA_IGNORE_DUAL_WIELD_HIT_PENALTY
Port From (https://github.com/TrinityCore/TrinityCore/commit/1a0341ccbdd4fa443e978cb952965a1eaf3b55d2)
2022-05-09 13:24:59 -04:00
hondacrx 09a4e13453 Core/Spells: Implement SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_PARRY and SPELL_ATTR7_NO_ATTACK_MISS
Port From (https://github.com/TrinityCore/TrinityCore/commit/d22d4616339a966ce5e5fe959dca622fc21b7988)
2022-05-05 09:52:50 -04:00
hondacrx 595338284c Misc fixes. 2022-01-09 14:33:39 -05:00
hondacrx 6e0becd106 Core/Items: implement some helper methods for easier readability
Port From (https://github.com/TrinityCore/TrinityCore/commit/9124fd1f1fafea19b118eb69c6a35f94376fc7e8)
2022-01-06 10:57:06 -05:00
hondacrx 08678c970e Core/Unit: Implement more helper methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/104ec7a81a5bb782f81fd05b872bf664e4de1c89)
2021-12-26 20:04:34 -05:00
hondacrx 501f280140 Core/Unit: rename & cleanup GetCreatePowers
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8ec1ba9bc2d6d24407670159a765099f2a3004d)
2021-11-23 21:26:01 -05:00
hondacrx 049f8c758f Core/Unit: Successfully (?) prevented the zombie apocalypse. Corpses can no longer gain HP.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c8b11f7e3db8b40a0c02a759d722dff0f7c55fe8)
2021-11-03 11:55:52 -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 647aca03c2 Core/Entities: completely remove 60% melee miss cap as there is no proof of its existence
Port From (https://github.com/TrinityCore/TrinityCore/commit/a6e84ebfabdaef50c9e0039dea4ec52b88827b26)
2021-09-09 13:55:36 -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 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 50fcbd3aaf Some cleanups 2021-07-08 13:01:46 -04:00
hondacrx 24f666a59d Core/Unit: allow miss chance to exceed 60% cap with certain auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ab410b926f8d708f06a5da52357bc70e3b02244)
2021-06-22 20:23:08 -04:00
hondacrx 52276012cb Core/Unit: fixed crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/84a29d8077d2e2b6e8c8ebcb967344b57668cb88)
2021-06-22 20:17:42 -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 741bb1b84a Scripts/Spells: Remove manual damage adjustment from Arcane Barrage for scaling with arcane charges and use spell cast for mana energize
Port From (https://github.com/TrinityCore/TrinityCore/commit/331c7ec7c268d522ead3229247a4c37db4393226)
2021-05-17 14:35:50 -04:00
hondacrx 61c9f6edea Scripts/Spells: Fixed arcane barrage + explosion
Port From (https://github.com/TrinityCore/TrinityCore/commit/be8cbab4b3cd9623c42bf89d1bf1d6b40e0ae4fd)
2021-05-17 14:14:17 -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 d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -04:00
hondacrx 6977599b1b Core/Units: Corrected values of UnitData::Resistances (should be total value)
Port From (https://github.com/TrinityCore/TrinityCore/commit/88f4d30445937b9de42f5cb25acad75fc89bdccb)
2021-03-29 12:18:59 -04:00
hondacrx 6e2c9a32e7 Core/Auras: Implemented aura to increase armor by percentage of primary stat
Port From (https://github.com/TrinityCore/TrinityCore/commit/b574be08ae552dcc4bba09e15422d74866a0e7d2)
2021-03-29 12:12:49 -04:00
hondacrx b00a895f19 Core/Players: Added Player::GetPrimaryStat retrieving intended primary stat for current specialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/d889b4b0e8fc082505f6bf70a551ad4b38f3f34c)
2021-03-29 11:56:15 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -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 ee97dc7b32 Core/Spells Handle auras 328 & 396 (SPELL_AURA_TRIGGER_SPELL_ON_POWER_*)
Port From (https://github.com/TrinityCore/TrinityCore/commit/56e9560661adca81fc1e9a297cb6823cf7a6cb22)
2021-03-08 13:50:15 -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 a76bfe8544 Core/Auras: Implemented SPELL_AURA_MOD_POWER_GAIN_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/03f1d3cedf66711ec375c421ddbb458a9992800b)
2021-02-24 18:51:08 -05:00
hondacrx f25af46c8f Core/Auras: implement mana cost modification aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/a76c08843fc1695241b7246c4014322ee07a6453)
2021-02-22 16:06:13 -05:00
hondacrx da3e2f433b Core/Auras: Implemented SPELL_AURA_MOD_COMBAT_RATING_FROM_COMBAT_RATING
Port From (https://github.com/TrinityCore/TrinityCore/commit/b811da080c1e2a73a8f7787716b5d51ed6e6b3b6)
2021-02-22 15:48:55 -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
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 6c121e7ef5 Core/Entities: Regenerated updatefields code with latest generator fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/331b9ccd6a3be12e92e7c2aab7b793739b405d2f)
2021-02-18 12:08:56 -05:00
hondacrx 926035b704 Core/Players: Implemented secondary stat diminishing
Port From (https://github.com/TrinityCore/TrinityCore/commit/cb47605235a49bb2c6065b2e6de69b657a9c905f)
2021-02-09 13:28: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 4c2106781a Core/PacketIO: Updated packet structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/96d340f70ccef57fad177a24ca099055d7dce04d)
2020-12-12 23:45:36 -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 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -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 2820d45a0d Misc fixes 2020-09-03 11:25:42 -04:00