Jump to content

[Patch] Implement "OnCreatureSummoned" for instance scripts


Auntie Mangos

Recommended Posts

Hmm, better to reject this.

These few rare cases where this would really be required, we can

* script the summoned npcs in sd2

* script the summoner in sd2

* add a core change similar to http://getmangos.eu/community/topic/15978/patch-make-use-of-original-caster-for-justsummoned-spellhittarget/

(directly trigger JustSummoned for the original caster with no other changes)

Link to comment
Share on other sites

  • 41 years later...

* What bug does the patch fix? What features does the patch add?

Implements virtual void OnCreatureSummoned for instance scripts. This is required in order to better handle creatures which are summoned by world triggers (which has the same creature entry in all instances). These cases can be found at Anub'arak (both Azjol and ToC) and a few other examples in Draktharon Keep and Utgarde Pinnacle. There may be more of these...

* For which repository revision was the patch created?

11830

* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

none

* Who has been writing this patch? Please include either forum user names or email addresses.

me

* Patch:

http://paste2.org/p/1722939

Link to comment
Share on other sites

Does this also imply that for instances where those bosses are, the random dungeon finder will give eof?

Because there are some (Utgarde Pinnacle, The Nexus, Violet Hold and others) where there are extra bosses to be summoned but because they are not summoned at the moment, the instance can not be finished and you'll not get credit for using the random dungeon finder.

Or is this not related at all?

Link to comment
Share on other sites

Does this also imply that for instances where those bosses are, the random dungeon finder will give eof?

Because there are some (Utgarde Pinnacle, The Nexus, Violet Hold and others) where there are extra bosses to be summoned but because they are not summoned at the moment, the instance can not be finished and you'll not get credit for using the random dungeon finder.

Or is this not related at all?

Actually no. This patch is only for scripting purposes and it's not related to dungeon finder in any way.

I have no idea how dungeon finder works but it may be possible the idea of this patch may solve your issue as well.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use