Define a chance of the attack hitting the target. This can be modified by the attacker's & defender's fighting skill levels.
Define the minimum and maximum damage the attacker's weapon can inflict. This can be modified by the attacker's strength and the defender's armour.
Then use the SmileBASIC random number function to pick numbers within those ranges.
2そうだね プレイ済み