Commit Graph
5325 Commits
Author SHA1 Message Date
ariel- af98e8516c Core/Auras: reworked multiplicative AuraEffects calculation 2021-11-28 12:14:05 +01:00
Ovahlord 27d9726dc3 Core/Units: no longer send collision height change packets when a player has not been added to the world yet 2021-11-22 14:15:38 +01:00
Ovahlord 373a296b8d Core/Units: removed deprecated fake attacker state update from the core 2021-11-17 17:18:05 +01:00
Ovahlord 7840a8f529 Core/Spells: implemented SpellAuraInterruptFlags2::AbandonVehicle and removed unused definitions which have not been used in Cataclysm yet 2021-11-17 17:02:06 +01:00
Ovahlord 6dedecfeac Core/Spells: implement SpellAuraInterruptFlags2::ChangeSpec 2021-11-17 16:54:11 +01:00
Seyden 4c870d1e88 Core/Auras: Implement SpellAuraInterruptFlags2::Ground and SpellAuraInterruptFlags2::Swimming (#27193)
# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2021-11-17 16:30:51 +01:00
Ovahlord 631b499414 Core/Movement: updated collision height packet handling to ack handling 2021-11-16 07:11:00 +01:00
Ovahlord 4b56a7b9a3 Core/Movement: converted SMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY and SMSG_MOVE_UNSET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY to new ack handling 2021-11-12 19:29:00 +01:00
Ovahlord 2c70d98449 warning fix² 2021-11-11 17:59:45 +01:00
Ovahlord c220644db1 warning fix 2021-11-10 16:56:54 +01:00
Ovahlord 5ca475a764 Core/Movement: split SetCanFly for player and creature class and handle their part accordingly 2021-11-10 13:53:14 +01:00
Ovahlord fbc1b8565a fixed build 2021-11-10 13:33:17 +01:00
Ovahlord a689446e56 Core/Units: disarmed another overzealous assert 2021-11-10 13:30:46 +01:00
Ovahlord df38c26f92 Core/Units: re-added a few capability fixups that got removed in 0a7dfc15e2 and allow auras to send their amount values when changing amount via RecalculateAmount 2021-11-10 13:16:25 +01:00
Ovahlord 56813fd186 Core/Movement: refactored pending movement change queue to be a unordered map instead so we no longer ARE overzealous with kicks when counters or ack receiving order mismatches 2021-11-10 12:19:00 +01:00
Ovahlord 0a7dfc15e2 Core/Movement: ported mount capability updating from master branch and replaced old implementation with it 2021-11-09 18:13:23 +01:00
Ovahlord 3d8762297c Core/Movement: converted CanFly and DisableGravity ack handling to new system 2021-11-08 22:23:54 +01:00
Ovahlord 9faf867f34 Core/Movement: ported movement speed change acknowledge packet handling from 335 branch 2021-11-08 12:44:49 +01:00
Ovahlord edbbeba5a2 Core/Movement: ported client control logic updates from 335 branch 2021-11-06 23:41:34 +01:00
Seyden f5342061ba Core/Movement: no longer randomize knockback directions 2021-11-06 20:06:02 +01:00
Ovahlord 7a602d4b44 Core/Creatures: apply database defined movementflags on (re)spawn and on reaching home only
This allows manipulating movementflags without having to block everything via CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE
Yo @keader that flag is your fuckery. gimme feedback
2021-10-31 10:52:45 +01:00
Ovahlord 217299beed Core/Creatures: improved movement flag updating for creatures by taking db values more serious 2021-10-30 22:12:01 +02:00
Ovahlord d3da33dff0 Core/Creatures: store the original entry of a creature instead of the current one as creatures may change their entry during runtime 2021-10-30 15:41:47 +02:00
Ovahlord 9ee2af2312 Core/Players: update mount capabilities when being added to the map 2021-10-30 15:40:58 +02:00
Ovahlord f694f0409f Core/Units: defined UNIT_FLAG2_DISABLE_UNIT_FRAME 2021-10-30 15:40:13 +02:00
Ovahlord b10f962ba3 Core/Creatures: several cleanups and improvements to spell focusing to reduce edge case issues 2021-10-21 13:18:24 +02:00
Ovahlord 1d5bbfc144 Core/Creatures: implement a helper to reset spell focus reacquisition 2021-10-21 10:52:08 +02:00
Lucas Nascimento 22fecb6d1b Entities/Unit: Fixed wrong combat stop when remove charm (#27038) 2021-10-20 18:52:12 +02:00
Ovahlord 069684ffa5 Core/Spells: SPELL_AURA_MOD_CASTING_SPEED_NOT_STACK will no longer affect spell haste when its amount is too extreme to fix several exploits with instant cast auras causing haste affected dots and hots dealing insane amounts of damage 2021-09-19 14:33:02 +02:00
Ovahlord 949f92e0a1 Core/AI: ported charm updates from 335 2021-09-16 16:48:07 +02:00
Ovahlord b03fe81f68 Revert "Core/Spells: no longer round PPM chance calculation results and stay more faithful to the original formula"
This reverts commit 1b91ed5424.
2021-09-11 18:16:18 +02:00
Ovahlord 1b91ed5424 Core/Spells: no longer round PPM chance calculation results and stay more faithful to the original formula 2021-09-11 17:13:03 +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
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 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
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