The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Archery delay after start
Author Message
Indiaret
Apprentice
*

Posts: 45
Likes Given: 3
Likes Received: 1 in 1 posts
Joined: Apr 2016
Reputation: 0



Post: #1
Archery delay after start
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!
(This post was last modified: 09-04-2023 01:58 AM by Indiaret.)
09-04-2023 01:57 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Archery delay after start
try the DELAY value in the skill block field
09-07-2023 10:10 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
cele_35
Apprentice
*

Posts: 7
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2019
Reputation: 0



Post: #3
RE: Archery delay after start
// 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-29-2023 07:58 PM
Find all posts by this user Like Post Quote this message in a reply
Indiaret
Apprentice
*

Posts: 45
Likes Given: 3
Likes Received: 1 in 1 posts
Joined: Apr 2016
Reputation: 0



Post: #4
RE: Archery delay after start
(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.
10-03-2023 08:22 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)