Ovale Spell Priority

Ovale Spell Priority

6M Downloads

DemonicFuryDeficit() doesn't work - fix included

komurka4 opened this issue ยท 1 comments

commented

Function DemonicFuryDeficit() doesn't work.

Test script:

Include(ovale_common)
Include(ovale_trinkets_mop)
Include(ovale_trinkets_wod)
Include(ovale_demonhunter_spells)

AddIcon enemies=1 help=main specialization=havoc
{
	if DemonicFuryDeficit() < 30 Spell(chaos_strike)
	if DemonicFuryDeficit() >= 30 Spell(demons_bite)
}

Should show you Demon Blades/Demon's Bite until you're 30 from capping fury, then show Chaos Strike.

How to fix:
Modify file Power.lua, change:
fury = { id = SPELL_POWER_FURY, token = "FURY", mini = 0, costString = FURY_COST }
to:
demonicfury = { id = SPELL_POWER_FURY, token = "FURY", mini = 0, costString = FURY_COST }

commented

use FuryDeficit() instead