Jump to content
  • 0
Sign in to follow this  
cumbe11

Magnum Break, element 100% fire

Question

Hello good evening, the skill Magnum Break, enchants the weapon with 20% effect fire, wanted to edit the src to that effect stay 100% ..

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

look into the skill.c file

 

case MS_MAGNUM:skill->area_temp[1] = 0;map->foreachinrange(skill->area_sub, src, skill->get_splash(skill_id, skill_lv), BL_SKILL|BL_CHAR,src,skill_id,skill_lv,tick, flag|BCT_ENEMY|1, skill->castend_damage_id);clif->skill_nodamage (src,src,skill_id,skill_lv,1);// Initiate 10% of your damage becomes fire element.sc_start4(src,SC_SUB_WEAPONPROPERTY,100,3,20,0,0,skill->get_time2(skill_id, skill_lv));if( sd )skill->blockpc_start(sd, skill_id, skill->get_time(skill_id, skill_lv));else if( bl->type == BL_MER )skill->blockmerc_start((TBL_MER*)bl, skill_id, skill->get_time(skill_id, skill_lv));break;

 

and replace

 

 

sc_start4(src,SC_SUB_WEAPONPROPERTY,100,3,20,0,0,skill->get_time2(skill_id, skill_lv));

 

with

 

sc_start4(src,SC_SUB_WEAPONPROPERTY,100,3,100,0,0,skill->get_time2(skill_id, skill_lv));

 

 

now it should deal 100% fire Dmg

 

be sure to recompile your server after changing it :)

Edited by ossi0110

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.