Rizta Posted November 6, 2018 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 109 Reputation: 5 Joined: 08/12/17 Last Seen: March 30, 2020 Share Posted November 6, 2018 (edited) Hi! How can i edit HP/SP Drain bonuses to work with Magic and Misc type skills? Edited November 6, 2018 by Rizta forgot to tell is magic and misc skills Quote Link to comment Share on other sites More sharing options...
0 Vykimo Posted November 8, 2018 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 236 Reputation: 189 Joined: 11/27/11 Last Seen: August 4, 2024 Share Posted November 8, 2018 (edited) I Don't really understand the problem. Can you specify which skills you would like to be affected ? Edited November 8, 2018 by Vykimo Quote Link to comment Share on other sites More sharing options...
0 Rizta Posted November 12, 2018 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 109 Reputation: 5 Joined: 08/12/17 Last Seen: March 30, 2020 Author Share Posted November 12, 2018 On 11/8/2018 at 7:32 AM, Vykimo said: I Don't really understand the problem. Can you specify which skills you would like to be affected ? Anyone tagged as Magic or Misc. Magic Ex: any bolts, stormgust, lov, meteor storm etc. Misc Ex: Falcon Assault, Blitz Beat etc... Currently drain hp and sp only work with skill IF these skills r Weapon type. Quote Link to comment Share on other sites More sharing options...
0 Vykimo Posted November 13, 2018 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 236 Reputation: 189 Joined: 11/27/11 Last Seen: August 4, 2024 Share Posted November 13, 2018 Partial answer : Go in skill.cpp, search for : if( sd && src != bl && damage > 0 && ( dmg.flag&BF_WEAPON || (dmg.flag&BF_MISC && (skill_id == RA_CLUSTERBOMB || skill_id == RA_FIRINGTRAP || skill_id == RA_ICEBOUNDTRAP)) ) ) { replace by this : if( sd && src != bl && damage > 0 && ( dmg.flag&BF_WEAPON || dmg.flag&BF_MISC || dmg.flag&BF_MAGIC ) ) { This answer could partially answer your problem, but i'm not sure it would be enough.. 1 Quote Link to comment Share on other sites More sharing options...
0 Rizta Posted November 21, 2018 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 109 Reputation: 5 Joined: 08/12/17 Last Seen: March 30, 2020 Author Share Posted November 21, 2018 Thank you. I'll try this ! Quote Link to comment Share on other sites More sharing options...
Question
Rizta
Hi!
How can i edit HP/SP Drain bonuses to work with Magic and Misc type skills?
Edited by Riztaforgot to tell is magic and misc skills
Link to comment
Share on other sites
4 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.