Commit Graph

33871 Commits

Author SHA1 Message Date
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
Killyana
1240acb132 DB/Misc: Death knights area rework part2
Original work done by Grz3s on Cmangos
Closes #15083

(cherry picked from commit 3e74ef1528)
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
Killyana
f36d2424a6 DB/Misc: Death knights area rework part1
Original work done by Grz3s on Cmangos

(cherry picked from commit d606ee57e2)
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
Matan Shukry
c6c583a63e DB: Remove deprecated spells from riding trainers 2021-02-06 19:09:49 +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
funjoker
08005a7cf9 DB/Player: Fix player_racestats 2021-01-30 12:31:26 +01:00
Aokromes
f185a118e8 Rename 2017_11_05_00_world .sql to 2017_11_05_00_world.sql
(cherry picked from commit 63c29e446f)
2021-01-29 19:23:53 +01:00
Wyreth
33301ef08f DB/Gossip: implement Troll-only gossip for NPC Paelarin
Closes #20826

(cherry picked from commit 30c2a96f16)
2021-01-29 19:23:53 +01:00
Wyreth
2ffa85db17 DB/CreatureText: Fix emotes used by Chicken critters
Closes #20825

(cherry picked from commit 0f0c91c327)
2021-01-29 19:23:53 +01:00
Wyreth
9f513429e0 DB/GameObject: Prevent Alliance from interacting with a Horde-only gameobject questgiver
Closes #20823

(cherry picked from commit 5bf15a14fe)
2021-01-29 19:23:53 +01:00
Wyreth
36d2a6576b DB/Gameobject: Fix phase for The Death Knights of Acherus
Closes #20805

(cherry picked from commit 513e1c91c4)
2021-01-29 19:23:53 +01:00
Wyreth
b5baa97d8e DB/SAI: Implement chance to turn player into a rabbit for the gameobjects Brightly Colored Egg
Closes #20822

(cherry picked from commit 088a7ddb4e)
2021-01-29 19:23:53 +01:00
Wyreth
94803f414e DB/SAI: implement on-death behaviour for Bonestripper Vulture and Bonestripper Buzzard
Closes #20821

(cherry picked from commit 30ae45a1f4)
2021-01-29 19:23:53 +01:00
Killyana
ffd5998b6c DB/Gossip: Fix gossip for NPC Herald Amorlin
Closes #20819

(cherry picked from commit c5052803a7)
2021-01-29 19:23:53 +01:00
Wyreth
211fcdbe13 DB/Quest: Cosmetic fixes for Gruesome, But Necessary
Closes #20817

(cherry picked from commit 77abb89009)
2021-01-29 19:23:53 +01:00
Wyreth
c1bcf78d15 DB/Texts: Fix item text for Damp Diary Page (Day 4) and Damp Diary Page (Day 512)
Closes #20816

(cherry picked from commit a41dae09ad)
2021-01-29 19:23:53 +01:00
Wyreth
772fec8073 DB/SAI: Fix event chance for talk action of NPC Paelarin
Closes #20813

(cherry picked from commit a5969cfc27)
2021-01-29 19:23:53 +01:00
Wyreth
0c34de947b DB/Conditions: Limit usage of item [Gorth's Torch] to correct areas
Closes #20811

(cherry picked from commit 13b0289342)
2021-01-29 19:23:53 +01:00
Wyreth
2c0e44c121 DB/Conditions: Cosmetic fixes for spells involved in the quest Towers of Certain Doom
Closes #20810

(cherry picked from commit ec6e7b6186)
2021-01-29 19:23:53 +01:00
Wyreth
f8c302bd4e DB/Quest: Improve cosmetic details of quest In Service Of The Lich King
Closes #20809

(cherry picked from commit c44907face)
2021-01-29 19:23:53 +01:00
Wyreth
6b9bf87f8d DB/CreatureText: Some on-low-health texts for Scarlet Peasant are missing
Closes #20808

(cherry picked from commit 4ceb200e44)
2021-01-29 19:23:53 +01:00
Wyreth
96892fcaf0 DB/Creature: Scarlet Captain NPCs should be mounted
Closes #20807

(cherry picked from commit 6c2b6c28a2)
2021-01-29 19:23:53 +01:00
Wyreth
ed496304a0 DB/CreatureText: Change a wrong say to yell for Highlord Darion Mograine
Closes #20806

(cherry picked from commit 36bc87b15e)
2021-01-29 19:23:53 +01:00
Wyreth
3e45a2d453 DB/Conditions: Fix gossip option conditions for Orbaz Bloodbane
Closes #20804

(cherry picked from commit 8899d4d6d3)
2021-01-29 19:23:53 +01:00
Wyreth
dd1e8de7c7 DB/SAI: Intro event for the quest Scarlet Armies Approach...
Closes #20803

(cherry picked from commit 2ee8a63758)
2021-01-29 19:23:53 +01:00
Wyreth
31ef87e2f5 DB/SAI: Intro event for the quest Brothers In Death
Closes #20802

(cherry picked from commit ecf234a128)
2021-01-29 19:23:53 +01:00
Wyreth
2a3b01f796 DB/Conditions: Fix availability of item Fei Fei Doggy Treat
Closes #20801

(cherry picked from commit 0bbd4e09a5)
2021-01-29 19:23:53 +01:00
Wyreth
2bf46c85d6 DB/SAI: Pilgrim Gal'ressa and Taleris Dawngazer
Closes #20800

(cherry picked from commit df9edf1ff7)
2021-01-29 19:23:53 +01:00
Wyreth
872307f3bb DB/SAI: Magistrix Carinda
Closes #20799

(cherry picked from commit 440dc8110e)
2021-01-29 19:23:53 +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
Killyana
343389dc84 DB: Add some missing spawns
(cherry picked from commit 28cd4b5281)
2021-01-29 19:23:53 +01:00
Aokromes
b14be7e985 DB/Creature: Fix levels for multiple creatures
By Malcrom

(cherry picked from commit 859b0d92a0)
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
Aokromes
69d6b4241d DB/Creature: Fix levels for multiple creatures
By Malcrom

(cherry picked from commit d7de84b027)
2021-01-29 19:23:53 +01:00