-
battle mechanics testing (need mathmatical input)
Ok, so I'm working on testing / simulating battle mechanics, and I'm in need of suggestions.
with equal number of attackers vs defenders within the exercise function:
1000 warriors vs warriors => 4 units are left on each side after 100 rounds
1000 pikeman vs pikeman => 2 units are left on each side after 100 rounds
With warriors, i have even tested uneven battles of warriors vs warriors and gotten results either close or exact to the exercise outcome based on losses and rounds
the equation i'm using in excel is based on a simultaneous attack where each side uses the following equations and assumptions
defense = (qty of units)*(unit defense)
attack = (qty of units)*(unit attack) ---- opposing side
Life = (qty of units)*(unit life)
Quantity remaining = RoundUp(OldQuantity*((defense+Life)-Attack) / (defense+Life),0)
Essentially, i'm lumping the defense and life values into one number, and then
finding a percentage lost via total attack value
This works thus far for warriors vs warriors and pikemen vs pikemen, but does not hold true for swordsmen or archers...
I'm thinking that because I have gotten good results from the successful pairings, I'm probably close, just not quite there... so I need help in this regard.
Any input would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks