Jump to content
  • 0

Bragi skill wont affect wizards skill


Question

1 answer to this question

Recommended Posts

Posted

I won't give you a full solution as it depends on many things and requires multiple sources to be modified but to give you a pointer check out map/skill.c.

 

For pre-renewal cast you need to check this function:

int skill_castfix_sc(struct block_list *bl, int time)

 

For renewal:

int skill_vfcastfix(struct block_list *bl, double time, uint16 skill_id, uint16 skill_lv)

 

For aftercast delay:

int skill_delayfix (struct block_list *bl, uint16 skill_id, uint16 skill_lv)

 

In those functions if you search for SC_POEMBRAGI you see the cast time reduction from Bragi. What you need to do there is to check the skill_id and only apply the reduction if the skill_id is not equal to one of the skills you want to exclude.

 

It could look like:

if(skill_id != WZ_METEOR && skill_id != WZ_STORMGUST && skill_id != WZ_VERMILION) {
  //Bragi code here
}

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