cmangos / issues

This repository is used as a centralized point for all issues regarding CMaNGOS.
180 stars 47 forks source link

Quest Deliver the Plans to An'telas 9166 - afterscript #2854

Open killerwife opened 5 years ago

MantisLord commented 4 years ago

Script already existed, but the Night Elf Ambushers stopped short of attacking Magister Sylastor. Alternate approach which also works to solve this is adding a dbscript to the end of their movement path instead of just generic waypoint pause command:

DELETE FROM dbscripts_on_creature_movement WHERE id=1623801;
INSERT INTO dbscripts_on_creature_movement (id, delay, priority, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(1623801, 0, 0, 32, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Waypoint Pause'),
(1623801, 1000, 0, 26, 0, 0, 0, 16237, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Night Elf Ambusher - Attack Magister Sylastor');
UPDATE creature_movement_template SET script_id=1623801 WHERE entry=16238 AND script_id=7 AND ((pathId=1 AND point=4) OR (pathId=2 AND point=6));
Saltgurka commented 4 years ago

Actually Magister Sylastor prefers letting his scouts do the fighting while he stands behind idling: https://youtu.be/d9QOEgUOVNE?t=78 Don't remember what happens after the scouts die (if they realistically ever do), but I have that recorded. Just can't really access it from my current location

MantisLord commented 4 years ago

Hm yes, it seems you're right. The linking change I made here should be reverted. Maybe their movement should just continue along a bit longer after the fight with the Tranquillien Scouts, that would also resolve it. Right now they pause waypoint movement just far enough away to aggro the scouts, but not Magister Sylastor.

Whenever you have time to dig up that recording you mentioned, perhaps you can help me clean up my mess here :)

All I know is that @killerwife told me they should be able to both attack and kill Sylastor if they are uninterrupted by the player.

Saltgurka commented 4 years ago

Will dig it up as soon as I'm able to :)

al3xc1985 commented 10 months ago

3 years since u started @Saltgurka