Bonuses?

Here you may find answers to your questions.
Post Reply
User avatar
Belfry777
Posts: 1639
Joined: Tue Oct 17, 2017 2:34 am
Location: AZ

Bonuses?

Post by Belfry777 » Thu Aug 09, 2018 3:21 am

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.

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Bonuses?

Post by COOLguy » Thu Aug 09, 2018 3:42 am

Belfry777 wrote:
Thu Aug 09, 2018 3:21 am
How do you calculate bonuses? 200% + 5 power is = to what? Thanks!
200% bonus * 5 power = 10 potential damage - 2 armor = 8 damage dealt
Thanks!
Josh

Stratego (dev)
Site Admin
Posts: 9196
Joined: Fri Apr 25, 2014 9:28 pm

Re: Bonuses?

Post by Stratego (dev) » Thu Aug 09, 2018 4:30 am

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

User avatar
makazuwr32
Posts: 4205
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Bonuses?

Post by makazuwr32 » Thu Aug 09, 2018 5:45 am

Exactly.

Code: Select all

Y = X + X*B% - A
Where
Y – Actual damage
X – Base attack
B – Bonus against attacked unit, 0 if no bonus
A – Armor or p.armor of attacked unit
makazuwr32 wrote:
Mon Sep 16, 2019 7:54 am
Please when you ask to change something argument why do you want that change. ...
Put some numbers, compare to what other races have and so on. Some real info why it must be done.
© by Makazuwr32™.

User avatar
godOfKings
Posts: 2072
Joined: Fri Sep 22, 2017 4:50 pm

Re: Bonuses?

Post by godOfKings » Thu Aug 09, 2018 8:36 am

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

User avatar
Belfry777
Posts: 1639
Joined: Tue Oct 17, 2017 2:34 am
Location: AZ

Re: Bonuses?

Post by Belfry777 » Thu Aug 09, 2018 11:44 pm

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!
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.

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Bonuses?

Post by COOLguy » Fri Aug 10, 2018 12:32 pm

Lol yeah my math was bad. Follow the formula
Thanks!
Josh

User avatar
Belfry777
Posts: 1639
Joined: Tue Oct 17, 2017 2:34 am
Location: AZ

Re: Bonuses?

Post by Belfry777 » Fri Aug 10, 2018 5:10 pm

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.

User avatar
General Brave
Posts: 4534
Joined: Thu Oct 19, 2017 3:12 am
Location: The Four Point Military Academy.

Re: Bonuses?

Post by General Brave » Fri Aug 10, 2018 7:08 pm

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.

Post Reply

Return to “FAQ”