lordjedi3 Posted January 5, 2019 Posted January 5, 2019 (edited) hi guys...how to make this npc_powerup become weapon and magic Attack type at same time? because can choose 1 Attack type only weapon or magic so i need both..THX.... Edited January 5, 2019 by lordjedi3 Quote
0 utofaery Posted February 1, 2019 Posted February 1, 2019 On 1/6/2019 at 3:34 AM, lordjedi3 said: hi guys...how to make this npc_powerup become weapon and magic Attack type at same time? because can choose 1 Attack type only weapon or magic so i need both..THX.... is this what you wanted: In src/map/skill.cpp look for the line of : Spoiler case NPC_POWERUP: sc_start(src,bl,SC_INCATKRATE,100,200,skill_get_time(skill_id, skill_lv)); clif_skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,100,skill_get_time(skill_id, skill_lv))); break; and make that section to Spoiler case NPC_POWERUP: sc_start(src,bl,SC_INCATKRATE,100,200,skill_get_time(skill_id, skill_lv)); sc_start(src,bl,SC_INCMATKRATE,100,200,skill_get_time(skill_id, skill_lv)); clif_skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,100,skill_get_time(skill_id, skill_lv))); break; After that recompile your server. Quote
Question
lordjedi3
hi guys...how to make this npc_powerup become weapon and magic Attack type at same time? because can choose 1 Attack type only weapon or magic so i need both..THX....
Edited by lordjedi31 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.