Ovahlord
befbed16f3
nopch fix
2022-10-09 10:52:14 +02:00
Ovahlord
6fa4c22daf
Core/Misc: fixed more crashes related to the caster dependency removal
2022-10-09 10:45:10 +02:00
Shauren
10823f8fcc
Core/WorldStates: Add area requirements to world states
2022-10-09 01:34:37 +02:00
Shauren
8a98cc0205
Core/WorldStates: Migrate Wintergrasp worldstates to new system
2022-10-09 01:15:02 +02:00
Ovahlord
e15fe3378e
Core/Scripts: fixed loading world state and battlefield scripts
2022-10-09 01:02:22 +02:00
Shauren
3aae23803d
Core/Battlefield: Fixed startup crash when compiled without scripts
...
(cherry picked from commit 1405760f317cfcfed29aca5ab36633863a2d9dc9)
2022-10-09 00:46:17 +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
Carbenium
45e1e8c282
Core/Misc: Create new enum for AreaIds
...
Move Wintergrasp BF related values there
2022-10-08 23:59:21 +02:00
Shauren
6fc90de3b5
Core/WorldStates: Allow multiple map ids for world states
2022-10-08 23:48:04 +02:00
Shauren
0461bdc730
Core/WorldStates: Migrate conditions and criteria to new worldstate api
2022-10-08 23:18:03 +02:00
Ovahlord
2521489e2b
Core/World: adapted Master branch version of world state handling
2022-10-08 23:13:06 +02:00
Ovahlord
6b8314454f
Core/Spells: fixed a crash when using hunter traps
2022-10-08 13:39:50 +02:00
Ovahlord
a13f955a82
Core/Loot: fixed a cherrypick mistake that was causing all creatures to drop pickpocket loot only
2022-10-08 10:03:31 +02:00
Shauren
3f51add635
Dynamic build fix
...
# Conflicts:
# src/server/game/Maps/MapManager.cpp
2022-10-08 00:51:17 +02:00
Ovahlord
dffa8e81e4
nopch fix
2022-10-08 00:35:22 +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
8c447da29d
Core/Misc: Rename MapDefines.h to MMapDefines.h as it contains mmap defines exclusively
2022-10-07 19:09:42 +02:00
Ovahlord
3e334182bd
CMake: added missing link flags to bnetserver
2022-10-06 15:30:56 +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
Shauren
cf2bf7f77f
Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types
2022-10-04 12:36:58 +02:00
Shauren
03cf98152e
Core/DataStores: Defined map.dbc flags
2022-10-04 12:32:58 +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
566b77387d
Core/Creatures: simplified and fixed logic in Creature::IsMovementPreventedByCasting
2022-10-03 20:37:11 +02:00
Ovahlord
01de6fc505
Core/Spells: set immunity cast flag in SMSG_SPELL_GO packets as well
2022-10-03 16:15:03 +02:00
Ovahlord
09a1987286
Core/Spells: greatly simplified spell focusing based on new attributes implementations and fixed up interrupt flag checks for movement based interrupts
2022-10-03 16:10:06 +02:00
Ovahlord
7d67f10f77
Core/Spells: added a missing check in Unit::IsMovementPreventedByCasting
2022-10-03 12:22:39 +02:00
Ovahlord
af71a8c9c1
Core/Units: fixed a crash in Unit::DealDamage when the attacker is no longer in world (periodic damage auras)
2022-10-03 12:01:01 +02:00
Ovahlord
30328eee9d
Core/Spells: fixed a crash in AuraEffect::CanPeriodicTickCrit
2022-10-03 01:38:42 +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
3d529f2d7d
Core/Spells: refactored duration and period calculations
...
* fixed sending hit targets in spell_go packet
2022-10-01 19:13:01 +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
Ovahlord
b6f0650303
nopch fix
2022-09-30 15:13:32 +02:00
Shauren
b4a39d42a8
Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
2022-09-30 12:50:31 +02:00
Shauren
c3b52fd29f
Core/Auras: Improve aura interactions with immunities on spell effect level
...
* Effects that target is immune to will be suppressed instead of completely removed
2022-09-30 12:49:31 +02:00
Alan Deutscher
0f4442c630
Core/Auras: Do not remove auras unaffected by invincibility
...
* Mark WSG's Focused Assault and Brutal Assault as unaffected by immunities
2022-09-30 11:33:04 +02:00
Shauren
f35e49b515
Core/Spells: Implemented SPELL_ATTR6_TAPS_IMMEDIATELY
2022-09-30 11:27:56 +02:00
Shauren
f93918ef0c
Core/Spells: Implemented SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORE
2022-09-30 11:26:38 +02:00
Shauren
c78371f321
ore/Spells: Autorepeat casting fixes
...
* Fixed cast bars of ranged spells not disappearing when canceled while autoshooting
* Replaced hacky 500ms delay on non auto shot autorepeat spells with native spell cast time (wands have 500ms cast time)
* Update cooldowns before attempting to cast autorepeat spells (for cases when cooldown ends on the same server tick as cast attempt)
2022-09-30 11:08:20 +02:00
Shauren
dfc6fe6450
Core/Spells: Cleanup movement checks in spells - use correct interrupt flags
2022-09-30 11:02:52 +02:00
Shauren
1f60928a51
Core/Spells: Implemented SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST
2022-09-30 10:56:37 +02:00
Shauren
b394faf376
Core/Spells: Implemented SPELL_ATTR6_NO_PUSHBACK
2022-09-30 10:55:29 +02:00
Shauren
50235ffcbc
Core/Spells: Implemented SPELL_ATTR6_AURA_IS_WEAPON_PROC
2022-09-30 10:53:58 +02:00