Commit Graph

17066 Commits

Author SHA1 Message Date
Keader
8581bf2815 Build fix
yes, i'm blind

(cherry picked from commit a2b191c78e)
2021-02-15 19:13:25 +01:00
Keader
232dc7e71b Scripts/Ulduar: Fixed a clang6 warning
(cherry picked from commit 80a65744bc)
2021-02-15 19:13:25 +01:00
jackpoz
08ac99744b Core/Maps: Fix memory leak in BoundaryUnionBoundary
Add missing destructor in BoundaryUnionBoundary to avoid reporting a memory leak (even if it's used only in a global variable)

(cherry picked from commit 724499cf9c)
2021-02-15 19:13:25 +01:00
Shauren
9011d690c9 Scripts/Events: Fixed memory leak in npc_bountiful_table added in 75df296bb6
(cherry picked from commit 95ea4b5090)
2021-02-15 19:13:25 +01:00
Killyana
e8b1bb5ca5 Core/Reputation: Fix reaction with rival factions
Closes #9469
Ref #20661

(cherry picked from commit e85a48179e)
2021-02-15 19:13:25 +01:00
Keader
66fa9e11cd Typo
(cherry picked from commit bd560fd160)
2021-02-15 19:13:25 +01:00
Keader
d917db5215 Scripts/Razorscale: Fixed issues related with Devouring Flame
Closes #20967

(cherry picked from commit 454a230af4)
2021-02-15 19:13:25 +01:00
Aokromes
0b3a09b1b4 Misc: Kill trailing white spaces
(cherry picked from commit 5f2c5f2ed3)
2021-02-15 19:13:25 +01:00
Killyana
33279199d4 Spell: Remove a phase hack for The Eye of Acherus
Npcs are now spawned on phase 2, some spawns still missing on phase 1 and 2, need to wait for future commits.

(cherry picked from commit f3a00a1822)
2021-02-15 19:13:25 +01:00
ccrs
58de8141e5 Core/Creature: 2d1ef6b5b0 followup
closes #20532

(cherry picked from commit caefe2b43e)
2021-02-15 19:13:25 +01:00
ccrs
adb37f1a75 Fix build
(cherry picked from commit 5241c1ad71)
2021-02-15 19:13:25 +01:00
ccrs
92026abee1 Scripts/World: update guard scripts
Also remove deprecated method from Creature

(cherry picked from commit 299323ce5d)
2021-02-15 19:13:25 +01:00
lachtanek
0099154316 Core/Pooling: Fixed less and less objects from pools being spawned the longer the server is running (#20949)
Closes #11141

(cherry picked from commit de80cd2e0d)
2021-02-15 19:13:25 +01:00
Aokromes
8be737efa0 Core/BG: Fix enum order which counts as array index to spawn creatures on Alterac Valley
fixes wrong monsters being spawned on horde towers and nodes [spawns seasoned units by default, which should only happen after turning in enough armor scraps]

By Riztazz

(cherry picked from commit 090bdc8eb3)
2021-02-15 19:13:25 +01:00
ccrs
88c3a184cc Core/Movement: some corrections on WaypointMovementGenerator
- Since a timer can be set on MovementGenerator::Pause, dont update it till the movespline is Finalized
- Don't set HomePosition on every Update, check if movespline is Finalized
    * This is still doesnt feel correct, should it only be called on WaypointNode Start?

(cherry picked from commit 2ce9a0a094)
2021-02-15 19:13:25 +01:00
Andrew Letson
a36ddf47a9 DB/Scripts: Terokkar Forest SAI migration
(cherry picked from commit 4d338b1d4d)
2021-02-15 19:13:25 +01:00
Gustavo
56cd9de144 Core/Spells: Don't save channeled auras (#20923)
(cherry picked from commit 5b7e4efcc4)
2021-02-15 19:13:25 +01:00
Keader
6ac58c40d7 Core/Scripts: Build fix
(cherry picked from commit cc50a036df)
2021-02-15 19:13:25 +01:00
Keader
f23d1f658e Core/Scripts: Codestyle fix (Trial of Crusader)
followup: c436be6f61
(cherry picked from commit 67df45b585)
2021-02-15 19:13:25 +01:00
Keader
59417cc0f8 Core/Scripts: Updated Trial of Crusader instance model
- TODO: Bosses rewrite, instance cleanup, add missing gossips/texts, port all gossips from db.
Sniffs will be nice :/

(cherry picked from commit c436be6f61)
2021-02-15 19:13:25 +01:00
sirikfoll
da76a0db5b Core/Scripts Fix issues with Midsummer's Ribbon Pole
Closes #6876

Fixed achievement Burning Hot Pole Dance
Update scripts for quest Torch Tossing, using all correct spells and timers
Updated script register model

(cherry picked from commit 6e7e43172e)
2021-02-15 19:13:25 +01:00
Shauren
ece3c91d6e fix build 2021-02-15 00:30:24 +01:00
Shauren
331b9ccd6a Core/Entities: Regenerated updatefields code with latest generator fixes 2021-02-15 00:19:35 +01:00
Matan Shukry
bb0194aede Scripts/Spells: Touch of the Magi - accumulate damage and DoT duration 2021-02-13 14:08:16 +01:00
Matan Shukry
7159de62b6 Scripts/Spells: Remove const from AuraEffect argument for AuraEffectProcFn 2021-02-13 14:08:16 +01:00
Matan Shukry
c261b16a32 Core/Spells: Add const to triggeredByAura argument on Unit::CastSpell(GameObject* go,... overload for consistency 2021-02-13 14:08:16 +01:00
Shauren
49992508a4 Core/Movement: Refresh collision height on shapeshifting 2021-02-11 22:59:28 +01:00
Shauren
409ca262b3 Core/Movement: Updated MovementFlags2 for 9.0.2 2021-02-11 22:03:30 +01:00
Matan Shukry
e0278f0537 Core/SAI: Added new Flags argument for SMART_ACTION_SUMMON_CREATURE (#26055)
* Added personalSpawn for SMART_ACTION_SUMMON_CREATURE
* Added flags for smart action summon creature, including prefer unit and personal spawn. When preferUnit flag is chosen only the unit will be chosen, even if nullptr
2021-02-10 21:18:01 +01:00
Matan Shukry
b4bdc4eea6 Core/Players: - Fixed auto learning class abilities that are rewarded from quests if starting Exile's Reach in case player chose not to start there (#26036) 2021-02-09 23:06:45 +01:00
Shauren
9e9fb667ec Core/Creatures: Fixed crediting loot and quests for creatures using level scaling
Closes #26058
2021-02-09 17:40:47 +01:00
Matan Shukry
414338a27b Scripts/Spells: Druid Travel Form freeze fix (#26056) 2021-02-09 12:00:02 +01:00
Jeremy
e9357dc7f2 Core/Auras: Implement SPELL_AURA_BATTLEGROUND_PLAYER_POSITION_FACTIONAL (397) & SPELL_AURA_BATTLEGROUND_PLAYER_POSITION (398) (#25988) 2021-02-08 23:11:40 +01:00
Shauren
086f337d15 Core/Misc: Define new area flag 2021-02-07 21:13:37 +01:00
Robingad
964340bb76 Core/Auras: Handle SPELL_AURA_MOD_AUTOATTACK_DAMAGE
(cherry picked from AshamaneProject/AshamaneCore@92bbcfde0b)
2021-02-07 19:43:13 +01:00
Traesh
e11067a398 Core/Auras: Handle SPELL_AURA_MOD_SCHOOL_MASK_DAMAGE_FROM_CASTER
(cherry picked from commit AshamaneProject/AshamaneCore@458d0f2a53)
2021-02-07 19:43:13 +01:00
Shauren
cb47605235 Core/Players: Implemented secondary stat diminishing 2021-02-07 19:19:06 +01:00
Shauren
5a7560e57c Fix nopch build & warning 2021-02-06 21:57:04 +01:00
Killyana
f40b32a640 Creature/script: Add locales to innkeepers gossip options
(cherry picked from commit 7fd8603ec5)
2021-02-06 21:41:51 +01:00
Killyana
a8483d05af Gameobject/Script: Remove outdated script
Ref 04da37c4fb

(cherry picked from commit 4455c50447)
2021-02-06 21:41:51 +01:00
r00ty-tc
f3ac10f36f Core/Spawn: Limit saved/stored respawn time.
- Limit to time_t maximum, for the compiled-for architecture.

Closes #20834

(cherry picked from commit 3446424540)
2021-02-06 21:41:51 +01:00
Keader
ce8b3a1308 Core/Scripts: Fixed Charge behavior on Illidan encounter
"If any raid member is farther away than 25 yards from *both* Blades, one of the Flames charges that player and enrages"

(cherry picked from commit cb3627ca62)
2021-02-06 21:41:51 +01:00
jackpoz
f5dcff32cb Core/Misc: Fix static analysis issues
(cherry picked from commit 06ea65b0e6)
2021-02-06 21:41:51 +01:00
jackpoz
852c9e9108 Core/Misc: Fix static analysis issues
(cherry picked from commit a80c95a1c7)
2021-02-06 21:41:51 +01:00
jackpoz
388034498f Core/Misc: Fix static analysis issues
(cherry picked from commit 9b7c73a19d)
2021-02-06 21:41:51 +01:00
jackpoz
1c24819741 Core/Misc: Fix static analysis issues
(cherry picked from commit 97f33dc779)
2021-02-06 21:41:51 +01:00
jackpoz
a68ab3241a Core/Misc: Fix static analysis issues
(cherry picked from commit 7e73f5f1ed)
2021-02-06 21:41:51 +01:00
Riztazz
dffef65da2 Scripts/Stratholme: spawn Timmy the Cruel if conditions are met (#20750)
* Timmy the cruel
* Rename some variables and use sniffed spawn position
* codestyle
* Use areaboundary instead
* include order
* aokromes request
* remove static
* never cp on tc

(cherry picked from commit c69825d96d)
2021-02-06 21:41:51 +01:00
Keader
0a68d46798 Core/Scripts: Updated Black Temple to new Creature/Spell/Aura/GOB model
Fixed some codestyle issues.
Removed ENSUREAI

(cherry picked from commit 78f4f54f81)
2021-02-06 21:41:51 +01:00
Shauren
b37163b5e2 Core/Quests: Correct criteria tree quest objective update conditions
* Apply same raid group restriction as normal objectives
* Check that player is on quest before updating criteria
* Remove non-GM requirement
2021-02-06 20:03:37 +01:00