Commit graph

191 commits

Author SHA1 Message Date
killerwife
fd155b5f91 Shaman: Implement Sentry Totem script, add OnUnsummon and fix GetSpawnerGuid for Totems 2022-02-18 20:20:06 +01:00
MantisLord
d3608110ee Naxx: Remove now obsolete script for Archmage Tarsis Kir-Moldir 16381
Replaced by: https://github.com/cmangos/tbc-db/2234b2ee60a3c459a99fee5d2d9edf8bb2fde864
2022-02-14 22:53:31 -05:00
killerwife
3e8597afe7 Add gossip handling for external menus for nef and onyxia head turnin npcs
Closes https://github.com/cmangos/issues/issues/2190
2022-02-09 17:40:45 +01:00
MantisLord
8d84a34568 Clean up reference to removed boss_jindo script 2022-01-27 23:33:49 +01:00
killerwife
8666a14864 ZG: Implement jindo spells and serversides and remove file in favor of spell lists 2022-01-23 15:49:11 +01:00
killerwife
f542b1726f ZG: Remove Hazzarah file in favor of spell list and spellscript implementation 2022-01-23 11:13:36 +01:00
killerwife
e10e31365f Fix SD2 schema from [s2441] 2022-01-20 22:29:22 +01:00
MantisLord
45afcf1b2a AQWarEffort: Add missing script assign for Scarab Gong 2022-01-19 06:52:37 -05:00
MantisLord
81bb54865d Port scourge invasions from vmangos
Closes https://github.com/cmangos/issues/issues/2313
Credit: Vmangos for original implementation. Killerwife rewrites for our worldstate system. Mantislord event data. Anon EAI port. Killerwife rest of db data.
2021-12-21 23:30:34 +01:00
Miraco
c5b13f6d1f Remove npc_shenthul script, will use EventAI instead. 2021-12-10 19:42:15 +01:00
anonxs
4fa60a4ce7 [SD] Add Script for npc_advanced_target_dummy 2674 so it can be looted by player 2021-09-15 13:12:17 +02:00
MantisLord
4bd10082e8 Gossip menu handling for Archmage Tarsis Kir-Moldir 16381
The rest of his script his done in the DB
2021-08-21 18:32:58 +02:00
killerwife
191bcf4d2f Add missing Stinky Ignatz emote at end 2021-08-21 17:52:40 +02:00
killerwife
12dce193da Add Kerlonian sounds 2021-08-21 17:49:53 +02:00
cala
96a16e93f0 Script NPC 16027
* Script NPC 16027 (Living Poison) in SD2 because OOC LoS in ACID as a minimal possible value higher that what is needed (due to model data).

Closes https://github.com/cmangos/issues/issues/2485
2021-07-01 21:56:17 +02:00
cala
57112e1c88 Fixes for Aurius event in Stratholme
* Fixes for Aurius event in Stratholme :
- fix stand state
- fix faction so he can again attack Baron Rivendare
- fix quest display for players that already completed the event once
- fix broadcast text using ID intended to horde NPC
2021-06-21 00:03:28 +02:00
cala
a3f3d46c4c Fix quest 8736
* Fix quest 8736 (The Nightmare Manifests):
- Make Eranikus fly and land properly
- Fix waypoints following escort logic rework
- Fix several relation issues preventing NPC to enter combat and reseting the whole event
- Re-add Classic realm wide emotes
2021-06-09 22:39:25 +02:00
cala
d79bb93d9f Fix GameObject 180797
* Fix GameObject 180797 (PX-238 Winter Wondervolt TRAP) by triggering it through dedicated area triggers
2021-06-02 22:45:54 +02:00
cala
234187bd2e ScriptDev2: add broadcast text IDs and fix text
* ScriptDev2: add broadcast text IDs and fix text for many entries.
2021-04-21 17:46:42 +02:00
cala
6eaa6bcdd3 Refactor and improve quest "The Tome of Valor"
* Refactor code:
- use timers instead of waypoint wait time workaround
- simplify code (less duplicates, unneeded variables...)
* Add missing text yells, says and emotes
* Improve timers
* Various improvements like running and emotes in the right places
Thanks @Grz3s for his help
2021-04-12 16:53:33 +02:00
killerwife
3f597e979f Implement two missing texts in q.6132
Closes https://github.com/cmangos/tbc-db/issues/678
2021-03-29 16:11:39 +02:00
cala
f41d2c69c6 Rework Archmage Arugal
* Rework Archmage Arugal in Shadowfang Keep:
- Move AI to RangedCombatAI
- Improve and secure teleport logic
- Move possess yell to the correct place
- Remove many helper methods that can now be replaced by more robust core features/methods
- Prevent Arugal's Voidwalker from entering combat on spawn (thanks @Tobschinski)

Timers are probably off though...
2021-03-26 15:36:45 +01:00
insunaa
73c9c735e2 Rework Dialogue in SFK
Reworking how dialogue is done within Shadowfang Keep.

Closes https://github.com/cmangos/mangos-tbc/pull/445
2021-03-26 09:34:48 +01:00
cala
dad9b3e515 Rework Shadowfang Keep prisoners
* Rework Shadowfang Keep prisoners:
- Remove workaround using duplicate waypoints to time the event
- Use timers instead and adjust timers
- Add missing emotes and remove incorrect ones
- Adjust a few positions and orientations
- Adjust event sequencing
- Remove unneeded code
- Fix despawn and move back to first waypoint

This closes https://github.com/cmangos/mangos-tbc/pull/440 and closes https://github.com/cmangos/wotlk-db/issues/363
2021-03-23 17:44:11 +01:00
cala
f6088245b7 Script Anubisath Defender
* Script NPC 15277 (Anubisath Defender) in Temple of Ahn'Qiraj
2021-03-16 23:17:36 +01:00
MantisLord
173b67383c SM: Fixes for Corrupted Ashbringer event
* Use areatrigger instead of OnPlayerEnter to start event
* Change faction of NPCs to friendly when event starts and try to open door
2021-03-11 11:20:48 -05:00
cala
b5b4c46125 scriptdev2.sql format clean-up
* Harmonise structure and convention of scriptdev2.sql file to ease the use of automated scripts.

Handled:
- white spaces
- inline comments
- streamline quote escaping
- streamline string quotes
- trailing 0 on floats

Not handled:
- clean-up of inline SQL comment when comment field is available in table structure
- long floating point precision
2021-03-07 21:29:20 +01:00
insunaa
def255e9f4 Script Stoneskin Gargoyles in Naxxramas
Adapted from https://github.com/vmangos/core/blob/development/src/scripts/eastern_kingdoms/eastern_plaguelands/naxxramas/instance_naxxramas.cpp
2021-03-06 22:53:15 +01:00
Grz3s
f25fe824d8 Add missing escort orientation for creature 467
[ci skip]

Signed-off-by: Xfurry <xfurry.cmangos@outlook.com>
2021-02-24 21:47:42 +01:00
cala
7edcdc912d Implement reset through spell in C'Thun encounter
* Implement reset through spell in C'Thun encounter: use proper spell mechanics to reset C'Thun encounter both in Phase 1 and Phase 2 (excluding weakened phase rotation)
Thanks @Tobschinski for his precious help on the matter
2021-02-04 22:51:50 +01:00
cala
9f383df45b Sunken Temple: Add missing text
* Add missing text when reset Avatar of Hakkar event through Suppression in Sunken Temple
2021-01-31 23:00:28 +01:00
cala
6c29e480f3 Sunken Temple: implement Suppression mechanics in Avatar of Hakkar
Sunken Temple: implement Suppression mechanics in Avatar of Hakkar:
- reset encounter is Suppression casting is not disrupted
- add missing texts
- fix encounter reset (flames count was not reset like it should be)
- fix encounter that could not be restarted if failed
2021-01-29 23:50:52 +01:00
cala
3f113aae5c Sunken Temple: Rework Avatar of Hakkar summoning with SpellScript
* Sunken Temple: Rework Avatar of Hakkar summoning with SpellScript: drop old dummy effect handling and use SpellScrip instead
2021-01-25 23:01:47 +01:00
cala
b15743fae9 Properly implement C'Thun's stomach exit
* Add and script missing trigger NPCs
* Add missing area trigger and rescript all involved area triggers
* Adjust locations
* Use proper spells for summoning triggers and knocking back players

(based on sniffs)
2021-01-05 13:29:08 +01:00
killerwife
cc92787bb2 Implement PVP engagement and zone yell on wildhammer message event 2021-01-01 17:06:33 +01:00
MantisLord
b15568a7d1 Dire Maul: Warlock Dreadsteed ritual event fixes
- Fix errors and add proper failure condition

- Use proper GameObject casting for ritual objects now that it's possible to do

Requires pending DB update
2020-12-13 16:24:46 -05:00
Lesueur Benjamin
6ad8d47a32 Implement q1079, q1080
Covert Ops - Alpha - Beta
2020-11-17 22:58:58 +01:00
cala
af9b841aaa Script GO 122088
* Script GO 122088 (Containment Coffer) used in quest 1920 (Alliance) & 1960 (Horde)
2020-11-07 21:52:23 +01:00
anonxs
14a8da0f7f Sync insert query in SD2 file 2020-11-04 13:13:45 +01:00
killerwife
5b813f4ee0 Naxx: Add npc_aoe_damage_trigger for naxx usage 2020-11-04 12:01:26 +01:00
cala
d842305775 Improve quest 1393
* Improve quest 1393:
- Fix texts
- Improve timers
- Adjust speed and final script
This closes https://github.com/cmangos/issues/issues/2236
2020-11-02 23:17:17 +01:00
killerwife
4a9656bab5 WarEffort: Initial AQ War Effort commit 2020-09-24 23:11:34 +02:00
killerwife
3ce4703e79 Add Yell to Miran Ambush areatrigger - Loch Modan 2020-09-20 14:46:43 +02:00
Grz3s
71b6f76efd SD2: npc_miran - Loch Modan
Should despawn after escort completed.
Fixed
2020-09-20 14:26:36 +02:00
cala
9b0203a8da Fix SD2 warnings with TBC+ texts
* Fix SD2 warnings: mark as reserved SD2 text entries that were added after Classic and are using sound IDs not available in Classic DBC.
2020-09-07 21:56:37 +02:00
cala
6a96b6b201 Several improvements for quest 5944
* Several improvements for quest 5944 (In Dreams)
- Fix Taelan not being attackable while on escort
- Improve texts, timing, facing and global role play of quest end script (epilogue with Tirion Fordring)
- Fix points index
2020-06-29 23:18:09 +02:00
Grz3s
133e2c5188 De-assign script for NPC 1200 (Morbent Fel) 2020-06-28 22:51:55 +02:00
cala
db63181b01 Remove waypoints for Gizelton brothers
* Remove waypoints for Gizelton brothers: the Gizelton Caravan waypoints are stored in the database.
2020-06-26 16:58:27 +02:00
cala
994e699244 Fixes and improvements for quests 6402 & 6403
* Fixes and improvements for quests 6402 (Stormwind RendezVous) & 6403 (The Great Masquerade):
- Fix issues with recent waypoints changes
- Add missing spells
- Use proper spells for interacting with guards, morphing into Onyxia, dismissing mount...
- Minor cosmetic adjustements
2020-06-26 10:58:42 +02:00
cala
35d85062b3 Update waypoints index in SD2 SQL file part 2 2020-06-23 09:10:47 +02:00