Commit Graph
12874 Commits
Author SHA1 Message Date
Ovahlord 2a50d36e2d fixed nopch build 2021-09-10 13:47:30 +02:00
Ovahlord 208e0b35f6 Core/Packets: converted CMSG_TRANSMOGRIFY_ITEMS to packet class 2021-09-10 13:40:06 +02:00
Ovahlord 532b489ffa Core/Packets: 413a94f4b0 followup. No longer inline initialize optional members in VendorItem struct 2021-09-10 10:24:58 +02:00
Ovahlord 413a94f4b0 Core/Packets: reduce size of vendor inventory packets by not sending extended cost Ids when there is none being used 2021-09-10 10:17:12 +02:00
Ovahlord d8753ef5d7 Core/Vendors: allow players to interact with vendors that do not have any items to sell 2021-09-10 10:04:14 +02:00
Ovahlord 60c68dacca Core/Spells: moved avoidance bonus handling to Unit::SpellDamageBonusTaken as it does affect all area attacks instead of periodic auras only 2021-09-01 21:26:12 +02:00
Ovahlord 3506dae653 Core/Spells: ported PROC_FLAG_ENTER_COMBAT implementation from master branch and handle the Worgen transformation via its proc aura 2021-08-30 19:24:36 +02:00
UltraNix 50d0bf915e Core/Maps: initialize vmapZ offset in Map::GetAreaId with the given z offset to retrieve the correct area Id with spawning things inside of WMOs that have their own area data 2021-08-30 17:34:49 +02:00
Ovahlord 7ac3d6fca9 Core/Players: Worgen will now transform into their altered form at engage instead of at dealing or taking damage 2021-08-29 18:36:33 +02:00
Ovahlord a5caf1af95 Core/Units: removed now unused attacker argument from Unit::GetUnitCriticalChanceTaken 2021-08-29 02:13:16 +02:00
Ovahlord fd815dfe33 Core/Units: remove an incorrect check for SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER from Unit::GetUnitCriticalChanceTaken as that aura is only being involved for increasing crit chance values for spells with a class mask value 2021-08-29 01:52:39 +02:00
Ovahlord 4c6cfee2dd Core/Units: normalize melee damage while in bear or cat form 2021-08-29 00:19:06 +02:00
Ovahlord 9616582b05 Core/Spells: load BonusCoefficient into SpellInfo and use it for Goblin's Rocket Barrage Racial spell damage calculation 2021-08-28 15:01:28 +02:00
Ovahlord 5ed7516280 Core/Transports: fixed a logic mistake introduced in be614ded97 2021-08-19 06:20:05 +02:00
Ovahlord be614ded97 Core/Misc: fixed issues reported by pvs studio
closes #281
2021-08-18 21:11:20 +02:00
Ovahlord 8186f9d450 make CI happy 2021-08-17 15:38:13 +02:00
Ovahlord da5564fa47 Core/Packets: converted SMSG_CLEAR_COOLDOWN and SMSG_CLEAR_COOLDOWNS to packet class 2021-08-16 11:02:22 +02:00
Ovahlord 8ac7e71690 Core/Spells: implement summon properties parameter types based on the leaked enumerated strings values
Summon spells can now be commanded to interpret their basepoints depending on the parameter type that has been assigned to the summon properties dbc record Id

* implemented SummonCreatureExtraArgs to reduce the amount of arguments in Map::SummonCreature
2021-08-15 10:35:02 +02:00
Ovahlord c927ca98ba Core/Spells: allow knockback spell effects to use negative misc values as well for forward knockbacks 2021-08-15 07:07:37 +02:00
Ovahlord 280dd50af4 Core/Quests: also check previous quests when checking exclusive groups to allow chaining one quest group into another 2021-08-01 15:13:34 +02:00
Ovahlord e03b2f41bf Core/Guilds: implement weekly bonus money packet field in guild bank queries 2021-07-29 18:45:49 +02:00
Gildor a91f7a3ef3 Core/Quest: When removing an item required for a quest, update every quest in the quest log instead of stopping at the first objective that matches the removed item. (#26760)
Closes #25662
Closes #10586
2021-07-29 17:31:54 +02:00
Gildor 1466176aef Core/Quests: Improve ItemRemovedQuestCheck logic (#26758)
Closes #25603
2021-07-29 17:31:23 +02:00
Ovahlord c58d2752d3 Core/Creatures: fixed build and clamp the damage pct limit instead of blindy relying on arguments 2021-07-26 15:57:29 +02:00
Ovahlord 0dfa919f09 Core/Creatures: optimized sparring checks by handling them via variable instead of map lookups and expose its value to helpers to allow manipulation during runtime 2021-07-26 15:48:16 +02:00
Ovahlord ae13da2159 fixed build 2021-07-25 15:03:43 +02:00
Ovahlord 7648eff6db Core/Quests: check if a player can take the next quest provided by its query data before trying to request its details 2021-07-25 14:57:41 +02:00
funjoker a36e52e587 Core/DB: Use correct Get function 2021-07-24 01:25:07 +02:00
Ovahlord 9c55fc66ac Core/Packets: added some missing bit flushing to trade status packets 2021-07-23 20:32:42 +02:00
Ovahlord 7bd1afe406 Core/Units: corrected check for SPELL_ATTR7_CANT_MISS in Unit::MagicSpellHitResult
thx to @Jildor for the headsup
2021-07-23 19:44:14 +02:00
Ovahlord b236bd39df Core/Movement: updated smartAI waypoint support to use the new smooth transition field as well 2021-07-16 16:56:47 +02:00
Ovahlord b7ab244e79 Core/Packets: converted all remaining trade packets to packet class 2021-07-13 15:56:31 +02:00
funjoker 11e3cfd66d Add missing include 2021-07-13 12:27:15 +02:00
Ovahlord 81098f738f fixed nopch build 2021-07-12 09:01:53 +02:00
Ovahlord 1a5c06b61a Core/Packets: several updates to trading
* converted CMSG_INITIATE_TRADE, SMSG_TRADE_STATUS, SMSG_TRADE_UPDATED and CMSG_ACCEPT_TRADE to packet class
* fixed enchanting items via trade
* handle unknown fields in SMSG_TRADE_UPDATED
2021-07-11 23:48:50 +02:00
Ovahlord c2279d6f60 fixed nopch build 2021-07-10 20:42:04 +02:00
Ovahlord aef0d5c5dc Core/Packets:
* converted CMSG_REQUEST_HONOR_STATS and SMSG_INSPECT_HONOR_STATS to packet class
* enabled and added handlers for CMSG_REQUEST_INSPECT_RATED_BG_STATS and SMSG_INSPECT_RATED_BG_STATS
2021-07-10 19:55:04 +02:00
Ovahlord bd3ca6e98a Core/Movement: fixed waypoint movement ignoring pause timers and interaction pause time 2021-07-08 00:41:54 +02:00
Ovahlord e2237624f6 Core/Movement: no longer store negative delays for smooth transition times and let the waypoint movement generator decide when to transition when allowed via new boolean value 2021-07-07 23:42:51 +02:00
Ovahlord 4c670bce9a Core/Movement: correctly initialize orientation values when loading script waypoints 2021-07-07 09:41:22 +02:00
jackpoz 5a08b65cef Core/Maps: fixed a floating point issue when retrieving minHeight values from GridMap 2021-07-06 20:51:19 +02:00
Ovahlord dbada5fcb4 fixed build² 2021-07-06 18:14:49 +02:00
Ovahlord 5614db5976 fixed build 2021-07-06 17:59:03 +02:00
Ovahlord e8c7982362 Core/Packets: updated CMSG_UPDATE_MISSILE_TRAJECTORY to packet class and updated structure to 4.3.4
closes #268
2021-07-06 17:49:56 +02:00
Ovahlord 6510b2b034 Core/Spells: fixed a cherrypick typo in checking for affecting spellmods 2021-07-06 10:55:05 +02:00
Giacomo Pozzoni d83cd33bd4 Core/Pools: Fix pools with 1 member never spawning anything anymore (#26620)
* Core/Pools: Fix pools with 1 member never spawning anything anymore

Attempts to fix a 6 years old bug and never fixed by the original author.

* Remove respawn times from db once a respawn has been handled

* Allow to specify if Despawn1Object() should save or not the respawn time. We don't need to do that when respawning an object.

* Apply the same fix to GameObjects too
# Conflicts:
#	src/server/game/Pools/PoolMgr.h
2021-06-27 06:33:19 +02:00
funjoker b64983d753 Fix build after cherry-pick 2021-06-26 01:07:04 +02:00
AlιAѕѕaѕѕιN 338c1e28ae [3.3.5] Fix spell_area not checking for zoneID for quests (#23719)
* Fix spell_area not checking for zoneID for quests

* Addendum to bdffe0a4a641414fe26c9b75b00f8e70ff0f1cb8

* Fix spell_area handle same spell with the same quests

Also fix not checking for quest_end at all.

* Addendum to 2d6b0545e3762b3a25005726d4093cf4a7945a8d

* Better commenting for 7a50189de3104f000d8b31fa6c415bb69cf1a3e7

* Addendum to 2d6b0545e3762b3a25005726d4093cf4a7945a8d

(cherry picked from commit 92d83c3c2eaba3f5b58dc98472318872f3a54706)
2021-06-26 00:58:18 +02:00
funjoker a7b20bc156 Revert "Core/Misc: Fix zonewide spell_area not being updated on quest update"
This reverts commit 107fbf5aa2.
2021-06-26 00:54:25 +02:00
funjoker 107fbf5aa2 Core/Misc: Fix zonewide spell_area not being updated on quest update 2021-06-26 00:47:02 +02:00