Commit Graph
7167 Commits
Author SHA1 Message Date
Ovahlord 8c525e34da Scripts/Uldum: fixed quest 'Under the Choking Sands' 2022-12-18 12:17:37 +01:00
Ovahlord 2b1a002141 Scripts/Uldum:
* handled Draining Venom mechanic for Venomblood Scorpids
* added missing mounts to Wasteland Outriders and Warlord Ihsenn
* drop Relics of the Sun King only when the according quest is active
2022-12-15 20:43:53 +01:00
Ovahlord 554eb584b0 Core/Packets: updated internals for currency handling
* converted SMSG_SET_CURRENCY to packet class
* greatly simplified ModifyCurrency method
* handle CMSG_SET_CURRENCY_FLAGS packet
* fixed sending currency flags upon login. This fixes displaying them in the bagpack
* .modify currency is no longer affected by SPELL_AURA_MOD_CURRENCY_GAIN and can now bypass weekly limits
* defined all currency type flags
2022-12-05 10:10:45 +01:00
Ovahlord bfaff7106b Scripts/BRC: update Raz' home position upon engaging enemies to avoid him climbing back to his pre-leap positions if the escort did not start yet 2022-12-04 09:23:15 +01:00
Ovahlord f17caff7a0 Scripts/BRC: fixed up Raz's Furious Swipe mechanic and ensure that his Aggro Nearby Target targets engage him upon hit 2022-12-04 09:12:35 +01:00
Ovahlord ed19b938b9 Core/Spells: fixed console spam caused by Nether Dragon Essence' invalid trigger spell effect data 2022-12-04 08:50:07 +01:00
Ovahlord 3a451a3519 Core/Spells: fixed Glyph of Fear and Glyph of Psychic Scream
closes #385
closes #217
2022-11-26 14:04:55 +01:00
Ovahlord 3a401564c2 nopch fix 2022-11-22 21:49:26 +01:00
Ovahlord 3f74cce74d Scripts/Halls of Lightning: reworked General Bjarngrim encounter 2022-11-21 21:34:30 +01:00
Ovahlord cbf43d855b Scripts/ZG: fixed up the Chain Breaking mechanic in Jindo's encounter 2022-11-19 11:39:47 +01:00
Ovahlord 22d976002d Core/Spells: reworked Ignite DoT calculation
* each crit will now increase an existing Ignite DoT effect's damage for two ticks. If the two ticks have expired, the damage will be removed. This means if a 2nd crit is being stacked after the Ignite DoT has ticked for the first time, it will only deal combined damage on the next tick
2022-11-12 17:42:13 +01:00
Ovahlord 86e5c189a4 Core/Spells: greatly simplified Combustion's calculation and properly use its provided spellInfo data to determine eligible spells 2022-11-11 21:09:55 +01:00
Ovahlord 0166f84a1b Core/Spells: replaced SPELLVALUE_AURA_DURATION implementation with master's SPELLVALUE_DURATION version 2022-10-16 11:20:51 +02:00
Ovahlord 6989797014 buildfix 2022-10-15 18:37:10 +02:00
Ovahlord 58ef34a9c4 Scripts/Hillsbrad Foothills: improved Brazie's vehicle player getter and added some pointer checks for stability 2022-10-15 18:29:27 +02:00
Ovahlord 8fc4b59c6f Scripts/Vortex Pinnacle: fixed console spam caused by faulty spellInfo data for Howling Gale 2022-10-09 14:39:58 +02:00
Ovahlord 17818eb01f buildfix 2022-10-09 14:34:37 +02:00
Shauren 0a5de93e82 Core/WorldStates: Allow setting "hidden" field of SMSG_UPDATE_WORLD_STATE 2022-10-09 14:01:46 +02:00
Shauren 12b60099f8 Core/WorldStates: Migrate instance script worldstates to new system 2022-10-09 13:45:38 +02:00
Shauren fe7e42b0b8 Core/WorldStates: Migrate Tol Barad worldstates to new system 2022-10-09 13:11:33 +02:00
Shauren 8a98cc0205 Core/WorldStates: Migrate Wintergrasp worldstates to new system 2022-10-09 01:15:02 +02:00
Carbenium 46738404b5 Core/Battlefield: Move SendInitWorldStatesTo to Battlefield class 2022-10-09 00:45:58 +02:00
Carbenium 2a71d4f741 Scripts/Battlefield: Move npc_wg_give_promotion_credit script to BattlefieldWG
The script references BattlefieldWG, which is not exported in dynamic builds.
Move the script, so it is in the same library.
2022-10-09 00:43:35 +02:00
Carbenium 0ef220fca0 Battlefields: Move BF scripts out of game
This commit introduces the usual script interface
for battlefields.
2022-10-09 00:35:07 +02:00
Carbenium d5f7d7b754 Core/Misc: Move WorldState enum to SharedDefines
Move WG battlefield world states to the global enum
2022-10-09 00:03:42 +02:00
Ovahlord 2521489e2b Core/World: adapted Master branch version of world state handling 2022-10-08 23:13:06 +02:00
Shauren 0ba58aeb6e Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-10-08 00:25:32 +02:00
Shauren 21e9854686 Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums 2022-10-07 22:16:46 +02:00
Shauren 0ca955897f Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db 2022-10-04 12:42:10 +02:00
Ovahlord ca677544ef Scripts/Grim Batol: use a direct DespawnOrUnsummon call instead of corpse delay for Drahga's Invoked Flaming Spirits 2022-10-03 20:56:36 +02:00
Ovahlord 1e4b062b1d buildfix 2022-10-02 19:31:03 +02:00
Ovahlord 2ad8b1ee6f Core/Spells: detached Zanzili Fire from Zanzil's AI script to be usable by Dark Simulacrum 2022-10-02 19:15:07 +02:00
Ovahlord 78a6d84689 Core/Spells: fixed Dark Simulacrum 2022-10-02 17:59:06 +02:00
Ovahlord ba0310ee97 nopch fix 2022-10-01 23:55:47 +02:00
Ovahlord ed027ffea9 Core/Spells: re-fix Nature's Bounty 2022-10-01 22:45:46 +02:00
Ovahlord b6f8a68d61 Core/Spells: fixed duration clamping for haste based periodic auras and added support for rolling any tick over
* roll over remaining time until next tick over into a refreshed periodic aura's duration
* this behavior is now being used for stackable spells, all HoTs and DoTs
* fixed adding extra ticks when at certain tick thresholds
* corrected implementation of SPELL_ATTR8_HASTE_AFFECTS_DURATION
* implemented SPELL_ATTR8_MELEE_HASTE_AFFECTS_PERIODIC
2022-10-01 13:47:14 +02:00
Shauren 75906f3d06 Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1 2022-09-30 01:57:52 +02:00
Ovahlord 62b8db9f6e Core/Spells: cleaned up SpellAuraEffects::SetAmount helper and restore original handing of sending amounts 2022-09-30 00:40:37 +02:00
Ovahlord 3d62f2b44c Scripts/HoL: modernized Loken's script 2022-09-23 14:12:32 +02:00
Ovahlord 0899376714 Scripts/HoL: handle Volkhan's slay texts 2022-09-23 12:41:39 +02:00
Ovahlord 03715278bc Scripts/HoL: sync code with 335 PR 2022-09-23 12:17:25 +02:00
Ovahlord 26b5ec2770 build fix 2022-09-23 10:01:11 +02:00
Ovahlord 581b293164 Scripts/HoL: modernized object accessor data 2022-09-22 22:24:00 +02:00
Ovahlord 58a7357996 buildfix 2022-09-22 21:52:00 +02:00
Ovahlord 147a5e88d9 Scripts/HoL: reworked Volkhan encounter
* handle missing visuals
* modernized code
2022-09-22 21:47:00 +02:00
Ovahlord c6711adf8b Core/AI: ported SpellHit and SpellHitTarget refactor from 335 branch 2022-09-22 10:33:13 +02:00
Ovahlord bec87f7531 Scripts/Gilneas: fixed the gilnean crow AI not reacting to activating the traps 2022-09-17 12:03:15 +02:00
Ovahlord ef3632109d Core/Spells: ported SpellModOp definitions from master branch 2022-09-17 11:56:54 +02:00
Ovahlord 3203f04ac1 Scripts/HoO: fixed a crash in Temple Guardian Anhuur's script due to now supporting gameobject casters 2022-09-14 01:33:37 +02:00
Shauren ea4bc6c02a 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-09-13 14:36:32 +02:00