Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fake death for saronite vapors. #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add fake death for saronite vapors. #27

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 20, 2015

Need because saronite vapors should cast spell on ''death''
SPELL_SARONITE_VAPORS = 63323
From MangosR2 patch spell(testing long ago and working)
https://github.com/mangosR2/mangos/blob/master/src/game/SpellAuras.cpp#L2742

@xfurry
Copy link
Member

xfurry commented Apr 20, 2015

This is not required...
If it doesn't work, then we have to fix it in the core.

@ghost
Copy link
Author

ghost commented Apr 20, 2015

For some reason this is not required?
And why do you put the flag CAST TRIGGERED, this is complete nonsense.

@xfurry
Copy link
Member

xfurry commented Apr 20, 2015

Fake death is not required and not happening. This is confirmed by sniff.
CAST_TRIGGERED flag is required when a creature casts a spell at JustDied(), in order to force the cast.

@ghost
Copy link
Author

ghost commented Apr 20, 2015

Fake death is not required and not happening. This is confirmed by sniff.

For something as reliable. Your method does not work, then I really tested. And mine is reliable and will work.

CAST_TRIGGERED flag is required when a creature casts a spell at JustDied(), in order to force the cast.

The course that will be necessary to change the corpse delay of 30 seconds, the NPC has no loot, who knows when he will go into despawned.
CAST_TRIGGERED works not for all spell.

@ghost
Copy link
Author

ghost commented Oct 6, 2015

Close request please - he is not compiled. Need delete.
Note - for Vapor need set corpse delay, because on death cast spell Saronite Vapor. Aura valid 30 seconds.
P.S: R2 patch tested in game and compile - working! Thanks @Reamer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants