How do u calculate Bonuses? ANSWERED
How do u calculate Bonuses? ANSWERED
How do you calculate bonuses? 200% + 5 power is = to what? Thanks!
A thousand may fall at your side,
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Bonuses?
i was not sure the case Belfry wrote but here is how calculated:
if
- unit has power 5
- and has +200% bonus on a specific target
- target has armor 2
than it will damage:
attack damage: 5 + 2*5 = 15
actual damage(considering armor): 15 - 2 = 13
if
- unit has power 5
- and has +200% bonus on a specific target
- target has armor 2
than it will damage:
attack damage: 5 + 2*5 = 15
actual damage(considering armor): 15 - 2 = 13
- makazuwr32
- Posts: 7830
- Joined: Tue Oct 17, 2017 9:29 am
- Location: Moscow, Russia
Re: Bonuses?
Exactly.
Where
Y – Actual damage
X – Base attack
B – Bonus against attacked unit, 0 if no bonus
A – Armor or p.armor of attacked unit
Code: Select all
Y = X + X*B% - A
Y – Actual damage
X – Base attack
B – Bonus against attacked unit, 0 if no bonus
A – Armor or p.armor of attacked unit
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
- godOfKings
- Posts: 3302
- Joined: Fri Sep 22, 2017 4:50 pm
Re: Bonuses?
Also wen writing jsons with damage modifier, 1 means 100% bonus, 2 is 200%, 0.5 is 50% etc. Before writing a number on the modifier, calculate the effective damage to units in this category first with the equation makazuwr just gave, I hope u at least have knowledge to solve basic algebraic equations
There is no place for false kings here, only those who proves themselves to b the true kings of legend, or serves under me
For I watch over this world looking for those worthy to become kings, and on the way get rid of the fakes and rule over the fools
For I watch over this world looking for those worthy to become kings, and on the way get rid of the fakes and rule over the fools
Re: Bonuses?
Thanks for the help mates! Enemy armor is subtracted from the sum of the bonus?
Is this the formula? Some power + bonus against something - armor
Thanks maka for the coding example!
Is this the formula? Some power + bonus against something - armor
Thanks maka for the coding example!
A thousand may fall at your side,
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
Re: Bonuses?
Thanks! So if it's a 200% bonus you multiply by 5?
A thousand may fall at your side,
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
- General Brave
- Posts: 4662
- Joined: Thu Oct 19, 2017 3:12 am
- Location: The Four Point Military Academy.
Re: Bonuses?
So here is what I think I have learned, regular attack is 5, but if it has 100% bonus against one of the unit. That should be 5+. 200% will be 10.
Wise, Might, Loyalty. Forever stands Warfell.