-
Notifications
You must be signed in to change notification settings - Fork 301
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
Spell: Fix Runestrike #593
base: master
Are you sure you want to change the base?
Conversation
- fixes infinite aura duration - fixes infinite aura stacking - fixes aura not being removed when rune strike is used
56817 is meant to proc off after runestrike is used not explcitly removed. Configure spell_proc_event so that happens. |
@killerwife how does that work tho? as far as I can tell you can only use |
If it procs, charge is removed and as a result whole aura. Thats the only default behaviour of procs. Casting, damage, whatever else is optional behaviour. |
The spell_proc_event page says "All spells in this table must have Aura Id 42 (SPELL_AURA_PROC_TRIGGER_SPELL) as one of its Effects" |
Would this work? Whatever the f- SpellFamilyMask[A-C][0-2] is supposed to be is opaque to me
|
Well test and let me know. I am not capable of divining proc system from github. SpellFamilyMask corresponds to the spell you want it to proc off of, meaning family DK, flags runestrike |
No, doesn't work.
and none of them remove the aura
somehow, but that's a much larger number so it doesn't fit at all |
I now also tried it with this and all the variations thereof:
the only thing I haven't tried yet is to change the endianness |
Well, qsw shows you the mask exactly: 0x00000000 20000000 00000000 Thats A1, which ur not setting to 0x20000000 anywhere. Why are you rawdogging spells from spell_template instead of running QSW in Wine or making it work for linux? Not even I can work with spells directly without a tool. And if you do not understand how this works, there is exactly one option, putting a breakpoint in procspellanddamagefor and reading it. Proc system is more complex to script than everything else. |
It wouldn't be a problem if the exact same flags were not stored as uint32+uint32+uint32 in one table and as uint64+uint32 in another table. |
Ok, then i advise what i would do, put a breakpoint in core and figure it out. Otherwise I will have to. |
🍰 Pullrequest
This PR fixes multiple issues with Runestrike:
RuneStrike has a serverside enablement Aura similar to the warlock's demonic circle. This aura is currently being triggered by 56816 whenever the DK dodges or parries an attack, but the aura is never removed even if the duration goes to 0 because the aura is passive, also the aura stacks infinitely which can cause update packets larger than 10MB, which crashes the server due to an assert.
Additionally right now the Rune Strike enablement spell is not removed when Rune Strike is successfully cast.
How2Test
.list auras
on yourselfTodo / Checklist