Commit graph

173 commits

Author SHA1 Message Date
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
cala
8b32f885a8 Update waypoint path for Arei in Felwood 2020-06-22 14:47:47 +02:00
cala
bc40439cf4 Update waypoints index in SD2 SQL file part 1
* Update waypoints index in SD2 SQL file according to previous commits
* Also cleanup some of the data: remove white spaces, streamline escaping of ' and round some long float
2020-06-22 14:46:20 +02:00
cala
183dc2b37b Implement end script for quest 4763
* Implement end script for quest 4763 (The Blackwood Corrupted) in Darkshore
- Attract corrupted nearby furbolgs to purify them
- Handle aggro when looting quest items
2020-06-08 10:45:31 +02:00
cala
ed2057f9d9 Implement quest 2969
* Implement quest 2969 (Freedom for all Creatures) in Feralas.
Paths for Captured Sprite Darters are guess work based on videos from retail (old and new). They will be improved when sniffs are available.
2020-05-15 10:06:47 +02:00
cala
8753da2baf Small improvements to Magmus
* Small improvements to Magmus in Blackrock Depths
- Add intro yell when opening the gates leading to Magmus
- Adjust timers of Ironhand Guardians
- Rename variables to new convention
2020-05-06 23:47:53 +02:00
cala
77c6d0b49e Improvements for quest 6482
* Improvements for quest 6482 (Freedom to Ruul) in Ashenvale:
* Add missing escort points
* Improve ambushes:
- correct NPC entries
- correct spawn points
- ambusher should aggro on sight, not straight to the escortee
* add missing end event
2020-05-03 16:58:51 +02:00
cala
5f7a9959f4 Rework and/or add phase 2 and 3 of Kel'Thuzad encounter
* Rework and/or add phase 2 and 3 of Kel'Thuzad encounter in Naxxramas:
- Remove unused emotes (added in WotLK)
- Fix many timers
- Fix some targets in Kel'Thuzad abilities
- Fix Frost Blast
- Implement Chains of Kel'Thuzad (group mind control)
- Properly summon adds in phase 3
- Add Blood Tap ability for Guardian of Icecrown in phase 3
- Add dispell for Kel'Thuzad in phase 3 if more than 3 Guardians of Icecrown are crowd controlled
- Fix and add emotes
2020-04-13 16:50:04 +02:00
cala
6855656828 Small fixes for Sapphiron
* Better timer for Blizzard
* Fix duration of Blizzard
* Update emote type
* Remove unneeded or duplicate code
2020-01-17 14:55:51 +01:00
Killerwife
582f73ea82 AQ40: General boss fixes 2020-01-17 00:40:21 +01:00
Killerwife
039e84a030 Onyxia: Fix onyxia bugs 2020-01-17 00:38:39 +01:00
killerwife
29d0e879d1 AQ40: Rewrite and refactor Ouro using CombatAI and AuraScript
Completely changes submerge mechanics
2020-01-17 00:33:23 +01:00
Killerwife
44ab9d3bed AQ40: Refactor Viscidus using CombatAI and SpellScript and use proper toxin mechanics 2020-01-17 00:31:02 +01:00
killerwife
810f0303a9 AQ40: Refactor Sartura using CombatAI and SpellScripts 2020-01-17 00:30:14 +01:00
killerwife
96d4155c97 AQ40: Refactor and reimplement Prophet Skeram using CombatAI and SpellScripts 2020-01-17 00:19:14 +01:00
killerwife
1f9bbc9cba AQ20: Fixup Rajaxx encounter 2020-01-17 00:16:16 +01:00
killerwife
c74d241a32 BWL: Rescript mind exhaustion, possess visual and add scale spell to Razorgore 2020-01-17 00:06:54 +01:00
killerwife
779c801607 BWL: Fix some issues on Razorgore and Nefarian
Fixes razorgore egg destruction not working, fixes killing unwanted mobs on razorgore wipe
Fixes nef going back to weird mid air position
2020-01-17 00:06:51 +01:00
killerwife
3d68bd71de AQ20: Rework General Rajaxx related AIs using CombatAI and add missing scripts 2020-01-16 19:24:07 +01:00