In the year 2045, humanity travelled to the planet Mars. On Mars ancient alien ruins were found deep underground.
Aliens that where in some kind of stasis awoke, and attacked Earth with the purpose of enslaving humanity.
Being the world's most elite master of combat, you have been given the task of destroying the alien mothership.
ATK: Attack stat, determines damage boost.
ACR: Accuracy, determines the chance of missiong.
CTA: Combat ability, determines who has the advantage.
CTS: Combat strength, determines how much damage is dealt.
1. Determine the CTA ratio
CTA ratio = your CTA - opponents CTA
2. Get a random number from the random number table.
3. Multiply your CTS by the CTA ratio and add ATK.
4. Deal that much damage to your opponent, and that number minus the opponent's CTS to you.
Deal damage by subtracting the damage dealt from the CTS.
When you have 0 CTS you have died.
5. Repeat until you or your opponent looses.
6. If you die restart the game from the beginning.