Jump to content
  • 0

Request > New effect for Magnum Break


Question

Posted

Hello everybody!


I need help making sure that when the player activates the "magnum break" ability, the same effect as the teacher's "flame launcher" ability appears on the side of the screen, and obviously that he charms the weapon with fire. Could someone help me, please?

2 answers to this question

Recommended Posts

  • 0
Posted

In src/map/skill.cpp, find:
case SM_MAGNUM:
...
sc_start4(src,src,SC_WATK_ELEMENT,100,3,20,0,0,skill_get_time2(skill_id, skill_lv));

Add:
sc_start(src, src, SC_FIREWEAPON, 100, skill_lv, skill_get_time2(skill_id, skill_lv));

So it looks like:

case SM_MAGNUM:
...
sc_start4(src,src,SC_WATK_ELEMENT,100,3,20,0,0,skill_get_time2(skill_id, skill_lv));
sc_start(src, src, SC_FIREWEAPON, 100, skill_lv, skill_get_time2(skill_id, skill_lv));

Re-compile server and try it!

  • 0
Posted

The above code worked. Thank you!

The problem is that the status on the side of the screen starts in the middle and lasts only a few seconds.

Where can I change this skill time?

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