- 0
Sign in to follow this
Followers
0
help me with this Defense Ratio Attack (I.E. Thanatos, IcePick, etc) will now only consider VIT based def, not hard defense.
Asked by
devkazeyah
-
Recently Browsing 0 members
No registered users viewing this page.
Defense Ratio Attack (I.E. Thanatos, IcePick, etc) will now only consider VIT based def, not hard defense.?
give the formula softdef
flag.idef ?100:(flag.pdef ? (int64)flag.pdef*(def1+vit_def) : (100-def1)),
flag.idef2?100:(flag.pdef2? (int64)flag.pdef2*(def1+vit_def) : (100-def1))
formula ?
if (vit_def > 100) vit_def = 100;
Edited by devkazeyahATK_RATE2(
flag.idef ?100:(flag.pdef ? (int64)flag.pdef*(vit_def+def1) : (100-vit_def)),
flag.idef2?100:(flag.pdef2? (int64)flag.pdef2*(vit_def+def1) : (100-vit_def))
);
ATK_ADD2(
flag.idef ||flag.pdef ?0:-def1,
flag.idef2||flag.pdef2?0:-def1
Share this post
Link to post
Share on other sites