Jump to content
  • 0

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


Question

Posted (edited)

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 Mael
Use a codebox

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...