Jump to content
  • 0

how to remove bonus casting time on bragi's poem?


Emonizer08

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  46
  • Reputation:   2
  • Joined:  07/28/14
  • Last Seen:  

good day guys, how to remove the bonus 30% reudce casting time of bragi's poem 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1583
  • Reputation:   244
  • Joined:  08/03/12
  • Last Seen:  

32 minutes ago, Emonizer08 said:

good day guys, how to remove the bonus 30% reudce casting time of bragi's poem 

I think its from this line https://github.com/rathena/rathena/blob/master/src/map/skill.cpp#L15154C7-L15154C20

	case BA_POEMBRAGI:
		val1 = 3 * skill_lv + status->dex / 10; // Casting time reduction
		//For some reason at level 10 the base delay reduction is 50%.
		val2 = (skill_lv < 10 ? 3 * skill_lv : 50) + status->int_ / 5; // After-cast delay reduction
		if (sd) {
			val1 += pc_checkskill(sd, BA_MUSICALLESSON);
			val2 += 2 * pc_checkskill(sd, BA_MUSICALLESSON);
		}
		break;

Maybe you can change the formula then depends on your needs.

if you want to remove the casting time reduction, maybe make the val1 value is 0.

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