Commit Graph
2634 Commits
Author SHA1 Message Date
Shauren 36ff703df5 Core/WorldStates: Migrate OutdoorPvP worldstates to new system 2022-07-11 15:49:49 +02:00
Shauren 5dbfaecd5c Core/WorldStates: Migrate battleground worldstates to new system 2022-07-10 18:59:29 +02:00
Shauren 49ad0d2d49 Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time 2022-07-03 23:44:48 +02:00
Shauren 4ac86c13d2 Core/WorldStates: Migrate war mode bonus value worldstates to new system 2022-07-01 15:19:31 +02:00
Shauren cfca26c264 Core/WorldStates: Migrate instance script worldstates to new system 2022-06-30 00:16:41 +02:00
Shauren a161b6cd32 Core/WorldStates: Migrate Tol Barad worldstates to new system 2022-06-27 23:20:24 +02:00
Shauren 70eacebad5 Core/WorldStates: Add area requirements to world states 2022-06-26 21:27:17 +02:00
Shauren 6285033ed5 Core/WorldStates: Migrate Wintergrasp worldstates to new system 2022-06-26 19:16:30 +02:00
Shauren 7029b78cab Core/WorldStates: Migrate conditions and criteria to new worldstate api 2022-06-26 12:18:45 +02:00
Shauren 737d94d7ef Core/World: implement database support for default map and realm wide world states
Co-Authored-By: Shauren <[email protected]>
2022-06-25 22:48:27 +02:00
Shauren bb8a8cbc47 Core/Players: Don't trigger quest objective and criteria updates for gold modifications before quest log and criteria progress are loaded 2022-06-24 21:37:06 +02:00
Смердокрыл 5517208b67 Core/Player: Distinguish between ranged and non-ranged weapons in GetWeaponForAttack (#27992) 2022-06-16 15:58:33 +02:00
Shauren cace414497 Core/Transports: Localized transport objects within each map
Transports no longer move between maps, each map gets a separate copy of the transport object and players are moved between them when transferring to another map
This means they can no longer be globally looked up in HashMapHolder
2022-06-13 20:06:26 +02:00
stoneharry 1046a027f2 Core/Chat: Apply chat flood control to addon messages as well (#26908)
Co-authored-by: Shauren <[email protected]>
(cherry picked from commit 5384fc194f9061bbac314abb66a9bac88aaaf760)
2022-06-10 16:56:23 +02:00
Shauren f820ff178d Core/Transmog: Implemented TransmogIllusionFlags::PlayerConditionGrantsOnLogin and fixed transmog illusion validation when transmogging items 2022-06-09 21:27:02 +02:00
fluxurion 125ada42f6 Core/Transmog: Implemented Transmog Illusions + Spelleffect to unlock them 2022-06-09 21:27:02 +02:00
Shauren d3c4216de8 Core/PacketIO: Updated packet structures to 9.2.5 2022-06-01 23:13:29 +02:00
ModoX cb78ddc63a Core/Player: Fixed phasing issues introduced in aa592e431b
* now it doesn't appear like we'd have gm on all the time anymore

Ref #27985
2022-05-30 14:34:57 +02:00
Shauren 630b60eb0d Core/GameObjects: Transport (type 11) improvements
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-05-25 22:14:32 +02:00
Shauren aa592e431b Core/PacketIO: Implemented CMSG_MOVE_INIT_ACTIVE_MOVER_COMPLETE and ActivePlayerData::TransportServerTime updatefield 2022-05-24 16:28:26 +02:00
Shauren 11cf79b4e5 Core/PacketIO: Don't skip sending BroadcastSummon packets to summoned player 2022-05-15 19:54:27 +02:00
Shauren a12f939070 Core/PacketIO: Implemented SMSG_BROADCAST_SUMMON_CAST and SMSG_BROADCAST_SUMMON_RESPONSE 2022-05-14 20:40:55 +02:00
Shauren 25c0aaa83f Core/Players: Allow teleporting to a specific instance id 2022-05-14 20:40:24 +02:00
Shauren e4f8403d7a Core/Spells: Implemented SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA 2022-05-06 23:12:44 +02:00
tisk 24434c687d Core/Spells: Implemented SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING 2022-05-06 23:01:36 +02:00
Shauren 4bc02e3744 Core/Items: Use correct error message when swapping weapons in combat too quickly 2022-05-06 22:17:16 +02:00
Shauren d800c87137 Core/Misc: Remove implicit conversions from RaceMask class, fixes racemask check failing during loading from db 2022-05-06 18:45:51 +02:00
Shauren 076c63c766 Core/Spells: Implemented SPELL_ATTR5_NOT_AVAILABLE_WHILE_CHARMED 2022-05-02 19:29:51 +02:00
Shauren 738f285432 Core/Spells: Rename SpellAttr5 to use official attribute names
* Implemented SPELL_ATTR8_HASTE_AFFECTS_DURATION
2022-05-02 01:11:38 +02:00
Shauren dda375b986 Core/Spells: Rename SpellAttr2 to use official attribute names
* Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED
* Implemented SPELL_ATTR2_RETAIN_ITEM_CAST
* Implemented SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
* Implemented SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
* Implemented SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
* Implemented SPELL_ATTR2_NO_TARGET_PER_SECOND_COSTS
* Implemented SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
* Implemented SPELL_ATTR1_REQUIRE_ALL_TARGETS
* Implemented SPELL_ATTR2_CHAIN_FROM_CASTER
* Implemented SPELL_ATTR2_NO_ACTIVE_PETS
* Implemented SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
2022-04-28 18:31:26 +02:00
Shauren c88b602a2c Core/Spells: Rename SpellAttr1 to use official attribute names
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
2022-04-25 22:16:56 +02:00
Shauren a31e681944 Core/Spells: Rename SpellAttr0 to use official attribute names 2022-04-24 18:40:10 +02:00
Shauren 5e90f188f8 Core/Corpses: Fixed crash in corpse creation 2022-04-24 14:31:55 +02:00
Shauren 372c84e998 Core/Items: Implemented item effect trigger type 7 (On Looted) 2022-04-22 20:57:05 +02:00
Shauren 52fb467031 Core/Units: Include SPELL_AURA_MOD_FACTION auras when restoring faction (either on aura removal or .gm off) 2022-04-16 12:15:37 +02:00
Shauren d1209a8388 Core/Players: Add player race argument to Player::LearnSkillRewardedSpells 2022-04-16 12:15:37 +02:00
Shauren 342eefcb36 Core/Auras: Remove aura 490 implementation (purpose unknown, needs more spell examples) 2022-04-16 12:15:37 +02:00
Shauren 5558769405 Core/Battlegrounds: Replaced overriding m_team with more fine grained approach 2022-04-16 12:15:37 +02:00
Shauren 798693c0b8 Core/Battlegrounds: Set PLAYER_FLAGS_EX_MERCENARY_MODE for mercenary players 2022-04-16 12:15:37 +02:00
Shauren 84486ded67 Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time 2022-04-16 12:15:37 +02:00
Traesh 87723e32e2 Core/Battlegrounds: Implement mercenary system 2022-04-16 12:15:37 +02:00
Shauren b47185cabf Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag 2022-03-27 18:14:47 +02:00
Shauren 4eba978670 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags 2022-03-26 18:59:44 +01:00
Shauren d6ec0afc78 Core/Vehicles: Add additional logging to track issue #24876
(cherry picked from commit f20b7a10805f2f989e1c44648e1e6ecd9826ef55)
2022-03-22 00:17:09 +01:00
trickerer 6c9bde098b Core/Combat Improve extra attacks handling (#26859)
* Core/Combat Improve extra attacks handling

* Remove unnecessary _lastDamagedTargetGuid check

* Add missing initialization of _lastExtraAttackSpell. Do not use hardcoded spell ids.

* Partially revert 9f90b835019b

(cherry picked from commit 084f8f3ded45150a57eabd3ad117f1152d4d046d)
2022-03-19 22:37:41 +01:00
Mikhail Redko 72a4fccaab Core/Misc: Improvement item durability repair logic. (#26911)
* Core/Misc: Improvement item durability repair logic.

* Move item repair cost calculation logic from Player::DurabilityRepair to Item::CalculateDurabilityRepairCost
* Make item repair cost calculation more congruent with client logic (std::round)
* Do not repair items if player does not have enough money to pay for the repair of all items at once
* Withdrawing money from guild bank only once to avoid spam in the guild bank log and reduce number of transactions in the database

Closes #25937

* Fix build

* Remove unnecessary scope

* Fix visual studio warning and one more check for reliability

(cherry picked from commit 3cef126d0a449219f154a6498d26831f86220dfa)
2022-03-19 16:55:55 +01:00
offl 661a24b7b1 Core/Misc: Rename UNIT_FLAG_TAXI_FLIGHT to UNIT_FLAG_ON_TAXI
Ref #26912

(cherry picked from commit a50ce8755b43b7c3bf98e1e0d8c36411a292f284)
2022-03-15 23:32:27 +01:00
offl c4906ce60b Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-03-15 23:03:26 +01:00
trickerer c783ba38d2 Core/Combat Fix first autoattack being skipped after charging (#26860)
Fixes #25014
Fixes #24626

(cherry picked from commit 8729bec8449d06ce2bcd25c2a176923221bca2dd)
2022-03-13 23:43:50 +01:00
Gildor 62df5e860f Core/Quests: Improve ItemRemovedQuestCheck logic (#26758)
Closes #25603

(cherry picked from commit 621f3f50c2fa2ce098ff13ad12a0bbc772300e2f)
2022-03-11 20:50:33 +01:00