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
ccrs
bf12bae467
Core/Misc: waypoint movement
...
- Creature: update current waypoint to store nodeId and pathId
- MotionMaster: change variable type on GetMotionSlotType and GetMotionSlot to keep consistency and prevent errors (ASSERT is now no longer needed)
- UnitAI: add new waypoint hooks WaypointPathStarted and WaypointPathEnded
- SAI: handle WAYPOINT related events if creature is no escorting
* SMART_EVENT_WAYPOINT_RESUMED still not implemented for no escorting
TODO: the new hooks can save, now duplicated, logic on EscortAI and SAI
closes #20777
updates #20310
updates 21bd52cb99
(cherry picked from commit e10d7dd45c )
2021-01-29 19:23:53 +01:00
Nathan Handley
502f77fe8c
Core/Misc: Add functionality to allow low level quests/kills/discoveries to grant experience
...
(cherry picked from commit 6612ec47f4 )
2021-01-29 19:23:53 +01:00
Wyreth
0c6447f94c
Scripts/Tanaris: move Aquementas to SAI & improve related event ( #20464 )
...
* Script/Tanaris: move Aquementas to SAI and improve related event
Closes #11668
(cherry picked from commit 8888e6d96d )
2021-01-29 19:23:53 +01:00
Andrew Letson
b6f1ab5526
DB/Creature: Coosh'coosh to SAI
...
(cherry picked from commit 7822f058b0 )
2021-01-29 19:23:53 +01:00
Robingad
22d6ea3620
Core/Auras: Fixed stacking SPELL_AURA_MOD_CRIT_DAMAGE_BONUS with SPELLMOD_CRIT_DAMAGE_BONUS ( #25978 )
2021-01-29 10:52:38 +01:00
Matan Shukry
db6eb69465
Core/Quests: Automatically add quests with AUTO_PUSH flag to player ( #25938 )
...
* Removed check for world quests on criteria tree reset
* Quests are currently filtered by their tag to only allow untagged or tag == 0 quests (other types are unsupported)
2021-01-29 10:50:02 +01:00
Osleyder Gonzalez Acosta
d4ad987010
Core/Misc: Update a few enums from db2 to 9.0.2 ( #25956 )
2021-01-28 22:02:03 +01:00
MaxtorCoder
b0e71506a4
Core/Misc: Define a lot of new enum members ( #25959 )
...
- Languages.db2
- EmotesText.db2
- Emotes.db2
- SkillLine.db2
- TotemCategory.db2
- BattlemasterList.db2
2021-01-26 22:57:27 +01:00
Matan Shukry
6dbaba7669
Core/Player: remaining XP logging overflow correction ( #25934 )
2021-01-26 16:48:28 +01:00
Osleyder Gonzalez Acosta
8ce9b69de3
Core/GameObjects: Allow setting GameObject anim kits in database ( #25941 )
...
Necessary to be able to see the new visual effects of the gameobjects such as the portals in the Portals Halls of Orgrimmar and Stormwind.
2021-01-25 23:17:20 +01:00
Robingad
5274f5ea54
Core/Commands: Fixed .go zonexy command ( #25825 )
2021-01-25 18:29:59 +01:00