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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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