hondacrx
e6432f8c97
Core/Quests: Quest flag fixups
...
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d4c7e68935df9ca40bd5539d602ac4e779f53d5 )
2023-06-13 08:52:22 -04:00
hondacrx
7d6b5fbe76
Core/Spells: Allow passing SpellDestination to CastSpell to target locations on a transport
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c393a40e2133bdd59d1ff336a467620364bee85 )
2023-06-13 05:25:39 -04:00
hondacrx
4180b6fa3f
Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8cfc8e41418c127aa11ef0bbbdd0f1d6388ab0ae )
2023-06-13 05:24:33 -04:00
hondacrx
48f8d37ccb
Core/Quests: Only launch gossip menu on quest completion when quest has QUEST_FLAGS_LAUNCH_GOSSIP_COMPLETE flag
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e746cb2f28a07520b51a7a258958d9da8237fbf1 )
2023-06-13 05:18:04 -04:00
hondacrx
f5108cbb94
Core/Quests: Fixed quest dialog not closing automatically when there are no other follow-up quests for the quest giver
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/78b3f6309fa2d20fdd8a45a442cef55054b44ac6 )
2023-06-13 05:11:52 -04:00
hondacrx
645c06a460
Core/Auras: Implemented helper function to estimate total damage/healing done by a periodic effect
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3590184c0c31d080609af8e6edd3db33ac4cb8e )
2023-06-13 04:58:09 -04:00
hondacrx
dfdd88a2fc
Core/Quests: Implemented new db table quest_objectives_completion_effect
...
* Turn off automatic phase updates on quest objective completion
* Allow more convenient conversation and spell casts on quest objective completion
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2be8d202823706ad4b29c2dc988c0fe978ae652 )
2023-06-13 04:38:50 -04:00
hondacrx
31ffbf3512
Core/Graveyards: Drop Faction column and replace it with conditions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1df555e1691d788918845f95252358f25e54bb5 )
2023-06-13 04:20:54 -04:00
hondacrx
b7146a011e
Scripts/Spells: Added spell effect validation helper
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8a6a9b01713a5dbe5ed38bd3d1b1c72191cf288 )
2023-06-13 03:59:41 -04:00
hondacrx
71a878c2cf
DB Updates
2023-05-30 08:44:23 -04:00
hondacrx
cf5f53e33f
Core/Spells: Implement SPELL_ATTR10_RESET_COOLDOWN_UPON_ENDING_AN_ENCOUNTER
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4aa4d4b5371af440b9fce2bb0866b90a50750f6 )
2023-05-30 08:18:38 -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
77febfdee5
Core/Spells: Implemented spell target type 142
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3790c1e3dad36727279b22a33eea8e27418c4283 )
2023-05-30 05:18:29 -04:00
hondacrx
11575d6d39
Core/Creatures: Allow summons to be initialized properly when summoner is not in world yet
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7881f0ef5ff79b691a5abb9cd727755f49afba47 )
2023-05-30 05:08:45 -04:00
hondacrx
12fabb103c
Core/Auras: Fixed SPELL_AURA_LINKED_SUMMON summons not despawning when aura is removed from unit being removed from world
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d3e94d8e4351c694611776770b843fb59394b1e )
2023-05-30 05:00:38 -04:00
hondacrx
53df58c31b
Core/Commands: Added .debug playercondition command
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/781ca507dd470087d663fde13df2cfde37a07335 )
2023-05-30 04:59:14 -04:00
hondacrx
509025ba11
Fixes loading server
2023-05-23 09:02:04 -04:00
hondacrx
6ee9e0d039
Core/Spells: Implemented new proc hit type PROC_HIT_DISPEL
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/206369934aecfcac9a49583f3f7e98f0d69ad55b )
2023-05-23 08:45:32 -04:00
hondacrx
ac3402ec4e
Core/Players: Fixed crashes with char enum packet if equipment cache field does not have correct format
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2884612cedb33c12e3a0c30883903efd6d700e0 )
2023-05-23 08:43:03 -04:00
hondacrx
8e5cc1a07b
Core/Players: Respawn alive at graveyard when releasing spirit
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fce1994795bdc87d0c87c7de9fc9f80a4f1b6507 )
2023-05-23 08:18:21 -04:00
hondacrx
cc1180050e
Core/Graveyards: Fix graveyards in subzones when there is no valid graveyard in that subzone
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7ba4e2df84e4ddefb080f71685294c619a8397de )
2023-05-23 08:17:17 -04:00
hondacrx
6f2f65cc27
Core/Creatures: Fixed some creatures having 0 max health (and being unkillable)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f98b71698eca5b136676991026de1d0d212f9fb )
2023-05-23 08:13:25 -04:00
hondacrx
ef250e0400
Core/Areas: Update AreaFlags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01 )
2023-05-23 08:07:33 -04:00
hondacrx
bad751f821
Core/Battlegrounds: Correct distance check in HandleAreaSpiritHealerQueryOpcode and HandleAreaSpiritHealerQueueOpcode.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/83bc908531d827b318d1281fa686aa95a34ab075 )
2023-05-23 06:48:21 -04:00
hondacrx
11bc2411b9
Core/PacketIO: Add missing bit writes
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/06db073eb9900141bce496a36d60548e64bd059c )
2023-05-23 06:27:28 -04:00
hondacrx
dfc3cbfe30
Fix build
2023-05-23 06:26:16 -04:00
hondacrx
89a09b1047
Update some commands to new system
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3260b94dd627b7b0c7114f94bb97d108b005af3e )
2023-05-23 06:25:00 -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
06f99fda8b
Core/Units: Add PowerTypeFlags enum
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8828af2a5e3754e45893e0d62efae86747dfa4f2 )
2023-05-23 05:17:41 -04:00
hondacrx
dc0bf68c6f
Misc fixes
2023-05-21 19:01:22 -04:00
hondacrx
35961a0121
Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/205aba1ff3a6f1ff92a8b26af646fd25f139c697 )
2023-05-21 18:38:55 -04:00
hondacrx
53623d94dc
Core/Auras: Implement SpellAuraInterruptFlags2::Falling
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/145bb98ecbc4bb265d5c33cc2bb8358a639d5e98 )
2023-05-21 17:22:54 -04:00
hondacrx
0cfe1dc508
Core/Auras: Implement SpellAuraInterruptFlags2::WarModeLeave
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2b231c9866db62eaab2a5806f671c7dcf22073a5 )
2023-05-21 17:21:22 -04:00
hondacrx
f670656393
Core/Auras: Implement SpellAuraInterruptFlags2::EndOfEncounter
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/998ee363c5e41141da158ea39c0dae0814967fba )
2023-05-21 17:19:33 -04:00
hondacrx
fd377ebc0d
Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/15135ce16f76d1635fa5606c99822b60bced94bf )
2023-05-21 17:17:00 -04:00
hondacrx
40ff308573
Core/Auras: Implement SpellAuraInterruptFlags2::DuelEnd
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca66da1c97acaff18b318b3e856d54127cb96a6b )
2023-05-21 17:12:53 -04:00
hondacrx
535d068b47
Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fddf06daa4ea69bf4ce28d57797e8f9f8b17f76 )
2023-05-21 17:12:02 -04:00
hondacrx
1ce3844697
Core/Auras: Implement SpellAuraInterruptFlags2::AbandonVehicle
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/513788e884f15ca0d9dd3c0897e6fea87f0a1fff )
2023-05-21 17:11:13 -04:00
hondacrx
ac05760112
Core/Auras: Implement SpellAuraInterruptFlags2::LeaveArenaOrBattleground
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c0ab49673626a74a3a9d6caee92099c6e265bf1 )
2023-05-21 17:10:33 -04:00
hondacrx
12c53d6182
Core/Unit: Named npc flags UNIT_NPC_FLAG_AREA_SPIRIT_HEALER and UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/920b9a99bdd2d7eb9b7a787c4872a38b862f75c8 )
2023-05-21 17:09:28 -04:00
hondacrx
d146ab6568
Core/PacketIO: Fixed CreateObject structure for areatriggers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd8bba63a2a80e60b9a756271abcc866e880c2bc )
2023-05-21 17:06:42 -04:00
hondacrx
0951190623
Core/Spells: Check passive attribute on the final spell that will be cast by CMSG_CAST_SPELL, after taking overriden spells into account
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1e2ad439db6e69ab146655951f730c766b351f9 )
2023-05-21 17:05:13 -04:00
hondacrx
63b8922a9e
Core/PacketIO: Fixed quest query packet structure
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e540d74610e14b8920570e9ece4c2aa47a4be6ed )
2023-05-21 17:04:11 -04:00
hondacrx
d16f24d5c0
Core/Spells: Implemented SPELL_EFFECT_TELEPORT_GRAVEYARD
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdb209fda44eb500a7e8d9a0d4acd048e1ee5eec )
2023-05-21 16:55:47 -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
24b0836710
added some missing code.
2023-05-06 07:21:37 -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
42a902c118
Core/Realms: Remove duplicate realm names storage
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f5e47c396e49da2530aabac05f7ca3c0f177298 )
2023-05-02 17:22:16 -04:00
hondacrx
b92147fb22
Core/PacketIO: Fixed bracket num in SMSG_RATED_PVP_INFO
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e11f5137541c011c384d0cc905ac926c3532863 )
2023-05-02 17:12:21 -04:00
hondacrx
a2e5acbaa5
Scripts/Spells Update Divine Star
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0eada1d7086985b759e10684966e3aefdd7eefe7 )
2023-05-02 16:59:25 -04:00