Jump to content
  • 1

Instant Cast


simplemhan

Question


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

i want to know how to configure it, and what dex should i use to make it instant cast of skill.

thanks for helping me.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

Go to your conf/battle and find skill.conf

Find this line

// At what dex does the cast time become zero (instacast)?
castrate_dex_scale: 150

Just change the value. :)

Of course it will be useless if you set your server to Renewal Mechanics since according from renewal all skills will have 20% fixed casting time remaining regardless of the stats,equips and etc.

Find your Renewal.h

Find this line

#define RECASTING 1

Set it to 0 to disable Renewal Casting. :)

Of course don't forget to recompile the source code.

Edited by Kaito_Kid
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

thats why there still a delay in skill when casting it? thanks for the information

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

Well for the after cast delay for the skills.

You can still find it inside your skill.conf

Find the lines

// Delay time after casting (Note 2)
delay_rate: 100

// Does the delay time depend on the caster's DEX and/or AGI? (Note 1)
// Note: On Official servers, neither Dex nor Agi affect delay time
delay_dependon_dex: no
delay_dependon_agi: no

// Minimum allowed delay for ANY skills after casting (in miliseconds) (Note 1)
// Note: Setting this to anything above 0 can stop speedhacks.
min_skill_delay_limit: 100

You can change the Global duration for after-cast delay to all skills.

But if you want to be specific you can find and adjust the after-cast delay for each skill at your skill_cast_db.txt

Edited by Kaito_Kid
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

if i set this to 0

#define RECASTING 1

this line will be implemented?

// At what dex does the cast time become zero (instacast)?

castrate_dex_scale: 150

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

Yes. just give it a try. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

there are many ways to have an instant cast..

Option 1 set your server to pre-casting by commenting this line @ 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

then set your desire value for this config

// At what dex does the cast time become zero (instacast)?
castrate_dex_scale: 150

Option 2 if you want to use renewal casting but there is a chance to have an instant cast

then edit this in your config to your desire value

// How much (dex*2+int) does variable cast turns zero?

vcast_stat_scale: 530

and edit your skill_cast_db by setting -1 to all skills you want to have an instant cast when it reaches the value you set..

// Structure of Database:

// SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down,Fixed Casting Time

example:

//-- MG_STONECURSE 16,1000,0,0,5000,20000,0,-1

:meow:

Link to comment
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.   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.

×
×
  • Create New...