Commit Graph

1586 Commits

Author SHA1 Message Date
hondacrx a942ff86b4 Remove unneeded generic type and renamed base class for updatefields. 2023-09-17 12:12:36 -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 4134796f1b Core/Battlegrounds: Rework queues
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ede6c155605da602b3bafaa3a1212d9f924759b)
2023-09-14 06:16:30 -04:00
hondacrx 0bb8152623 Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state
Port From (https://github.com/TrinityCore/TrinityCore/commit/6175467c3e66fa09d8ff1e0f091375c26f7529e5)
2023-09-14 04:48:19 -04:00
hondacrx dbd3a16c11 Core/GameObject: Expose several NewFlag fields for future purposes
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e618278141cce1a1fcfc2f1b0e8997367ca9848)
2023-09-14 04:47:43 -04:00
hondacrx 165f2d7f9b Core/GameObject: Added additional checks for GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP for potential exploits / lag issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/28c5d71b284a19657a602590cc6fcc2f1746b124)
2023-09-14 04:43:15 -04:00
hondacrx 06eed955de Core/GameObject: Mark some pvp related gameobjects as active
Port From (https://github.com/TrinityCore/TrinityCore/commit/1336370b4583400abb93d6e306814b05f3c7553b)
2023-09-14 04:38:38 -04:00
hondacrx ac8086eda2 Core/AreaTrigger: Handle unit exit after OnRemove hook has been called
Port From (https://github.com/TrinityCore/TrinityCore/commit/b10b97b35bed07742b3989fa99fe932d77bd7fd2)
2023-09-14 04:37:12 -04:00
hondacrx fde57f7cf0 DB/Pets: Removed invalid spells from creature_template_spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/982feb5082ab3c30cfb2e1278fd7736e5a02466c)
2023-09-14 03:30:55 -04:00
hondacrx c8c75431bf Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ab7050cb72544faa6a7fa17a0bf644e22538ff3)
2023-09-14 03:29:15 -04:00
hondacrx 45c95d22ed Core/Creatures: Updated totem slot assignment logic
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
Port From (https://github.com/TrinityCore/TrinityCore/commit/fefc7192631764245396cd2622aa11f649411946)
2023-09-14 03:27:06 -04:00
hondacrx 0449c88951 Core/Spells: Damage and healing bonus calculation fixes
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
* Fixed SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE and SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH not working for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac1c0419441a6c0b1a049a3197a35c754e00ea6e)
2023-09-14 02:59:06 -04:00
hondacrx dca7931fa2 Scripts/Commands: Implemented .debug play objectsound command
Port From (https://github.com/TrinityCore/TrinityCore/commit/95893cf53cdc9ab2ca3ec26cfd85793e63e97317)
2023-09-14 02:53:58 -04:00
hondacrx 0e2b551b06 Core/Object: Implemented helper method PlayObjectSound
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e5da37bdbbac355e454c5cbabe5991b7966709)
2023-09-14 02:51:26 -04:00
hondacrx 3f8dedfb7a Core/Creatures: Clean up temporary summon duplicate level initialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/1cae07870b4ff3c33669326756392d9086dac50f)
2023-09-13 21:03:36 -04:00
hondacrx 0482541ac2 Core/Creatures: Allow modifying TempSummon duration after summoning
Port From (https://github.com/TrinityCore/TrinityCore/commit/01a09de3197612acdfd2d3d72548c9ae7288faa5)
2023-09-13 21:00:49 -04:00
hondacrx 0e2dd0cda3 Core/Creatures: add TimeSpan to TempSummon
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216)
2023-09-13 20:59:45 -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 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
hondacrx 44e79ec8ea Core/Spells: Removed old combo point code leftovers
Port From (https://github.com/TrinityCore/TrinityCore/commit/197d4369c894e9b088f862c7189f4fe20b4836ca)
2023-09-12 18:08:48 -04:00
hondacrx 913cfa0fbd Core/Spells: Fixed spell duration scaling with combo points
Port From (https://github.com/TrinityCore/TrinityCore/commit/9e68fd1458551ab0f007b6044c9220da8f7d4199)
2023-09-12 18:00:30 -04:00
hondacrx 543411beec Battlegrounds/Buffs: Rework using areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/f5461a1161a5a9dfabe7a142ad84f8c900776c92)
2023-09-12 15:52:46 -04:00
hondacrx 6f387e563f Core/GameObjects: Added stringid to gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/845f61e0a969891b14e1f182fadd29af347a1a3f)
2023-09-12 15:45:47 -04:00
hondacrx b74cdf643f Core/GameObject: Implement GAMEOBJECT_TYPE_NEW_FLAG_DROP
Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfc27f5ca81402ed41973a0206838e7a0352070)
2023-09-04 13:28:15 -04:00
hondacrx 07a2dd9859 Core/AI: Implemented OnHealthDepleted hook
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea134c0eae83b4cdbb5f0e941ed867a144bb01f6)
2023-09-04 13:07:59 -04:00
hondacrx 5be3f5acca Core/Units: Fixed knockback angle calculation for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3bc5ebf1627527de638c4e686d5b42ebfd849b3)
2023-09-04 11:41:54 -04:00
hondacrx 3461b6fcaa Core/AreaTriggers: Teleport to current instance entrance when entering instances via areatrigger entity
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e7508db7b70b2b79ee1fc77a1899d08173ffc62)
2023-09-04 11:40:06 -04:00
hondacrx 04250a71f8 Core/Units: Fixed crash (previously was a memory leak) when vehicle creatures are deleted without ever being added to world
Port From (https://github.com/TrinityCore/TrinityCore/commit/40cdf0750d40668692660db817c5fc19d53aea2e)
2023-09-04 08:02:03 -04:00
hondacrx 6dbfdf51f6 Core/Misc: Updated more enums for 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b1281e73ff2c8bfe11789c88fc1caaca6584a03)
2023-09-04 08:00:58 -04:00
hondacrx 54c6d05de0 Core/Auras: Implement SPELL_AURA_MOD_DAMAGE_PERCENT_DONE_BY_TARGET_AURA_MECHANIC
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a760de79b6dc9d821bd6dd2c362301c307991f0)
2023-09-04 07:55:44 -04:00
hondacrx fb44221203 Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/88ff97c1f96381565c47f8ca1993bdc7fce19fd6)
2023-09-04 07:50:01 -04:00
hondacrx 9ba60f66f8 Core/Scripts: Fix EventScript assert for GameObject::SetDestructibleState
Port From (https://github.com/TrinityCore/TrinityCore/commit/3aa264d0c74d0425fd335d69e1890bef6dfa1838)
2023-09-04 07:31:01 -04:00
hondacrx 15fe47e0cb Core/Unit: Added helper functions to modify UNIT_FLAG2_CANNOT_TURN
Port From (https://github.com/TrinityCore/TrinityCore/commit/53f9abec14613c0823b1ee5363b3f873cc23ece9)
2023-09-04 07:22:22 -04:00
hondacrx d3dd837b11 Core/PacketIO: Fixed structure of SMSG_GOSSIP_MESSAGE and SMSG_QUEST_GIVER_QUEST_LIST_MESSAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/19db88fd1b1dd3ee9432f9f5facda0129f470a2c)
2023-09-02 15:15:32 -04:00
hondacrx 91f750e562 Core/AreaTriggers: Handle AREATRIGGER_FLAG_HAS_DYNAMIC_SHAPE for disks
Port From (https://github.com/TrinityCore/TrinityCore/commit/5be076b2400364c5fc2b293032ad92f1d955ec1f)
2023-09-02 15:11:38 -04:00
hondacrx 9ecb3449d5 Core/AreaTriggers: Update areatrigger scalecurve handling with latest research
Port From (https://github.com/TrinityCore/TrinityCore/commit/361fe56bc87456b63e685a53ffc63ca1694d336a)
2023-08-28 12:55:52 -04:00
hondacrx b6b558f03a Core/Units: Allow autoattack if channelling with SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbe7cba7f411977d756f6f697056aafb920a5b0a)
2023-08-28 11:30:37 -04:00
hondacrx 8bef51cf6e Core/Players: Fixed base hit chance initialization for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f8eddc4f0cf443c45a930bc919007541210984a)
2023-08-28 11:19:01 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -04:00
hondacrx 25a4d5b354 Core/SAI: Implemented new source type SMART_SCRIPT_TYPE_EVENT (3)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d015711fbb7a8bf57f7bb64ba8113c942d5125de)
2023-07-23 18:06:11 -04:00
hondacrx bef7b60baa Core/Conversation: Added some helper methods for scripting
Port From (https://github.com/TrinityCore/TrinityCore/commit/a44748599196307ccdd40cf42c74f419e7679b59)
2023-07-18 08:06:22 -04:00
hondacrx 8d1a496463 Core/Quests: Make completion of tracking quests completed by SPELL_EFFECT_QUEST_COMPLETE visible to client
Port From (https://github.com/TrinityCore/TrinityCore/commit/768bf46043f81a2a8fce7f28e944c1e1a47ce0ca)
2023-07-18 07:53:26 -04:00
hondacrx fe9519f3b6 Core/Pets: Fixed crash when summoning hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/074c5da6e43796a88ad34e8724362433d5109f88)
2023-07-18 07:51:23 -04:00
hondacrx e4111c7d22 Core/Players: Fixed fury warriors failing to be saved to db on first save after login/respec
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b29ecd749046d204fd1522b364c2ac3a9be8b64)
2023-07-18 07:49:11 -04:00
hondacrx 783f5296d2 Core/Conversation: Added ChatType field to conversation_line_template
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee2577dde63a8bf25198d6658fbf65c0c21e39dd)
2023-07-18 07:45:51 -04:00
hondacrx a700760b88 Core/GameObjects: Only start loot restock timer if loot contents were modified and ignore it for personal loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3ef01f87bd56e553972277a38cf9a98a3397495)
2023-07-18 07:43:30 -04:00
hondacrx 7de6a839fa Core/Auras: Removed triggering aura effect from SPELL_AURA_OVERRIDE_AUTOATTACK_WITH_MELEE_SPELL handling (paladin Crusading Strikes combines this with a proc aura on another effect on the same spell)
Port From (https://github.com/TrinityCore/TrinityCore/commit/36ecc2d8cb8d913a6ac0936031de47b18c69a90d)
2023-07-18 07:37:11 -04:00
hondacrx f7169353b3 Misc Stuff 2023-07-01 09:34:03 -04:00