After Cast Delay Reduction Algorithm #6135
Labels
component:core
A fault that lies within the main framework of rAthena
mode:prerenewal
A fault that exists within the pre-renewal mode
mode:renewal
A fault that exists within the renewal mode
priority:low
A fault that affects rAthena in one piece of functionality and is self-contained
type:bug
Issue that is a bug within rAthena
rAthena Hash:
3115a1d
Client Date:
2021-01-07aRagexeRE
Server Mode:
Renewal
Description of Issue:
Result:
The After Cast Delay Algorithm doesn't match.
The skill Poem of Bragi (Magic Strings) after cast delay reduction seems to be multiplicative instead of a total sum of all reductions combined.
Testing with Kiel-D-01 + Poem of Bragi delivers only a x 0.49 reduction instead of x 0.6.
The issue could possibly be caused by being calculated similiarly to the Variable Cast time:
a x ( 1 - b ÷ 100 ) x ( 1 - c ÷ 100 ) = 1470ms
a = Tarot Card of Fate after cast delay (3000ms)
b = Poem of Bragi reduction (30)
c = Kiel-D-01 reduction (30)
Expected Result:
Cast Delay ( seconds ) = BaseDelay × ( 1 − Sum_DelReduc ÷ 100 )
BaseDelay = Base Cast Delay of a skill.
Sum_DelReduc = Sum of reductions for Cast Delay.
Which would result in the expected reduction of:
a x (( 1 - b ÷ 100 ) + ( 1 - c ÷ 100 )) = 1200ms
a = Tarot Card of Fate after cast delay (3000ms)
b = Poem of Bragi reduction (30)
c = Kiel-D-01 reduction (30)
In short: calculates first skill based reduction, then gear. Instead of a deduction of the entire sum.
How to Reproduce:
Use both Poem of Bragi (skill) and a Kiel-D-01 Card.
Then check the after-cast timer of Tarot Card of Fate. (original 3000ms)
The result will be 1470ms instead of the expected 1200ms.
Official Information:
https://irowiki.org/wiki/Skills#Cast_Delay
Unfortunately i don't have any KRO source.
Modifications that may affect results:
None
Additional Information:
I haven't tested any other skills. It's possibly an isolated case.
The text was updated successfully, but these errors were encountered: