Ovale Spell Priority

Ovale Spell Priority

6M Downloads

Demons blade talent DH

Hemario opened this issue ยท 3 comments

commented

Demons blade talent makes demons_bite into a passive. However, Ovale still shows the icon.
Some weird replaced_by logic is going on in the spells.ts file.

[967] >>> Computing 'spell(demons_bite)' at time=102486.941000
[967]    evaluating action: spell()
[966] >>> Computing 'demons_bite' at time=102486.941000
[966]    value is 344859
[966] <<< 'demons_bite' returns (0, inf) with computed value 344859 + (t - 0) * 0
[302] >>> Computing 'specialization("havoc")' at time=102486.941000
[301] >>> Computing '"havoc"' at time=102486.941000
[301] <<< '"havoc"' returns (0, inf) with constant value "havoc"
[302]    condition 'specialization' returns 0, inf, nil, nil, nil
[302] <<< 'specialization("havoc")' returns (0, inf) with computed none
[300] >>> Computing 'value' at time=102486.941000
[300]    value is 162243
[300] <<< 'value' returns (0, inf) with computed value 162243 + (t - 0) * 0
[306] >>> Computing 'specialization("vengeance")' at time=102486.941000
[305] >>> Computing '"vengeance"' at time=102486.941000
[305] <<< '"vengeance"' returns (0, inf) with constant value "vengeance"
[306]    condition 'specialization' returns nil, nil, nil, nil, nil
[306] <<< 'specialization("vengeance")' returns empty set with computed none
[304] >>> Computing 'value' at time=102486.941000
[304]    value is 203782
[304] <<< 'value' returns (0, inf) with computed value 203782 + (t - 0) * 0
Spell ID '344859' is replaced by spell ID '162243'.
Action not found for spell ID '162243'; checking for replaced spell ID '344859'.
Spell ID '162243' is not known; checking for replaced spell ID '344859'.
Spell ID '344859' requires 0.000000 seconds for power requirements.
Spell ID '344859' meets power requirements.
OvaleSpells:IsUsableSpell(344859, 102486.941000, nil) returned true, false
Didn't find an existing cd in next, look for one in current
Call GetSpellCooldown which returned 0.000000, 0.000000, 1
It returned -0.100000, 0.000000
Spell cooldown is in the past
Cooldown of spell 344859 is 0.000000 + 0.000000
GetSpellCooldown returned 0.000000, 0.000000
Spell cooldown is in the past
Cooldown of spell 344859 is 0.000000 + 0.000000
Spell ID '344859' requires 0.000000 seconds for power requirements.
[967]    Action spell still has 0.000000 charges but is on GCD (start=0.000000).
[967]    start=0.000000 atTime=102486.941000
[967]    Action spell is waiting for the global cooldown.
[967]    Action spell can start at 102486.941000.
[967] <<< 'spell(demons_bite)' returns (102486.941, inf) with computed action spell 344859
commented

image

commented

I guess we should follow the chain of replaced_by to the end.

commented

This can be closed.