Haruka Mayumi Posted January 17, 2018 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: April 14 Share Posted January 17, 2018 Hi, is there anyone that can add bonus2 bMagicHPDrainRate,x,n;(Magic Type Skills) like bonus2 bHPDrainRate,x,n; (For Physical Only) I Actually add 100% chance to lifesteal on my server. however Mages or Magic Type Characters can't lifesteal using the bonus2 bHPDrainRate,x,n;. hoping that someone could help me on this. Thank you Quote Link to comment Share on other sites More sharing options...
0 blinzer Posted February 10, 2018 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 12/11/14 Last Seen: April 19, 2024 Share Posted February 10, 2018 (edited) ^ this is the calculation hp_drain_rate does in battle.c ^ this is where hp_drain_rate is defined in pc.c ^ you'll probably have to define your new bonus here in map.h what you'll have to do on your own is figure out how to make it calculate the magic damage in battle.c, and then use that the same way these use weapon damage Edited February 10, 2018 by blinzer unclear what i'm referring to in screenshots Quote Link to comment Share on other sites More sharing options...
0 t3quila Posted October 30, 2018 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 36 Reputation: 4 Joined: 04/16/12 Last Seen: December 9, 2018 Share Posted October 30, 2018 is this possible? case SP_MAGIC_HP_DRAIN_RATE: // bonus2 bMagicHPDrainRate,x,n; if(!sd->state.lr_flag) { sd->skillatk.hp_drain_rate.rate += type2; sd->skillatk.hp_drain_rate.per += val; } break; case SP_MAGIC_SP_DRAIN_RATE: // bonus2 bMagicSPDrainRate,x,n; if(!sd->state.lr_flag) { sd->skillatk.sp_drain_rate.rate += type2; sd->skillatk.sp_drain_rate.per += val; } break; Quote Link to comment Share on other sites More sharing options...
-2 TheDerpySupport Posted January 17, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 208 Reputation: 60 Joined: 09/23/17 Last Seen: July 28, 2021 Share Posted January 17, 2018 (edited) I'm curious but is this not what you're asking for? bonus bMagicHPGainValue,n; Heals +n HP when killing an enemy with a magical attack I'm sorry I didn't fully read that this is a defined value and not a percentage. Edited January 17, 2018 by TheDerpySupport Quote Link to comment Share on other sites More sharing options...
Question
Haruka Mayumi
Hi, is there anyone that can add
bonus2 bMagicHPDrainRate,x,n;(Magic Type Skills) like
bonus2 bHPDrainRate,x,n; (For Physical Only)
I Actually add 100% chance to lifesteal on my server. however Mages or Magic Type Characters can't lifesteal using the bonus2 bHPDrainRate,x,n;.
hoping that someone could help me on this. Thank you
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.