SphereCommunity

Full Version: Archery delay after start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

any ideas how to make delay in skill archery after attack started? It has some hardcoded pre-hit which instantly go to @hitTry. Tried timerd, but it works only for other fighting skills.

on=@attack
tag.firstAttack=1

on=@skillStart
if (<argn1>==31) //archery
if (<tag.firstAttack>)
timerd=<getswingdelay> // not working
tag.firstattack=""
endif
endif

on=@hitTry
argn1=<eval 2*<getswingdelay>>
return 0

Thanks a lot!
try the DELAY value in the skill block field
// If COMBAT_ARCHERYCANMOVE is not enabled, wait this much tenth of seconds (minimum=0) after the player
// stopped moving before starting a new attack
// (Values changed between expansions. SE:2~3 / AOS:5 / pre-AOS:10)
CombatArcheryMovementDelay=0

If I understand correctly, there is such a thing in sphere.ini for archery
(09-07-2023 10:10 PM)darksun84 Wrote: [ -> ]try the DELAY value in the skill block field

Yep it works in definition of skill archery. thank you.
Reference URL's