
Basics of Weapon Speed
| Speed Categories There are eight weapon speed categories:
Each category describes a range of attack speeds, regardless of weapon type. For example, a Fast sword doesn't necessarily attack with the same speed as a Fast bow. But they would both fall in the same speed range category. Below is a table with the speed ranges for each category:
These values denote the number of seconds required to swing your sword, fire your bow, etc. In other words, the weapon speed value denotes a single attack duration. So, if you wanted to calculate your theoretical total damage output over a period of time (N seconds), you could do it in this fashion: Average Damage Per Attack * ( N / Attack Duration ) Below is a table of some weapon attack speeds gathered with a simple skrit modification that reports the attack_loop_duration$ value in job_attack_object_melee.skrit and job_attack_object_ranged.skrit. The inserted call is essentially: Report.SScreenF("Attack Duration %2.2f", attack_loop_duration$);...which also prints out monster attack durations :)
Changing Weapon Speed The attack animation speed values are stored in heroes.gas, like this: [anim_durations] {
fs1 = 0.830; //1-H melee fs2 = 0.830; //1-H melee w/ shield fs3 = 1.250; //2-H non-sword melee fs4 = 1.250; //2-H sword melee fs5 = 1.250; //staff fs6 = 1.000; //bow fs7 = 0.125; //x-bow & minigun fs8 = 1.000; //no weapon w/ shield } The reload_delay's are usually specified in the base weapon template for each weapon type. Custom reload delays are also sometimes specified in the weapon template itself. So, in summary:
Credits and For Further Reference
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||