Rune that converts to heal at the end of the duration
I wanted to make a rune that would convert the unused portion of the rune to a heal when the duration was up (I have several 30 sec runes). This is how I did it.
Added a boolean to tell me if it is a healing ward in spdat.cpp: Code:
bool IsHealingWard(int16 spell_id) Code:
if(IsHealingWard(buffs[slot].spellid) && buffs[slot].melee_rune > 0) |
Works fine once declared in spdat.h, I used spell_id 27993 which was copied from Rune I as a test...
|
All times are GMT -4. The time now is 04:52 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.