Commit Graph

2464 Commits

Author SHA1 Message Date
hondacrx deadb86e31 Core/SAI: Implemented new action SMART_ACTION_TRIGGER_GAME_EVENT
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d0187dd5669d73bcb94ffe76b4fc3975a5455cc)
2022-05-31 20:46:07 -04:00
hondacrx e1b85a66e9 Core/SAI: Support gameobject targets for SMART_ACTION_PLAY_ANIMKIT
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8246d1ba76cabcd034b60b806505f1a5a87465f)
2022-05-31 20:05:07 -04:00
hondacrx c5593ea980 Core/Corpses: Fixed crash in corpse creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e90f188f80d217b95606caf745e82253f3a4d47)
2022-05-31 20:02:02 -04:00
hondacrx a0b381ed79 Core/Achievements: Implemented GameEvent related criteria types 73 and 93
Port From (https://github.com/TrinityCore/TrinityCore/commit/22edf79c70519a571d9eeb7e397add695d7a28bb)
2022-05-31 20:00:36 -04:00
hondacrx 8bbd650d0b Scripts/Instances: Replace manual criteria timer starts in instances with new GameEvents api
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c62b0b90f879e5df6c6785c12e9a5bddd65cb48)
2022-05-31 19:57:24 -04:00
hondacrx 4b0b5df152 Core/Achievements: Implemented criteria flag "Reset on Start" and removed manual script workarounds for it
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1abd8256be38c299156264424999c0108613198)
2022-05-31 19:54:05 -04:00
hondacrx adfca19d4c Core/Battlegrounds: Replace manual criteria timer starts in battlegrounds with new GameEvents api
Port From (https://github.com/TrinityCore/TrinityCore/commit/111fc6ac6fd703bb645046e7a477a986d8519a64)
2022-05-31 19:51:16 -04:00
hondacrx 623c3198c0 Core/GameObjects: Implement more gameobject gameevent uses
Port From (https://github.com/TrinityCore/TrinityCore/commit/597485f1d4ccadaccf800a2663f3d74342aa5c4d)
2022-05-31 19:44:57 -04:00
hondacrx da944ab528 Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a04a0c496c8c0c521eeaa76e34fbeb531cc1d9)
2022-05-31 19:42:40 -04:00
hondacrx 4fe0663b1d Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fddd6cdf3fb342b98d4878d23874f60498d7545a)
2022-05-31 16:03:14 -04:00
hondacrx 108abf92cd Core/Items: Implemented item effect trigger type 7 (On Looted)
Port From (https://github.com/TrinityCore/TrinityCore/commit/372c84e998a090185f822a228c407911cbc821f1)
2022-05-31 16:00:10 -04:00
hondacrx a47ecd34e9 Core/Scenarios: Removed unused variables
Port From (https://github.com/TrinityCore/TrinityCore/commit/8ecb16fde4cf71851c46d78471b667b56f55bd17)
2022-05-31 15:26:11 -04:00
hondacrx 940ecad00a Core/Conversations: Conversation actor improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/fda65981c7a4c475c270755c198dee85cd38dfa3)
2022-05-31 15:25:11 -04:00
hondacrx 48042ffab0 Core/Vmaps: Use provided invDirection from G3D::Ray instead of calculating it ourselves
Port From (https://github.com/TrinityCore/TrinityCore/commit/428d8dc3b7616f7bb9d39c4b6343c5eec4e3c965)
2022-05-31 14:23:49 -04:00
hondacrx 39ca6f83e6 Core/PacketIO: Fixed incorrect packet response when ignoring players
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c99bc18f22e0660770c378a72cad57808fd6460)
2022-05-31 14:16:17 -04:00
hondacrx 4056acbc60 Scripts/Spells: Implemented transformation and racial ability swap for battleground mercenary (193970 - Mercenary Shapeshift)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a95b0b45110a661e72e26a80eb02c6b5b1eef7d7)
2022-05-31 14:14:26 -04:00
hondacrx 3edf7d0b91 Core/Units: Include SPELL_AURA_MOD_FACTION auras when restoring faction (either on aura removal or .gm off)
Port From (https://github.com/TrinityCore/TrinityCore/commit/52fb46703172a0803a122d54aaed6506eb25d3e3)
2022-05-31 13:58:34 -04:00
hondacrx ad54cfb453 Core/DataStores: Defined SkillLineFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/1215321c8bc2676fefc0b4627044f2f78202704c)
2022-05-31 13:57:00 -04:00
hondacrx d902c6a318 Core/Battlegrounds: Remove legacy battleground exit areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/641110e5543e53318d39054fb423858a96064a34)
2022-05-31 13:53:54 -04:00
hondacrx 1075f52b31 Core/Players: Add player race argument to Player::LearnSkillRewardedSpells
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1209a83889ce26e29edc1ac19717eb6012e3a1d)
2022-05-31 13:52:41 -04:00
hondacrx b30ba3422f Core/Auras: Remove aura 490 implementation (purpose unknown, needs more spell examples)
Port From (https://github.com/TrinityCore/TrinityCore/commit/342eefcb361900741c17cc40a48fd10436908175)
2022-05-31 13:48:55 -04:00
hondacrx dfee7691f7 Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
Port From (https://github.com/TrinityCore/TrinityCore/commit/55587694053583b4cb85be38a47563a9fdf77271)
2022-05-31 13:45:46 -04:00
hondacrx 014c4b9c54 Core/Battlegrounds: Set PLAYER_FLAGS_EX_MERCENARY_MODE for mercenary players
Port From (https://github.com/TrinityCore/TrinityCore/commit/798693c0b8c6f4ae43f908c9239e14bcf4c3b76f)
2022-05-31 13:00:06 -04:00
hondacrx 036c565f69 Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time
Port From (https://github.com/TrinityCore/TrinityCore/commit/84486ded67efc4e779412ff865c66ca8b9cee7ea)
2022-05-31 12:07:04 -04:00
hondacrx 5833be817a Fix build 2022-05-31 11:46:11 -04:00
hondacrx 1ba88f81db Core/Battlegrounds: Implement mercenary system
Port From (https://github.com/TrinityCore/TrinityCore/commit/87723e32e24f03ac1d062e33edcbe935e4e59421)
2022-05-31 11:46:04 -04:00
hondacrx 6751370788 Misc fiixes 2022-05-30 16:21:09 -04:00
hondacrx cc9818a6a3 Core/Spells: Add one more allowed case for CastSpellTargetArg constructor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c63d201900d80896d68da72f0bc7762a5df4c75)
2022-05-30 16:14:48 -04:00
hondacrx 442da7511f Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
2022-05-30 16:12:11 -04:00
hondacrx f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -04:00
hondacrx 2419cef04e Core/AI: Change m_originalCaster to m_caster when calling OnSpellStart
Port From (https://github.com/TrinityCore/TrinityCore/commit/1bb63f69ef12d572a34f6ed107a5d6008c7da5e2)
2022-05-30 15:44:58 -04:00
hondacrx 306b0cb227 Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/050f55b62fded4cc73b76e42d56d98ea950cc26a)
2022-05-30 15:44:21 -04:00
hondacrx 5575703997 Revert "Core/Spells: Force Invisibility (mage) to leave combat."
Port From (https://github.com/TrinityCore/TrinityCore/commit/2065e0620704bf9ae7f0d25a7111ec2f65cdcde5)
2022-05-30 15:12:14 -04:00
hondacrx af29d3158e Misc stuff 2022-05-30 15:09:02 -04:00
hondacrx 2472177ef6 Core/SAI: Remove SMART_ACTION_ADD_AURA & actions to change object flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7effa4cfa3476ed5aa41729b4ab9fb15e7a1c0)
2022-05-30 15:08:50 -04:00
hondacrx e9ea93c512 Update inkeeper content
Port From (https://github.com/TrinityCore/TrinityCore/commit/e811387bdeced20f363f1ed7bfd4346b602af8e2)
2022-05-30 15:02:56 -04:00
hondacrx f07b6fecd5 Core/AI: Fix crashes caused by charmed Creatures having null AI for 1 map update tick
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c25abca72772e2962bac7f460a567a943388a05)
2022-05-30 14:56:15 -04:00
hondacrx 1040f80181 Core/SAI: Use GetBaseObject as second param of SMART_ACTION_ACTIVATE_GAMEOBJECT & reorder GameObjectActions
Port From (https://github.com/TrinityCore/TrinityCore/commit/52bb230e4c83c814658b77f6d277da77e0b47be7)
2022-05-30 14:46:24 -04:00
hondacrx eedbf145d1 Core/SAI: Remove SMART_ACTION_SEND_GO_CUSTOM_ANIM, make SMART_ACTION_ADD_AURA & SMART_ACTION_SET_GO_FLAG deprecated
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ea8cdb45716c162221c7d8a6f37da19a047c6d7)
2022-05-30 14:43:56 -04:00
hondacrx d3cf388bd7 Core/Misc: Verify LFG role selections by class
Port From (https://github.com/TrinityCore/TrinityCore/commit/90b4c5afa22715cf2d73f727cbc20c4b667a2769)
2022-05-30 14:41:19 -04:00
hondacrx 36a2e1dff7 Core/Battlegrounds: Avoid teleport players when relogin inside Strand of the Ancients
Port From (https://github.com/TrinityCore/TrinityCore/commit/a37f9b6693c74176bdbf0730e952ef7f05701cd1)
2022-05-30 14:31:07 -04:00
hondacrx 1eb79de56e Core/Battlegrounds: Avoid reset BG and Arena scoreboard stats and BG map achievement criterias when relogin if player was already in the BG
Port From (https://github.com/TrinityCore/TrinityCore/commit/1bfbc371d5e2c756da6dc9f658cafcac5779ff60)
2022-05-30 14:30:15 -04:00
hondacrx 69ebe041cf Misc stuff 2022-05-30 14:19:00 -04:00
hondacrx c3b1daca3f DB/SAI: Replace SMART_ACTION_SEND_GO_CUSTOM_ANIM with GameObjectActions
Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfca163598b604ac8afe76efa6a3062c8fc087d)
2022-05-30 14:18:50 -04:00
hondacrx ae6c864107 Core/Auras: Properly clean up partial charm applications
Port From (https://github.com/TrinityCore/TrinityCore/commit/57d9d16442677201bc7c27729e3f167830b2e495)
2022-05-30 14:15:00 -04:00
hondacrx 0cccf91411 Misc fixes 2022-05-30 14:09:03 -04:00
hondacrx 496b1e0c46 Core/Pets: Do not force pets to follow their charmer when possessed by player
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f02596162715b273b1a830425ae783bd00561c9)
2022-05-30 14:08:55 -04:00
hondacrx b1caf2f9fc Core/PacketIO: Fixed ScenarioState packet structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ec461c547dc23dddaadf2a00f10937b2954a511)
2022-05-30 14:05:42 -04:00
hondacrx c804b0fd17 Core/Scenarios: Fix bad criteria evaluation in scenarios
Port From (https://github.com/TrinityCore/TrinityCore/commit/6cd44e6ca8c90194ffd679a9ca9e7f07ecfc2c06)
2022-05-30 14:04:40 -04:00
hondacrx 702e8c0feb Core/Spells: Interrupt spells and auras before sending loot to client
Port From (https://github.com/TrinityCore/TrinityCore/commit/29cf2a61af8fcbda763ae2be2e52ce9e6a834a56)
2022-05-30 14:01:03 -04:00