Magnum Break, element 100% fire

cumbe11

New member
Messages
46
Points
0
Hello good evening, the skill Magnum Break, enchants the weapon with 20% effect fire, wanted to edit the src to that effect stay 100% ..

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


 
Last edited by a moderator:
Back
Top