Ovahlord
17818eb01f
buildfix
2022-10-09 14:34:37 +02:00
Ovahlord
390f4c22e2
DB: fixed applying 2022_10_09_05_world.sql
2022-10-09 14:06:16 +02:00
Shauren
030fe869df
Core/WorldStates: Skip sending SMSG_UPDATE_WORLD_STATE when value does not change
2022-10-09 14:03:19 +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
Ovahlord
9f85a104d7
Core/Spells: fixed a typo that was causing all charmed units to now have any spells despite being defined as such
2022-10-09 12:47:04 +02:00
Ovahlord
45a4908f0c
Core/Spells: reduced more differences between branches
2022-10-09 11:05:29 +02:00
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
Ovahlord
67dd72dfc0
DB/World States: added default value to ScriptName field
2022-10-09 01:18:36 +02:00
Ovahlord
716577fe8e
DB: fixed applying sql
2022-10-09 01:17:18 +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
371ec449a1
DB/Misc: fixed startup errors
2022-10-01 23:43:04 +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