wolfdragon
Members-
Posts
5 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
wolfdragon's Achievements
Newbie (1/3)
0
Reputation
-
<div class='quotetop'>QUOTE (w12x @ Jul 7 2008, 01:35 AM) <{POST_SNAPBACK}></div> Oh awesome, thank you so much. =) ~Seline~
-
<div class='quotetop'>QUOTE (w12x @ Jul 6 2008, 02:01 AM) <{POST_SNAPBACK}></div> If I recall correctly, there are some mobs on the new Isle that can tell players what percentage the current phase is at. I think that'll require SD2 support. ~Seline~
-
Dude, you rock! Just one question, does this allow a third-party scripting library (such as ScriptDev2) to have access to GameEvents? ~Seline~
-
[fix][6029] Tempsummon_timed_or_dead_despawn
wolfdragon replied to Auntie Mangos's topic in ... acceptedOld
Revision: 5960 Written by: Seline Description: If a creature that was temporarily summoned using TEMPSUMMON_TIMED_OR_DEAD_DESPAWN was killed, it would despawn by whichever was the faster timer: the timer that sets the creature's death state to DEAD (which is based on config values as of a few revisions ago when corpse decay was properly implemented), or if the unsummon timer ran out, as it only checks if the creature is not in combat, regardless of whether it's dead or alive. This caused issues where a boss (for example) was temporarily summoned with an unsummon timer of 120000, but the config values for boss corpse decay is set to something much higher. When the boss dies, the corpse would despawn when the 120000 ran out, instead of stopping that timer and waiting for the death state to be set to DEAD and THEN despawning it. I don't know if it's intentional or not, but it was quite annoying in some situations (details on demand). Anyway, it's a simple fix, just add an isAlive() check at the same place as the !isInCombat() check and the timer will only decrement if the creature is out of combat and alive, so the creature would properly despawn on death when its corpse decays. Index: src/game/TemporarySummon.cpp =================================================================== --- src/game/TemporarySummon.cpp (revision 5960) +++ src/game/TemporarySummon.cpp (working copy) @@ -129,7 +129,7 @@ return; } - if (!isInCombat()) + if (!isInCombat() && isAlive() ) { if (m_timer <= diff) { Hope you understood and that this helps! ~Seline~
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®