Remove fixed casting time

ayre

New member
Messages
23
Points
0
Emulator
Other
Is it possible to remove the fixed casting time in renewal so a player can instantly cast a skill once the required amount of stats is reached?

For example with the current renewal formula : dex*2+int = 500.

Once a player hits the required 500 number with the specific dex and int, the caster would achieve instacast

 
if( (status_get_dex(bl)*2 + status_get_int(bl)) >= 530 )
  fixed = 0;
Doesn't that mean that, once a player hits 530 stats, it'll instacast?

fixed = (int)time * 20 / 100; // fixed time   time = time * 80 / 100; // variable time
What if I want a player to be able to bring the 80% variable up to 100% variable? For example, what if a player didn't want to invest too much stats to hit 530 but would like to cast 95% faster. So they would invest X amount of stats instead. Would I change the 80 / 100 to  95 / 100? What about the fixed portion?

EDIT

fixed = (int)time * 1 / 100; // fixed timetime = time * 99 / 100; // variable time
Well changing it to that doesn't seem to do much. Is there something else I'm missing?

vcast was set to 400 and castrate_dex was set to 100. My character had 255 on all stats.

 
Last edited by a moderator:
  castrate_dex only affect pre-pre casting time

so...

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

time = time * 95 / 100; // variable time

 vcast was set to 400

once a player hits 400 stats, yup~ it'll instacast.

if( (status_get_dex(bl)*2 + status_get_int(bl)) >= battle_config.vcast_stat_scale)

fixed = 0;

 
Last edited by a moderator:
So if someone were to get 380 points (which is 95% of 400) in stats due to dex*2+int=400, will it actually reduce casting time by 95%?

13 seconds (actual) - 12.35 seconds ( 95% reduction) = .65 seconds to cast

I'll have to test it again when I get home since I really didn't see a difference.

 
Back
Top