SphereCommunity
Archery delay after start - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Archery delay after start (/Thread-Archery-delay-after-start)



Archery delay after start - Indiaret - 09-04-2023 01:57 AM

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!


RE: Archery delay after start - darksun84 - 09-07-2023 10:10 PM

try the DELAY value in the skill block field


RE: Archery delay after start - cele_35 - 09-29-2023 07:58 PM

// 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


RE: Archery delay after start - Indiaret - 10-03-2023 08:22 AM

(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.