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
Instant next attack
Author Message
darksun84
Sir Spamalot
****

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



Post: #8
RE: Instant next attack
The calculation used by UseQuick is different from the one used for combat, it's actually the calculation used by all the other skills!
This a quick summary how the skill chance is calculated:
The ACTDIFF value (ARGN2 in @SkillUseQuick/@UseQuick) is subtracted from the adjusted skill value (skill + stat bonuses), then the chance of success follow this sort of pattern:
Code:
Every 10% step of difference, the increment/decrement chance is halved in the following way:
At -50% difference the chance is around 1.5% (a decrement of 1.5625%)
At -40% difference the chance is around 3.1% (a decrement of 3.125%)
At -30% difference the chance is around 6.2% (a decrement of 6.25%)
At -20% difference the chance is 12.5% (a decrement of 12.5%)
At -10% difference the chance is 25% (a decrement of 25%)
At 0 difference chance is: 50%
At +10% difference the chance is 75% (an increment of 25%)
At +20% difference the chance is 87.5% (an increment of 12.5%)
At +30% difference the chance is  around 93.7% (an increment of 6.25%)
At +40% difference the chance is around  96.8%(an increment of 3.125%)
At +50% difference the chance is around 98.3% (an increment of 1.5625%)
You can overwrite the behaviour by using @UseQuick (in the fencing skill) or @SkillUseQuick (in a player event).

So if you want that your second attack strikes around a 50% chance, just use
skillusequick <weapon.skill>,<<weapon.skill>>

See:
https://wiki.spherecommunity.net/index.p...llUseQuick
https://wiki.spherecommunity.net/index.p...=@UseQuick
(This post was last modified: 10-13-2017 06:04 AM by darksun84.)
10-13-2017 06:02 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Instant next attack - Tyxn - 10-13-2017, 01:36 AM
RE: Instant next attack - darksun84 - 10-13-2017, 04:38 AM
RE: Instant next attack - Tyxn - 10-13-2017, 05:24 AM
RE: Instant next attack - darksun84 - 10-13-2017, 05:30 AM
RE: Instant next attack - Tyxn - 10-13-2017, 05:41 AM
RE: Instant next attack - darksun84 - 10-13-2017, 05:47 AM
RE: Instant next attack - Tyxn - 10-13-2017, 05:50 AM
RE: Instant next attack - darksun84 - 10-13-2017 06:02 AM
RE: Instant next attack - Tyxn - 10-13-2017, 06:07 AM

Forum Jump:


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