Commit Graph

36836 Commits

Author SHA1 Message Date
Ovahlord
fcce0355d5 Core/Spells: cleaned Earth Shield's spell script up 2021-02-27 13:50:00 +01:00
Ovahlord
ba26ff03ba fixed another warning 2021-02-27 13:49:28 +01:00
Ovahlord
483238f707 fixed build 2021-02-27 12:46:13 +01:00
Ovahlord
6e3539df30 Core/Spells:
* corrected implementation of SPELL_AURA_MOD_SPELL_POWER_PCT
* ported implementation of SPELL_AURA_OVERRIDE_SPELL_POWER_BY_AP_PCT from master branch
* dropped some deprecated class script handlings and moved Nourish 20% healing bonus to spell script
2021-02-27 12:37:14 +01:00
Ovahlord
94fcd70702 DB: fixed another typo in character database base sql file 2021-02-27 11:00:33 +01:00
Ovahlord
aae9aadb2c DB: fixed character database base sql structure 2021-02-27 10:37:41 +01:00
Ovahlord
14cf32da88 Core/Spells: minor cleanup for ad175f11f6 2021-02-27 00:17:01 +01:00
Ovahlord
ad175f11f6 Core/Spells: renamed SPELL_AURA_MOD_HEALING_FROM_TARGET_HEALTH to SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH and make its implementation look a bit prettier 2021-02-26 23:33:56 +01:00
Ovahlord
ffc05d0bf1 Core/Spells: implement helper to filter mechanic immunities in packets to reflect sniff behavior and removed pct heal effects from heal prediction
Despite being able to send all mechanic immunities in spell_start and channel_start, sniffs confirm that only relevant immunities are being sent which in most cases are silence and interrupt immunities. Further sniff analysis may reveal even more possible interrupt flags
2021-02-26 11:30:44 +01:00
Ovahlord
2439a741ff Scripts/SFK: fixed logic in applying interrupt immunities when Baron Ashbury finishes one of his abilities 2021-02-25 20:50:34 +01:00
Ovahlord
191fabe085 DB/BoT: make Antechamber trash npcs immune to charm and make Twilight Soul Blade immune to all kinds of crowd control mechanics 2021-02-25 16:48:07 +01:00
Ovahlord
d818a7030c Scripts/BoT: scripted trash npcs in the Bastion Antechamber 2021-02-25 16:32:07 +01:00
Ovahlord
b875d77dc8 Core/SAI: refactored SMART_EVENT_FRIENDLY_HEALTH_PCT to reflect the behavior of SMART_EVENT_FRIENDLY_HEALTH
* added radius event parameter to limit the search range of the executing creature
* moved the pct check to a macro and corrected the selection logic to support all target types
2021-02-25 15:40:05 +01:00
Ovahlord
b0101ecb67 Scripts/Quest:
* fixed a typo that was preventing Paladins from receiving kill credits for practicing Judgement on training dummys
* added spell script to Wounded spell for wounded healing targets and fixed quest 'Healing the Wounded' in Northshire
2021-02-25 13:30:16 +01:00
Shauren
db683078a7 Core/Auras: Improve PROC_ATTR_USE_STACKS_FOR_CHARGES implementation to give stacks priority over charges if both are present in spell data 2021-02-24 23:09:57 +01:00
Ovahlord
fc221344fb Core/PacketIO: Fixed building SMSG_PARTY_MEMBER_STATE for multiple receivers 2021-02-24 23:04:36 +01:00
Ovahlord
97686dc287 Core/Packets: corrected more field sending based on sniff research and backported a logic change from pre-conversion 2021-02-24 21:07:07 +01:00
Ovahlord
18a014e4eb Scripts/TotFW: Al'akir's Lightning will now hit a single player only 2021-02-24 19:17:40 +01:00
Ovahlord
3cb0a99019 Core/Movement: expose orientation, velocity and delay members to SmartAI waypoints as well
superceeds #200
2021-02-24 16:22:36 +01:00
Warpten
ad42e7fbe8 Core/Groups: use different variable for iterating over spell effects when initializing party member auras (#239) 2021-02-24 05:43:59 +01:00
Ovahlord
e4ff74dcd5 Scripts/HoO: Brann will now shut up about the locked Vault of Lights door when a player tries to trigger his intro texts in front of the locked door while the event has already been started/completed 2021-02-23 22:35:32 +01:00
Warpten
2fb9e0da8c Core/Spells: Add missing member initialization. (#238) 2021-02-23 22:01:35 +01:00
Ovahlord
6c1dc2d56b Scripts/HoO: properly implement the Vault of Lights gauntlet event 2021-02-23 21:59:48 +01:00
Ovahlord
f70bd515f3 Scripts/HoO: scripted all trash groups in Tomb of the Earthrager 2021-02-22 14:05:07 +01:00
Giacomo Pozzoni
c12531b023 Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z 2021-02-21 20:26:21 +01:00
Metalaka
4343dd6d55 Core/Unit: Improve Glancing Blow calculation 2021-02-21 20:22:03 +01:00
Giacomo Pozzoni
48a0dde345 Core/Creature: Add new db field InteractionPauseTimer
Add new db field InteractionPauseTimer to allow to define different interaction pause timers for each creature (the previous system was a global setting in worldserver.conf Creature.MovingStopTimeForPlayer)

Set all columns in creature_template_movement as optional (can be NULL, default NULL). Fill only the columns that should override the default C++ value
2021-02-21 16:50:55 +01:00
Ovahlord
42f3e722f6 Core/Spells: fixed a typo that caused Divine Aegis to absorb 0 damage in all cases and corrected proc behavior 2021-02-21 11:23:17 +01:00
Ovahlord
768704187c Scripts/TotFW: fixed an edge case in which Rohash wouldn't cast his Storm Shield on heroic difficulty when his energy went above 30 between the checks 2021-02-20 23:47:35 +01:00
Ovahlord
7b0e15d149 Core/Spells: fixed calculating additional aura duration for haste based periodic spells 2021-02-20 23:31:43 +01:00
Ovahlord
43d76be2fd fixed a warning 2021-02-20 23:30:46 +01:00
Ovahlord
ca288aaab3 Core/Units: updated crit healing bonus calculation with patch 4.2.0 change 2021-02-20 23:13:45 +01:00
Ovahlord
c288745598 Revert "Core/Unit: Improve Glancing Blow calculation"
This reverts commit 3d2013e168.
2021-02-20 19:11:30 +01:00
Ovahlord
cf2267af3f Core/Packets: correct sending party member auras to other clients 2021-02-20 13:49:41 +01:00
Ovahlord
2e8a2c5abb DB/Spells: armor specialization spells and control pet/demon spells will now correctly award their passive spell accordingly 2021-02-19 21:48:14 +01:00
psychobilli
d33f23bdab DB/Trainers: added missing trainer data for most profession and class trainers 2021-02-19 21:12:44 +01:00
Metalaka
3d2013e168 Core/Unit: Improve Glancing Blow calculation 2021-02-19 18:47:47 +01:00
Ovahlord
bcf9476e96 Core/Spells: restored accidentally dropped spell cast target limit to fix client crashes when hitting more than 255 targets with a single spell 2021-02-19 18:31:45 +01:00
Ovahlord
3d20971d01 Core/Spells: Seal of Insight will no longer proc on AOE attacks and updated proc data for Cataclysm instead of MoP 2021-02-19 17:51:07 +01:00
Ovahlord
f59392d609 fixed nopch build under visual studio 2021-02-19 17:48:26 +01:00
Ovahlord
aa21290b97 fixed build 2021-02-19 16:19:24 +01:00
Ovahlord
20a4997806 fixed an error 2021-02-19 15:37:57 +01:00
Shauren
fbffbbbe14 Dep: Switch to boost process instead of old standalone version 2021-02-19 15:21:15 +01:00
Ovahlord
0299fa4fe1 Core/Misc: replace boost::optional with std::optional 2021-02-19 14:07:43 +01:00
Ovahlord
44de269fca fixed build errors caused by recent cherry picks 2021-02-19 13:31:04 +01:00
Shauren
ef25a19326 Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Closes #24562
2021-02-19 13:15:08 +01:00
Matan Shukry
73efb99005 Core/Conditions: CONDITION_NEAR_CREATURE will exclude personal spawns that aren't the target's owner (#26102)
# Conflicts:
#	src/server/game/Grids/Notifiers/GridNotifiers.h
2021-02-19 13:04:08 +01:00
Matan Shukry
abae5e4596 Core/Spells: Implemented summoning a personal gameobject effect (#25917)
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/GameObject/GameObject.h
#	src/server/game/Miscellaneous/SharedDefines.h
#	src/server/game/Spells/SpellInfo.cpp
2021-02-19 13:01:10 +01:00
Ovahlord
63f2dcd05e Core/Spells: dropped Fingers of Frost charge drop spell script and use the new proc attribute instead. 2021-02-19 12:56:01 +01:00
Shauren
c667fe3028 Core/Auras: Do not warn about nonexisting proc spells when spell id is 0 and aura is a dummy 2021-02-19 12:52:24 +01:00