PDA

View Full Version : math attack and defense formula



commandNconquer
04-11-2012, 09:08 AM
this is a response to hello kitty math formula
i think i found the good one because i invalidated her formula by doing the maths with my accounts the way she did

my stats are pretty easy to use for finding the good formula


alliance attack 3734
alliance defense 3262
attack skill points 63
defense skill points 63


my offensive army is composed of : 1 x shadow stalker (217/148), 1 x super stryker (132/112) and 78 x super hornet (36/26)

my defensive army is composed of : 1 x shadow stalker (217/148), 1 x super stryker (132/112), 54 x super hornet (36/26) and 24 x stealth surveillance drone (8/30)

boost buildings : +8% air and +6% ground

nation bonus : +10% air



total attack formula for my army = ((217+(78x36))x(1.1)x(1.08))+(132x1,06)
= ((217+2808)x1,1x1,08)+139,92
= (3025x1,1x1,08)+139,92
= 3593,7 + 139,92
= 3733,62 rounded to 3734 = my exacts attack stat

conclusion : attack skill points doesn't affect your attack score

total defense formula for my army = ((148+(54x26)+(24x30))x1,1x1,08)+(112x1,06)
= ((148 + 1404 + 720)x1,1x1,08) + 118,72
= (2272x1,1x1,08) + 118,72
= 2699,136 + 118,72
= 2817,856 rounded to 2818 which isn't equal to my defense stats

so i sold a guard tower and guess what my defense went from 3264 to 3262

so to my army defense i will add my total building defense

4 x guard tower (2) = 8
5 x bunker (5) = 25
5 x fortified bunker (22) = 110
5 x sam (15) = 75
4 x mine field (32) = 128
5 x holding cell (12) = 60
5 x turret (8) = 40

total defense building score = 446

446 + 2818 = 3264, and my defense is 3262 which is pretty close (-2)




my conclusion is that the formula is pretty simple in attack its your army + boost and in defense its your army + boost + total of defense

i could be wrong too so if anyone have a simple army and wants to calculate that would be cool


tl;dr : my conclusion and hypothesis is that attack skill points boost your luck factor and same goes for defense skill points and they also don't affect the stats at all



post your hypothesis or calculate your stats and tell me if I'm wrong or right

digitalwalker
04-11-2012, 10:07 AM
Ur calculations r standard ones.

I cant remember when i was lvl2, was there an extra 2 defense given by default. If it is, then it explains.

A bit of wild guess :

The extra 2 defense, serve for the case when u have no army, ur defense won't be zero. And when people raiding ur buildings, ur defense calculation having a term with ur defense stat as denominator. So, that extra 2 on defense avoided the equation to have a singularity.

JohnnyR
04-11-2012, 10:42 AM
If I'm not mistaken, looks like boost buildings affect both attack AND defense according to what you just laid out. I don't know why, but I always thought boost buildings like the hangar only affected attack scores-maybe because the composites factory caused me to assume THAT was the sole defense boost building.

It's cool seeing the numbers being dug up and picked apart, adds dimension to the game, the never ending pursuit of the advantage. Thanks for sharing.

cheiz
04-11-2012, 10:53 AM
Yeah! Thanks for sharing that!!!
It answers one of my questions and very clearly shows how the mechanism works

Freekizh
04-11-2012, 11:12 AM
I saw a post on CC somewhere that a developer did say skill points do affect your attack score by a factor based on your level (i.e., it is a simple multiplication, e.g., skill attack * black box factor + attack score). This has been my experience at my level. I am able to consistently attack and beat players that have a defense that are higher than my attack score by 100 points (about 9-10%), with only occasional losses. This suggests that skill factor is additive to your attack score.

Maverick50727
04-11-2012, 03:59 PM
this is a response to hello kitty math formula
i think i found the good one because i invalidated her formula by doing the maths with my accounts the way she did

....
my conclusion is that the formula is pretty simple in attack its your army + boost and in defense its your army + boost + total of defense

i could be wrong too so if anyone have a simple army and wants to calculate that would be cool
....


I came to the same thing just add in the base defense. It was really close and may have been the same -2.

I'll try to check again when i have time after the event most likely when my units aren't changing so much.

Question for you, when you are determining your strongest units, how are you doing that? Are you below teh 45 display list so you can actually see the units you are taking? I ask becuase my experience with the lowest units taken to battle is not always consistent and I'm getting the same from others. I have see it vary in unexpected ways when I add a unit and the lowest unit is not dropped the way I would think. I may start a thread about that once I watch it a little more.

Dreno33
04-11-2012, 04:28 PM
Ur calculations r standard ones.

I cant remember when i was lvl2, was there an extra 2 defense given by default. If it is, then it explains.

A bit of wild guess :

The extra 2 defense, serve for the case when u have no army, ur defense won't be zero. And when people raiding ur buildings, ur defense calculation having a term with ur defense stat as denominator. So, that extra 2 on defense avoided the equation to have a singularity.

I remember, there was not. we started off at 0/0 with NO units.
In doing the 2 tutorial jobs we got 2 Units:

1) Desert Soldier (0/1)
2) Desert Leader (1/1)

P.S. I also have non-gold unit that I don't remember gaining from tutorial, nor do i remember buying it. It is a Battle Tank (3/4). I can't remember how I ended up with it b/c when I first was able to click into my inventory after tutorial, I didn't remember seeing it. So ya, just those 2 units MAYBE the battle tank. started at 0/0 without units

Mcdoc
04-11-2012, 05:03 PM
Time for a LLP character and document stats from the VERY beginning when there are way less than 45 units :)

Maybe we can finally pierce the Iron Veil :)

Poopenshire
04-11-2012, 05:50 PM
Time for a LLP character and document stats from the VERY beginning when there are way less than 45 units :)

Maybe we can finally pierce the Iron Veil :)

The minute we figure it out they will change it.

stricker
04-11-2012, 06:12 PM
Time for a LLP character and document stats from the VERY beginning when there are way less than 45 units :)

Maybe we can finally pierce the Iron Veil :)
just use your x-ray vision, superman... :p