Jump to content
  • 0
Hadeszeus

Remove 20% Fixed Cast Time in Renewal IF

Question

Anyone knows how to removed 20% Fixed Cast Time while RENEWAL_CAST is enable, IF the user has already met the max castrate_dex_scale and vcast_stat_scale 20% Fixed Cast Time will be ignored.

 

In the default set up. If RENEWAL_CAST is enable even you reach the max castrate and vcast scale you will still need 20% Fixed Cast Time reduction to no cast.

 

/// renewal cast time
/// (disable by commenting the line)
///
/// leave this line to enable renewal casting time algorithms
/// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats.
/// example:
///  on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
///  "fixed cast time" which can only be reduced by specialist items and skills
#define RENEWAL_CAST

 

 

// At what dex does the cast time become zero (instacast)?
castrate_dex_scale: 200 //150
 
// How much (dex*2+int) does variable cast turns zero?
vcast_stat_scale: 530 //530

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

add before  this line  // underflow checking/capping

 

 

if( (status_get_dex(bl)*2 + status_get_int(bl)) >= 530 )

  fixed = 0;

 

OMG Thank you! 

 

If you don't mind can u also give the line of 20% fixed castime? I want to reduce the value maybe to 15%

Share this post


Link to post
Share on other sites
  • 0

 

add before  this line  // underflow checking/capping

 

 

if( (status_get_dex(bl)*2 + status_get_int(bl)) >= 530 )

  fixed = 0;

 

OMG Thank you! 

 

If you don't mind can u also give the line of 20% fixed castime? I want to reduce the value maybe to 15%

 

around line 13921   , you can find  20% fixed castime

 

fixed = (int)time * 20 / 100; // fixed time

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.