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
Weapon problem
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Weapon problem
the SPEED value on weapons is not an absolute value, it's just a variable used by the combat swing speed formula, which uses many variables (dex / stam / weapon speed / etc) to calculate the swing speed

you can choose between many pre-defined formulas (sphere custom / pre-AOS / AOS / SE / ML) using CombatSpeedEra on sphere.ini, but all these formulas also uses DEX to calculate the speed
https://github.com/Sphereserver/Source/b...lc.cpp#L25

if you don't like any of these formulas, you can script your own formula using ARGN1 on @HitTry trigger
Code:
[EVENTS e_combat] //add this event on all chars
ON=@HitTry
ARGN1=20
this will make all weapons attack in the same speed of 2.0s. Of course this is just an example, you must add your own formula on the script
05-11-2016 04:56 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Weapon problem - Thysis - 05-11-2016, 12:54 AM
RE: Weapon problem - Coruja - 05-11-2016 04:56 AM
RE: Weapon problem - Thysis - 05-27-2016, 01:59 AM
RE: Weapon problem - pointhz - 05-27-2016, 07:45 AM
RE: Weapon problem - evening - 08-12-2017, 10:53 PM

Forum Jump:


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