All times are UTC - 5 hours [ DST ]


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Swing Interval Calculator
PostPosted: Mon Oct 22, 2012 11:39 pm 
Offline
UOSA Subscriber!
UOSA Subscriber!
User Rep: Good
Good
 Profile

Joined: Wed Jun 24, 2009 7:44 pm
Posts: 4607
This is going to be a short and sweet guide.

Calculating swing speed is kind of arduous and complex. It's easy to calculate in a spreadsheet program (like Excel) though. Here's the formula:

Code:
=MIN(MAX((ROUNDDOWN(60000/((STAM+100)*SPEED),0))*0.25,1.25),10)

...where STAM is your current stamina, and SPEED is the weapon's speed (according to this table). You can simply remove those two variables and reference a cell in the sheet instead. For example:

Code:
=MIN(MAX((ROUNDDOWN(60000/((A2+100)*B2),0))*0.25,1.25),10)

...where A2 has the stamina and B2 has the weapon speed you want to model.

What does this formula do? In words:

Take 60000 and divide by (STAM+100)*SPEED. This is the number of "ticks" between swings. Now lop off the decimal (in other words, round down to the nearest number of ticks). Multiply by 0.25 to put it into seconds (there's 4 ticks per second in UO time). This is your swing interval, which can never be less than 1.25 seconds and never more than 10 seconds.

_________________
Tips & Tricks
Tips & Tricks pt. 2
Animal Taming
Healing
Weapon Basics


Top
 
These Support SecondAge
Links open a new window.
UOSA Donors & Subscribers do not receive these ads.

 Post subject: Re: Swing Interval Calculator
PostPosted: Tue Oct 23, 2012 7:25 am 
Offline
User Rep: Fair
 Profile

Joined: Wed Dec 24, 2008 4:19 pm
Posts: 273
Why do I read posts like this so early in the morning?

Now my brain hurts.


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Support Second Age: These links Open in a New Window

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Extended by Karma MOD © 2007—2012 m157y