DPS formulas

View previous topic View next topic Go down

DPS formulas

Post by Rogem on 14/12/2013, 00:22

So, I would be interested in knowing what the formulas govern BATK, WATK, ASPD, Cast Delays and Cast Speed. Also, how do cards affect ATK? Thanks, Skot~

Rogem

Posts : 154
Join date : 2013-01-07

View user profile

Back to top Go down

Re: DPS formulas

Post by Skotlex on 14/12/2013, 15:06

Base Attack:
Code:

  if (status_dexweapon(bl)) {
      str = status->dex;
      dex = status->str;
   } else {
      str = status->str;
      dex = status->dex;
   }
   //MouRO: Damage equations based on status/level [Skotlex]
   return 10 + status_get_lv(bl) + str/2 + status_get_joblv(bl)/4 + dex/6;
Weapon Attack: Weapon's attack + refine modifier + str

Aspd:
Code:

   //return (aspd_mou2ro(amotion));
   if (sd->state.dex_weapon) {
      dex = status->str;
      str = status->dex;
   } else {
      dex = status->dex;
      str = status->str;
   }

   ratio = 1000 + 4*status->agi + 2*dex - 3*str;
   amotion = amotion * ratio / 1000;

Casting times and delays:
Code:

   fix->castmagic = 100* (status->int_-status->dex/4)/(status->int_+2*status->dex/3);
   fix->delaymagic= 100* status->dex/(status->dex +status->int_/2);
   fix->castweapon= 100* (str-dex/4)/(str+2*dex/3);

I do not understand what you mean by "how cards affect ATK." If the card has an ATK1 bonus, it gets added to the weapon's strength. If it has an ATK2 bonus, it gets added to the bonus from STR. If it has a baseATK bonus, it gets added to the bAtk. You should check the item you have in mind to determine what is the specific bonus that is being used.
avatar
Skotlex
Admin

Male Posts : 396
Join date : 2012-08-24

View user profile

Back to top Go down

Re: DPS formulas

Post by Rogem on 14/12/2013, 18:13

I mean that +ATK cards seem to add to both WATK and BATK.

Rogem

Posts : 154
Join date : 2013-01-07

View user profile

Back to top Go down

Re: DPS formulas

Post by Skotlex on 16/12/2013, 14:22

Give me an example of such a card? That'd make sense for +STR increasing items.
avatar
Skotlex
Admin

Male Posts : 396
Join date : 2012-08-24

View user profile

Back to top Go down

Re: DPS formulas

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum