lordjedi3 Posted January 5, 2019 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 03/26/14 Last Seen: October 15, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 utofaery Posted February 1, 2019 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 228 Reputation: 19 Joined: 10/27/12 Last Seen: March 17, 2019 Share 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 Link to comment Share on other sites More sharing options...
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 lordjedi3Link to comment
Share on other sites
1 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.