Attacks are now pending
This commit is contained in:
@@ -14,7 +14,13 @@ The plan is this:
|
||||
* The chance of success is determined by the ratio of each side's combatant strength.
|
||||
* Recruits have a strength equal to 0.25 times that of a soldier.
|
||||
* On a success, you steal 10% of the target's gold. On a failure, you steal 2% of the target's gold.
|
||||
* The attacking force will lose a percentage, rounded down, of their units - 5% on a success, 10% on a failure.
|
||||
* The attacking force will lose a percentage, rounded down, of their units - 5% on a success, 10% on a failure (edit: excluding the first 10 units).
|
||||
|
||||
All of these numbers can be adjusted later, but this is the initial gameplan for combat.
|
||||
|
||||
Edit: More aspects that I'd like to ensure are:
|
||||
|
||||
* If the server resets (which happens alot) combat still progresses as expected.
|
||||
* All combat is logged and presented to the player.
|
||||
* You can only attack one person at a time.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user