Commit Graph

36857 Commits

Author SHA1 Message Date
Ovahlord
d4f71131f0 Core/DBLayer: escape MySQL keywords in page_text, page_text_locale, broadcast_text and broadcast_text_locale select queries 2021-03-11 11:46:29 +01:00
Ovahlord
49a8111b25 Contrib/Docker: added missing 4.x specific outputs and fixed pch build 2021-03-11 11:30:39 +01:00
Giacomo Pozzoni
3cc50b98a6 CI/CircleCI: Expose binaries built on Circle CI as docker images in the Circle CI artifacts 2021-03-11 10:53:51 +01:00
Shauren
b9c72c3c7f Dep/Boost: Support for boost 1.74 2021-03-11 10:37:55 +01:00
Ovahlord
947b56f0fc Core/PacketIO: more fixups for party member state auras to ensure that the packet wont become malformed when having less applied auras than auras that need to be updated 2021-03-09 17:23:14 +01:00
Ovahlord
793e459d60 Core/Packets: send empty auras for party member stated when the aura slot has been marked as changed but no visible aura is found anymore 2021-03-09 10:22:05 +01:00
Warpten
8eb72a6d27 Core/Achievements: Fix handling of ACHIEVEMENT_CRITERIA_COMPLETE_QUEST (27) with quantity higher than 1. (#242) 2021-03-08 23:31:31 +01:00
Ovahlord
6f8bcf8108 DB/Westfall: added phasing entry and condition for phase 226 and added missing quest id for the burning skybox aura for Sentinel Hill
* moved Embers to the correct phase
2021-03-08 23:29:18 +01:00
Ovahlord
3d0a16043b DB/Creatures: fixed flight movement for several creatures in the Blasted Lands 2021-03-08 22:51:51 +01:00
Ovahlord
fe7816bb71 Core/Spells: fixed sending cooldown data in SMSG_SEND_KNOWN_SPELLS 2021-03-08 21:59:55 +01:00
Ovahlord
e34c38cef4 Core/Units: Focus will now benefit from power regen mods as well 2021-03-08 20:27:02 +01:00
Ovahlord
a52bc1798c Core/Spells: fixed Hunter's Sic 'Em talent 2021-03-08 20:26:22 +01:00
Ovahlord
5e765d287e DB/Westfall: various fixups for Sentinel Hill
* added missing phasing to phase 226 npcs
* added missing AI anim kit to Ripsnarl
* added pathing to two npcs
* added missing spawns for two phase 226 protectors and Horatio Lane and Stormwind Investigators
2021-03-01 00:05:36 +01:00
Ovahlord
218dff6847 Core/Units: further improvements for 7a08639397
Fixed an edge case in which units with SPELL_AURA_MOD_DAMAGE_FROM_MANA would deal zero damage when their total bonus or scaling coefficient would be zero
2021-02-28 17:24:04 +01:00
Ovahlord
7a08639397 Core/Units: fixed a typo that was causing units without mana to deal no spell damage anymore 2021-02-28 16:59:12 +01:00
Ovahlord
6b0f11d6b9 Core/Creatures: always fall back to base creature data when selecting display IDs for difficulty entries
Some sniffed query packets contain display IDs for difficulty entries that are completely wrong so we are safe to assume that we always fall back to the display of the original creature ID instead of the one of the difficulty entry
2021-02-28 16:27:05 +01:00
Ovahlord
288f772b70 DB/TotT: nuked a bunch of script related cosmetic spawns that should get spawned via events and removed a few leftovers that survived the last cleanup 2021-02-28 14:46:36 +01:00
Ovahlord
266cc93321 Scripts/TotT: scripted mini-event at Ozumat's wing 2021-02-28 14:29:42 +01:00
Ovahlord
2711267480 Core/Spells:
* handle PLAYER_FIELD_MOD_HEALING_DONE_PCT in SPELL_AURA_MOD_HEALING_DONE_PERCENT
* handle PLAYER_FIELD_MOD_HEALING_PCT in SPELL_AURA_MOD_HEALING_PCT
2021-02-27 19:07:39 +01:00
Ovahlord
cd1de5078d Core/Spells: improve implementation of SPELL_AURA_MOD_DAMAGE_FROM_MANA 2021-02-27 16:05:38 +01:00
Ovahlord
887e7ab742 DB: fixed more layout issues in character database base sql 2021-02-27 15:29:33 +01:00
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