8 Commits
Author SHA1 Message Date
Rothend 6f10847512 Script/Quest: fix (More) Torch Catching (#24907)
* Script/Quest: fix (More) Torch Catching.

Closes #24893

Co-authored-by: Carbenium <[email protected]>
(cherry picked from commit a375f15ae26472202daf02c88d292f2ce6a1470f)
2022-01-26 19:50:50 +01:00
Rothend 77e1304a5a Script/Creature: script Terokk's encounter (#24871)
* Script/Creature: script Terokk's encounter.

Closes #2029

* Apply suggested changes.

* Fix nopch build.

* Rename 9999_99_99_99_world_terokk.sql to 2020_06_24_02_world.sql

* Update 2020_06_24_02_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
Co-authored-by: Eridium <[email protected]>
(cherry picked from commit 3227ed94bc7e8a6833fe67a2edb63debcca90a60)
2022-01-18 00:27:18 +01:00
Rothend abc490f677 Core/Player: do not consider FLAG_EXTRA_NO_XP_AT_KILL or pet status when deciding if a creature counts as a "gives experience or honor" target. (#24884)
Closes #23860

(cherry picked from commit e3bac11837741518479e9e09a99980366f1a64ae)
2022-01-18 00:18:15 +01:00
Rothend 381333690b Core/SAI: do not allow the waypoint pause timer to update while in combat. (#24877)
(cherry picked from commit 37cb39179629c90afb09324864bd31bddb9bd07c)
2022-01-18 00:17:44 +01:00
Rothend d4a1a7a040 Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by creatures and gameobjects (#24874)
* Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by creatures and gameobjects.

Closes #24831

* Update SmartScriptMgr.h

(cherry picked from commit 5339d1d3b835fcc8f635d34457ceb6e653e70a1c)
2022-01-18 00:17:28 +01:00
Rothend f5967b8a87 Script/Spell: fix Midsummer's Juggling Torch (#24885)
* Script/Spell: fix Midsummer's Juggling Torch.

Closes #17446

* Remove unneeded GetPosition() call, thanks jackpoz for noticing!

* Rename 9999_99_99_99_world_midsummer_torch_juggling.sql to 2020_06_24_01_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 5f35bf9e795ab0c8343d693062d3643dae2b7d8c)
2022-01-18 00:06:59 +01:00
Rothend 962a2ac703 Core/EscortAI: set maximum distance allowed between player and escortee to default vision range. (#24865)
(cherry picked from commit 4caa218641ca24b8bf56e14c0a1fcf18dbcf0a42)
2022-01-06 23:34:02 +01:00
Rothend 1ddde5ca3c Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting (#24817)
* Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting.

Closes #23669
Closes #24791
Closes #24792
Closes #24793

* Apply suggested changes.

* Initialize atPlayer in the constructor

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit e7a714f66c371cdeb6585846ddedb1bc445e695f)
2022-01-06 22:05:03 +01:00