Commit Graph

17050 Commits

Author SHA1 Message Date
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
Osleyder Gonzalez Acosta
7c58a13cc9 Core/DataStores: Update correct version check of the loaded DB2 files. (#26011) 2021-02-06 20:01:34 +01:00
BAndysc
17676d4d41 Core/SAI: Add missing AreaTrigger to SmartScript::GetBaseObject 2021-02-06 19:20:07 +01:00
Shauren
65df9d424d Core/Trainers: Remove all "hidden" rank based requirements for learning spell from trainers and always only rely on trainer_spell.ReqAbility fields in database 2021-02-06 18:30:07 +01:00
Matan Shukry
0cae71eac5 Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units (#26028)
* Added object type into checker that is used by grid search to early eliminate alive units when looking for corpses
* Removed script 'spell_hun_pet_carrion_feeder'. Ability doesn't exist anymore
2021-02-05 21:29:00 +01:00
Matan Shukry
b832ed2479 Core/Auras: Implement spell effect attribute NoScaleWithStack (0x40) (#26029) 2021-02-05 19:05:06 +01:00
Shauren
875fd4107f Core/SAI: Added SAI support for new areatriggers 2021-02-05 18:12:55 +01:00
Shauren
db18aacc1f Core/Spells: Define spell effect attributes 2021-02-05 00:13:31 +01:00
Shauren
94397ac56c Core/Auras: Rename two more aura types 2021-02-04 22:50:12 +01:00
Shauren
5b7964f1f9 Fix build 2021-02-03 21:37:30 +01:00
Shauren
d697882dfb Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them 2021-02-03 19:25:30 +01:00
Shauren
23144d0665 Core/AreaTriggers: Optimize target searching
* Don't visit grid objects for serverside areatriggers (search world container only for player)
* Move existing target list to "exitUnits" instead of copying it
2021-01-30 18:10:21 +01:00
Shauren
7851cd3a96 Core/AreaTriggers: Code cleanup 2021-01-30 18:10:21 +01:00
Matan Shukry
0417c5ff5f Core/AreaTriggers: Implementation for sever side area triggers
- Spawn GridLoader to spawn area triggers correctly now
- Removed SAI completely
- Removed remnants of smart scripts. Created different issue for it
- Calling InitDbPhaseShift and not InDbPhaseShift
- changed SpawnId to uint64 rather than uint32
- not using CellGuidSet typedef as to not include ObjectMgr.h in the header
2021-01-30 18:10:21 +01:00
sirikfoll
e83c0b07d1 Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of
(cherry picked from commit 1a638b39e3)
2021-01-29 19:23:53 +01:00
Andrew Letson
0ec1699585 Scripts/Northrend: Move Sholazar Basin NPCs to SmartAI
(cherry picked from commit c99b89934e)
2021-01-29 19:23:53 +01:00
ccrs
3e5a955fc8 Core/AI: rearrange SAI private methods
(cherry picked from commit 60a5535f64)
2021-01-29 19:23:53 +01:00