Part of unified-db/Database#124
This is required because EAI engine isn't good enough to properly support the script for these creatures
(based on 40965b3500)
Signed-off-by: Cala <calaftp@free.fr>
* Add the Nagmara's Potion of Love event: she and Private Rocknot will
open the bar back door and go out for some lovely time. The event is
triggered by quest completion or gossip option for players having
already completed the quest.
* Code clean up (white spaces, tabs, comments...)
Data for this event are from retail
(backported from 7de3114)
* Now NPC 8982 (Ironhand Guardian) will start using their flamethrower
spell only once Magmus is engaged and they will never stop afterwards
See: https://github.com/classicdb/database/issues/715
(backported from 75119e7)
* Scripted NPC Plugger Spazzring. It will now:
- react when pickpocketed (with some delay)
- use his abilities in combat
- warn and attack people stealing his goods
- activate Phalanx on death and spawn a patrol
- use random texts (says and yells)
* Small fixes from previous commits
(backported from c9cb5aa)
* Add the bar patrol event when Ribbly is killed (should also be true
for Plugger but this will come in next commit)
* Add a few basis ground for Plugger script which will come soon
(backported from 21d1954)
* Arena event:
- fix a wrong use of urand for the crowd cheering
- now use the correct number of NPCs per wave (thanks @Tobschinski for
the values)
- code and comments cleanup
* Bridge event (thanks @Schmoozerd for his suggestions):
- fix NPC summon type
- use Set/GetData
* Rocknot event:
- add missing texts
- fix build
- handle server reset if event is already complete
- slightly lower the probability of random emote for patrons
- now handle nearby patrons' reaction in escort script to match
Phalanx's one
* SQL:
- Fix missing queries
(backported from 1bbdffa)
Implement Hurley Blackbreath event in the Grim Guzzler:
- he will now spawn with his three cronies once the three kegs are
broken
Data are from retail
(backported from 39e58be)
Improve Private Rocknot event in Grim Guzzler:
- bar patrons behavior is scripted (emotes, reaction to event)
- Phalanx is scripted (only for this event for now) will now move to
bar the door
- Timing was slightly adjusted
- More polish in Rocknot scripting (emotes, texts, spells)
Many of the data are from retail (not all like Phalanx faction and WP)
Visual aspect of this patch is similar to retail as seen in:
https://www.youtube.com/watch?v=3mIkmIdpEW4
(backported from 5637705)
Now two guards will spawn at each end of the bridge and run toward the
player. If not engaged, they will randomly move at the center of the
bridge until instance reset.
Data are from retail.
See: https://github.com/classicdb/database/issues/777
(backported from b622863)
Thanks to @grz3s for providing the data
Closescriptdev2/scriptdev2#180
ToDo: add combat spells to the main quest characters
(backported from f39bef6)
Signed-off-by: Cala <calaftp@free.fr>