Jump to content
  • 0

Renewal Casting Time


Question

Posted

Is it possible to change the variable casting time from 80% to 100%, removing that fixed time of 20%? I tried changing the formula in skill.c from

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

 

to

 

fixed = (int)time * 1 / 100; // fixed time
time = time * 99 / 100; // variable time

 

I have max stats, 255 and it doesn't seem to change much.

1 answer to this question

Recommended Posts

Posted

src/config/renewal.h


/// 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

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...