help me with this Defense Ratio Attack (I.E. Thanatos, IcePick, etc) will now only consider VIT based def, not hard defense.

devkazeyah

New member
Messages
2
Points
0
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;
                ATK_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

 
Last edited by a moderator:
Back
Top