ScriptUO

Official ScriptUO EasyUO Scripts => Script Snippets => Topic started by: Superslayer on December 20, 2009, 06:59:34 PM

Title: SuperSlayer's FC and FCR
Post by: Superslayer on December 20, 2009, 06:59:34 PM
Since I needed a simple quick sub to do this, I wrote it up quick and here it is.

Code: [Select]
GoSub SSfc_fcr #contid Faster , #spc , Casting 16
GoSub SSfc_fcr #contid Faster , #spc , Cast , #spc , Recovery 22

%1 = the container that is searched i.e. your paperdoll - you can change this
%2 = Faster , #spc , Casting / Faster , #spc , Cast , #spc , Recovery - do not change these
%3 = 16/ 22 - do not change these

Total Faster Casting / Recovery is returned in #result

Example:
Code: [Select]
GoSub SSfc_fcr #contid Faster , #spc , Casting 16
set %FC #result
GoSub SSfc_fcr #contid Faster , #spc , Cast , #spc , Recovery 22
set %FCR #result

Although I'm not 100% positive on this, I included at the bottom of this script a table of FC & FCR for magery and chivalry.

Enjoy !