Jump to content
  • 0
Sign in to follow this  
devkazeyah

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

Question

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

Edited by devkazeyah

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.