Commit Graph

279 Commits

Author SHA1 Message Date
Hondacrx e88513b855 Misc fixes 2025-06-08 18:32:12 -04:00
Hondacrx a3a9ef5259 Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator
Port From (https://github.com/TrinityCore/TrinityCore/commit/ace6342aea9e8e3f69af88ca3963fc961ba56f1b)
2025-06-08 15:56:31 -04:00
Hondacrx f62d303ec7 Core/Units: Added helper methods to cancel mount/shapeshift auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b16756172b2c3cc78b0861af86b93daae60edda)
2025-05-19 17:42:40 -04:00
Hondacrx 4a29928f13 Core/Units: moved melee attack rage generation into Unit::AttackerStateUpdate and send the generated rage in combat log packet instead of power update packets
Port From (https://github.com/TrinityCore/TrinityCore/commit/aefcd2fac7bb8b1a29a3d346f79bf02d1d5efc4a)
2025-05-19 12:58:56 -04:00
Hondacrx 94877fed77 Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/884662a75a901af6f61cab9efc171d052e8042f4)
2025-05-19 11:01:52 -04:00
Hondacrx 83f5185fc3 Core/Auras: Reimplement SPELL_AURA_MOD_ARMOR_PENETRATION_PCT, it is back from the dead
Port From (https://github.com/TrinityCore/TrinityCore/commit/11f6576f04688fb89d97e2bbe7ae97a8b6585415)
2024-11-17 13:11:53 -05:00
Hondacrx 406aa5e445 Fix login 2024-11-16 23:05:45 -05:00
Hondacrx 7d351406f5 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/68db469ee1f992bcdc81de64d6af1007d303be05)
2024-11-11 21:11:21 -05:00
Hondacrx 5909e7ba98 Core/Objects: Fixup SMSG_UPDATE_OBJECT related refactors
Port From (https://github.com/TrinityCore/TrinityCore/commit/963eb6b80c1231ebaadd29806666c9ae5b79a985)
2024-11-11 14:14:43 -05:00
Hondacrx a3edaf4df6 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides
Port From (https://github.com/TrinityCore/TrinityCore/commit/067fa31d152ecb10e5bea0419f84f7b79b96abf5)
2024-11-11 12:24:22 -05:00
Hondacrx be74f514a1 Core/Movement: Store adv flying speeds instead of hardcoding them in SMSG_UPDATE_OBJECT and enable packets modifying them
Port From (https://github.com/TrinityCore/TrinityCore/commit/43c7965d6b97a919ddd7e97a1f6e3f5750553f09)
2024-11-10 18:24:49 -05:00
Hondacrx 2590e31d57 Core/DataStores: Updated to 11.0.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/df511503815b7798c83acbffbb1ce5208f189ce7)
2024-09-02 22:27:11 -04:00
Hondacrx f38ad4607e Core/PacketIO: Updated to 11.0.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/e59eef5432c7b70679d33f4911c88d0f7d75fd39)
2024-09-02 18:44:55 -04:00
Hondacrx 8cd2f7ffaa Core/Auras: Defined and implemented new aura state
Port From (https://github.com/TrinityCore/TrinityCore/commit/d82a018b5b72adeea95483aedfa774381c5668e9)
2024-09-01 17:33:08 -04:00
Hondacrx 530e8dbd36 Core/Creatures: Only remove formation movement on formation remove instead of fully resetting MotionMaster
Port From (https://github.com/TrinityCore/TrinityCore/commit/67dd9a920fdabb26e6429432885345b1a1771b9a)
2024-09-01 15:26:19 -04:00
Hondacrx fe20b3753e Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/7fdcae81d8cc99ed154f3efe875d5670590cc122)
2024-09-01 15:20:55 -04:00
Hondacrx b4c955379f Core/Spells: Implemented SPELL_ATTR9_CANNOT_KILL_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3bdb4efef5d89df023fcccd6975edfd1ebd9903)
2024-08-31 17:39:01 -04:00
Hondacrx f908481bce Core/Spells: Fixed implementation of SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS and removed banish special cases that were neccessary because that attribute wasn't correctly supported
Port From (https://github.com/TrinityCore/TrinityCore/commit/c968dedfee59db53fc912ac166309f3d87470821)
2024-08-26 16:15:18 -04:00
Hondacrx edb6934082 Core/Players: Defined all avg item level slots
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f85fa7470789dbaedac5f3d74d00e1095e24ad1)
2024-08-25 14:05:11 -04:00
Hondacrx 665d7ac140 Core/Auras: Corrected implementation of dungeon encounter related interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e6eccdf592cd0760c780d485c439f121e06d4c)
2024-08-25 00:29:19 -04:00
Hondacrx d231c06b8e Core/Spells: Implemented evoker empower spell mechanic
Port From (https://github.com/TrinityCore/TrinityCore/commit/a39d0db9ec64f6bf38716abaade5b7835f2db338)
2024-08-19 18:48:32 -04:00
Hondacrx cf42b5e591 Core/Auras: Implemented OnHeartbeat AuraScript hook and refactored an aurascript to use it as example
Port From (https://github.com/TrinityCore/TrinityCore/commit/55ce5b150f716b6d470af80a9c31adf78e4cc198)
2024-08-19 12:24:24 -04:00
Hondacrx d7130c982d Core/Units: moved Vignette updating into Heartbeat handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/253f306a410bfbea9843bbb666cae0af30b4c8e8)
2024-08-19 12:15:27 -04:00
Hondacrx bf0c457273 Core/Auras: implemented PROC_FLAG_HEARTBEAT and moved food/drink emote mechanic into heartbeat handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/d60b4e5b199d56477010941fc1d3aff9eb7064a2)
2024-08-19 12:14:22 -04:00
Hondacrx 31ce0c6719 Core/Units: moved cyclic spline synchronization mechanic heartbeat handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2fedbb6cc89510002e9f56751e7f8427e306487)
2024-08-19 11:46:46 -04:00
Hondacrx 5b71b59358 Core/Pets: Removed overriding unit class for pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c702df4e3b25d764a2712577048921008a20671)
2024-08-04 16:33:41 -04:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 4bbf49a17a Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
Port From (https://github.com/TrinityCore/TrinityCore/commit/9402c66e8423243d13dbc19e8713e298bea0ac7b)
2024-03-14 11:09:45 -04:00
hondacrx 4b9b81c7e2 Core/Objects: Implemented vignettes
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf6fb72b60b08dfbe6d5fb17fba55239944fca)
2024-03-13 21:09:46 -04:00
hondacrx 2a4a2d1fdb Core/Spells: Implemented pausing spell cooldowns
Port From (https://github.com/TrinityCore/TrinityCore/commit/a814eb65b15c4fcef6a37adc1b13905d4c13b2a5)
2024-02-29 22:25:59 -05:00
hondacrx 0eb34a2dc8 Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS
Port From (https://github.com/TrinityCore/TrinityCore/commit/0139ec41bb3e2348b56fad2b4182b4a7a0494ac9)
2024-02-29 17:15:52 -05:00
hondacrx 6a6d36a151 Core/Units: Added helper function to clear boss emote frame and enable SMSG_CLEAR_BOSS_EMOTES
Port From (https://github.com/TrinityCore/TrinityCore/commit/deb24f3f53540733bef15f0a90a1b7e41e76d60e)
2024-02-27 13:58:28 -05:00
hondacrx f6b1c24297 Fixes crashes when character dies, and when teleporting. 2024-02-22 16:17:27 -05:00
hondacrx 1806eb52a3 Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4064d38c83bc26efa20a248426a9b8cfea6793f)
2024-02-21 17:41:12 -05:00
hondacrx 6abce678ca Misc fixes 2024-02-06 22:12:17 -05:00
hondacrx 437fe2d8fd Core/Creatures: Moved autoattack handling from scripts to game
Port From (https://github.com/TrinityCore/TrinityCore/commit/605e5f94c0d71cad8e83fa5a07eaec4e6bed9cc3)
2024-02-05 18:18:30 -05:00
hondacrx 44705dcc0d Core/Units: Allow self inflicted damage to bypass CREATURE_STATIC_FLAG_UNKILLABLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/53ac8d3ef5621f7137092b7aeeebf42730059181)
2024-02-04 13:37:19 -05:00
hondacrx 52ea57d5cf Core/Creatures: Remove stand state when a creature attacks or dies
Port From (https://github.com/TrinityCore/TrinityCore/commit/c05466fa0c2dc9b07528ed967d77bf0313fdafff)
2024-02-03 11:04:19 -05:00
hondacrx 4b669cfb5d Core: Update to 10.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/1eea1d11b14d2ae065ab0f1888fba3b1ef03874f)
2024-02-02 21:49:02 -05:00
hondacrx a5bc0d0d9b Core/Random: Changed random functions returning doubles to return floats
Port From (https://github.com/TrinityCore/TrinityCore/commit/9894f6b802c974bb36acd7fbb0d083455a1f0f1b)
2024-02-02 14:39:02 -05:00
hondacrx ad4aa7df0c Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing
Port From (https://github.com/TrinityCore/TrinityCore/commit/930a08fe03a033a6bb30fb8c94a8490c4b77fe91)
2024-02-01 21:10:24 -05:00
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 5e46dd951b Core/AreaTriggers: Implement missing functionality
* Scale curves are now taken into account when searching for units inside
* Implemented SpellModOp::Radius for areatrigger radius
* Implemented OverrideMoveCurve updatefields - overrides areatrigger position
* Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION
* Implemented ***Target fields for all shape types
* Fixed facing calculation for areatriggers with spline movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/c676d1477239aec4d0b235a410e5627a7070a86e)
2024-01-30 21:14:55 -05:00
hondacrx 1c6563718e More work on scripts 2023-10-20 07:29:05 -04:00
hondacrx 33091ed942 More updates to scripts (still wont build) 2023-10-13 16:11:34 -04:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx f636ea225f Messed up the commit history, so here is all the files rip, Credit to TrinityCore 2023-09-16 08:42:35 -04:00
hondacrx b99f574f64 Core/Spells: Allow cancelling spell missiles without cancelling the entire spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed98146d317f9b956e8ca23524631cdd2388492b)
2023-09-14 06:59:49 -04:00
hondacrx 25b27dcc72 Core/Auras: Allow effects of SPELL_AURA_SCHOOL_ABSORB_OVERKILL to be prevented by setting absorb value to 0 in script
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b9493eec7c937642243c5ab0367f5ac8643879e)
2023-09-14 06:57:52 -04:00
hondacrx d7c2fa52f4 Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cdf3530f41e18fc815e7b164e40c01a18c3d757)
2023-09-13 18:18:29 -04:00