Eross Posted April 21, 2022 Group: Members Topic Count: 155 Topics Per Day: 0.11 Content Count: 349 Reputation: 12 Joined: 04/05/20 Last Seen: April 19, 2023 Share Posted April 21, 2022 Good day folks ! Just need a little help .. Is it possible in battle.cpp to make a separate effect or damage depending on map (normal, pvp and gvg) ?? Example is PA_SACRIFICE ... case PA_SACRIFICE: skillratio += -10 + 10 * skill_lv; break; is there a code like this ? case PA_SACRIFICE: #ifdef map_flag_gvg skillratio += -10 + 2 * skill_lv; #endif skillratio += -10 + 10 * skill_lv; break; ----------- OR -------------- case PA_SACRIFICE: #ifdef map_flag_pvp skillratio += -10 + 2 * skill_lv; #endif skillratio += -10 + 10 * skill_lv; break; Or is there a more easier way to do this ? Thankyou ! I hope someone notice my post .. Have a nice day !! Quote Link to comment Share on other sites More sharing options...
0 kalabasa Posted April 21, 2022 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: March 15 Share Posted April 21, 2022 https://github.com/rathena/rathena/blob/master/db/skill_damage_db.txt Quote Link to comment Share on other sites More sharing options...
0 Eross Posted April 22, 2022 Group: Members Topic Count: 155 Topics Per Day: 0.11 Content Count: 349 Reputation: 12 Joined: 04/05/20 Last Seen: April 19, 2023 Author Share Posted April 22, 2022 23 hours ago, kalabasa said: https://github.com/rathena/rathena/blob/master/db/skill_damage_db.txt Thankyou for your response .. But isnt it doable with SRC so I can give a specific formula for each skill ? Quote Link to comment Share on other sites More sharing options...
0 kalabasa Posted April 23, 2022 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: March 15 Share Posted April 23, 2022 anything is possible they say. but i don't know how to do it. Quote Link to comment Share on other sites More sharing options...
Question
Eross
Good day folks ! Just need a little help .. Is it possible in battle.cpp to make a separate effect or damage depending on map (normal, pvp and gvg) ??
Example is PA_SACRIFICE ...
case PA_SACRIFICE: skillratio += -10 + 10 * skill_lv; break;
is there a code like this ?
case PA_SACRIFICE: #ifdef map_flag_gvg skillratio += -10 + 2 * skill_lv; #endif skillratio += -10 + 10 * skill_lv; break; ----------- OR -------------- case PA_SACRIFICE: #ifdef map_flag_pvp skillratio += -10 + 2 * skill_lv; #endif skillratio += -10 + 10 * skill_lv; break;
Or is there a more easier way to do this ? Thankyou ! I hope someone notice my post .. Have a nice day !!
Link to comment
Share on other sites
3 answers 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.