News:

FOR INFORMATION ON DONATIONS, AND HOW TO OBTAIN ACCESS TO THE GAME, PLEASE VIEW THE FOLLOWING TOPIC: http://stick-online.com/boards/index.php?topic=2.0

Main Menu

Stick Control: Formula Help (getting there)

Started by 11clock, April 19, 2010, 06:54:40 PM

Previous topic - Next topic

11clock

Link to Topic: http://www.stick-online.com/boards/index.php?topic=904.0

I am trying to think of a formula that will help me compare the normal attacker units with no special abilities. I want to know how powerful they are compared to each other. What applies to the formula should be unit health, attack, attack length (in frames), and the cost per unit. Can you help me come up with a formula so I can tell how powerful the units are compared to each other?

The weakest unit is the Beginner. Has 50 health, attack of 10, attack animation 17 frames, and costs 5 gold. The Fighter has an attack length of 22 and costs 10 gold while the Ninja has an attack length of 14 and costs 20 gold. The future knight has an attack length of 44 and costs 50 gold. The objective is to get the Fighter to be twice better than the Beginner, the Ninja being twice better than the fighter and 4 times better than the Beginner, and the Knight being 2.5 times better than the Ninja, 5 times better than the Fighter, and 10 times better than the Beginner. This is accomplished by changing their health and attack power.

Lingus

That's kind of difficult to say. It depends on how much you want each stat to effect the "power" or effectiveness of the unit. Is it better to have more health or higher attack? Is 10 health equivilant to 1 attack power (and I don't necessarily mean how much damage does 1 attack cause)? That would be answered in part by looking at what the stats of the enemies they are facing. And in that case you can only see the effectiveness based on what unit they are going up against.

A very rudimentary comparison would add any stat that gets better the higher the number (health, attack) and subtract any stat that gets better the lower the number (attack length, cost). This would give you a very basic comparison against other units, but wouldn't really tell you if a given unit is necessarily better than another.

crozier

Stat wise 2xpower=2xhp.
A runner with 16 frames per attack (I just know this)
Health: 60
Attack: 10
Speed: 6
Priced: 10

is not equivilent to a
Beginner with 17 frames per attack.
Health: 60
Attack: 10
Speed: 3
Priced:5
As speed isn't as important as a stat. Speed is just an advantage thrown in. These two units are practically the same but one has a larger price.
I was thinking if any stat was doubled exept speed. (1/2 for frames per attack) then the price should be doubled because they are twice as effective in that stat. If a runner's hp was 120 then it would be a fair unit if we were following those guidlines. But I am not quite sure with these.

11clock

The weakest unit is the Beginner. Has 50 health, attack of 10, attack animation 17 frames, and costs 5 gold. The Fighter has an attack length of 22 and costs 10 gold while the Ninja has an attack length of 14 and costs 20 gold. The future knight has an attack length of 44 and costs 50 gold. The objective is to get the Fighter to be twice better than the Beginner, the Ninja being twice better than the fighter and 4 times better than the Beginner, and the Knight being 2.5 times better than the Ninja, 5 times better than the Fighter, and 10 times better than the Beginner. This is accomplished by changing their health and attack power.

Added to the first post.

@Crozier Thanks for the info. I'll lower the Runner's price to 5. I know about doubling a stat making a unit twice better, but how do I throw this in to a good formula?

crozier

#4
STRx+ HPx +Attack speedx=Price
Example beginner 10+50+17=5
Example knight             +43=50
17 x 2.529=~43
5 x 10= 50
so currently  its         +    -2.529=10
-2.529 because it is going down compared to the beginner.
Now lets add in STR and HP and try to equal 10.
Example 80str and 133 hp.
10x8=80
50x2.666=133
8+2-2.529=10 X =~7.471

Needs more str or hp. Around 2.5 times 1 stat.
Lets change it to
105 str and 133 hp.
10x10.5=105
50x2.666=133.3
10.5+2.666-2.529= ~10.637 which gives the knight an advantage due to his lower speed which would be 2.
10 beginners=1knight
Please varify if this is right.

11clock

Quote from: crozier on April 19, 2010, 08:22:57 PM
STRx+ HPx +Attack speedx=Price
Example beginner 10+50+17=5
Example knight             +43=50
17 x 2.529=~43
5 x 10= 50
so currently  its         +    -2.529=10
-2.529 because it is going down compared to the beginner.
Now lets add in STR and HP and try to equal 10.
Example 80str and 133 hp.
10x8=80
50x2.666=133
8+2-2.529=10 X =~7.471

Needs more str or hp. Around 2.5 times 1 stat.
Lets change it to
105 str and 133 hp.
10x10.5=105
50x2.666=133.3
10.5+2.666-2.529= ~10.637 which gives the knight an advantage due to his lower speed which would be 2.
10 beginners=1knight
Please varify if this is right.

Took me several minutes to get it. Looks correct to me.