Serenity 0 Report post Posted October 29, 2018 (edited) i got an issue with my max aspd on all of the classes. it gets stuck in 500. im not a pro dev nor a pro scripter im just learning. my current code for the base aspd is: SetChaAttrMax( ATTR_BASPD 200000000000 ) the current value is so high cause i tried many numbers and thats what i tried right now x. x would be great if u could help me!, also thanks in advance (im not an english speaker sorry for the broken languaje) Edited October 29, 2018 by Serenity Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted October 29, 2018 Try checking out the function "ExAttrCheck" within AttrCalculate.lua, it sets a maximum of 300 base attack speed. 1 Quote Share this post Link to post Share on other sites
Serenity 0 Report post Posted October 30, 2018 20 hours ago, Angelix said: Try checking out the function "ExAttrCheck" within AttrCalculate.lua, it sets a maximum of 300 base attack speed. Can you Send me the formula? i got this format; local aspd = math.floor ( 100000/ (math.min ( math.floor( 65 + Agi(role) * Aspd_agi_rad[job] ) , 300 ) ) ) Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted October 30, 2018 That the formula where it caps at 300... 1 Quote Share this post Link to post Share on other sites
Serenity 0 Report post Posted October 30, 2018 39 minutes ago, Angelix said: That the formula where it caps at 300... ohhhhhh right! sorry! and thanks soooo much! i see now! Quote Share this post Link to post Share on other sites
Serenity 0 Report post Posted October 30, 2018 local aspd = math.floor ( 100000/ (math.min ( math.floor( 65 + Agi(role) * Aspd_agi_rad[job] ) , 9999 ) ) ) 41 minutes ago, Angelix said: That the formula where it caps at 300... so thats the way to do it? or how i want it to be 9999! Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted October 30, 2018 38 minutes ago, Serenity said: local aspd = math.floor ( 100000/ (math.min ( math.floor( 65 + Agi(role) * Aspd_agi_rad[job] ) , 9999 ) ) ) so thats the way to do it? or how i want it to be 9999! It will be 9999 without modifiers like Berserk or other effects. 1 Quote Share this post Link to post Share on other sites
Serenity 0 Report post Posted October 30, 2018 5 minutes ago, Angelix said: It will be 9999 without modifiers like Berserk or other effects. thanks pal! Quote Share this post Link to post Share on other sites
DangThao 81 Report post Posted December 30, 2018 On 10/29/2018 at 10:40 PM, Angelix said: It will be 9999 without modifiers like Berserk or other effects. Any ideas why in some server file without editing that you can go above that base attackspeed? I check some files and tested and it will go above that base attackspeed of 300 when equipped set with over 1k AGI stats(custom set with high agi). Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted January 1, 2019 On 12/30/2018 at 10:34 AM, DangThao said: Any ideas why in some server file without editing that you can go above that base attackspeed? I check some files and tested and it will go above that base attackspeed of 300 when equipped set with over 1k AGI stats(custom set with high agi). Base attack speed is 300, but it can reach above with passive/active skills and equipment that grant "Attack Speed", either by fixed amount or percentage. Quote Share this post Link to post Share on other sites