Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Weapon problem
|
Author |
Message |
Thysis
Apprentice
Posts: 7
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2015
Reputation: 0
|
Weapon problem
oki have a Big problem i cant set the weapon speed max exemple i want the same speed with 100 dex and 3k2 dex exemple it is possible ?? if yes how ?? here one of my fencing weapon down there the trouble is if i set the speed for a nice speed with 100 dex it ok but if i boost dex to 500 it go lightning speed and i dont want this i want to stay whit the same weapon speed when i got 100 dex
[ITEMDEF i_poignard_rouille]
DEFNAME=i_poignard_rouille
NAME=Poignard rouille
ID=i_knife_skinning
TYPE=t_weapon_fence
SKILL=Fencing
REQSTR=0
SPEED=20
WEIGHT=2
TWOHANDS=N
DAM={4 12}
TAG.OVERRIDE.SPEED 35
TEVENTS=t_speciauxe
RESOURCES=1 i_ingot_rusty
SKILLMAKE=BLACKSMITHING 0.1, t_weapon_mace_smith
ON=@CREATE
HITPOINTS=100
COLOR=0aa6
CATEGORY=Armes
SUBSECTION=Armes +0
DESCRIPTION=Poignard rouille
|
|
05-11-2016 12:54 AM |
|
|
Coruja
Sphere Developer
Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7
Dimension Shard
|
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 |
|
|
User(s) browsing this thread: 1 Guest(s)