Determining Formula (Game Mechanics)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












WARNING



I believe that the data below has errors in the defense strength, so is therefore not solvable. I will update it when I have more information. Thank you.




I play a game (Empire: Four Kingdoms) in which soldiers attack castles where other soldiers defend, and I'm trying to solve for the equation that they use in order to calculate losses.



I have some data points but am having a hard time determining the actual formula.



In general terms, if the attack strength stays the same, adding more defenders will lower the defenders losses (as may be imagined), but it is not linear (i.e. doubling the defending strength will not halve the losses).



Here are some data points that I have so far (in all scenarios below, all attackers were lost, but at this point I am only concerned with the defenders losses):




Qty Attackers, Qty Defenders, Attack Strength, Defense Strength, Qty Defenders Lost



52, 78, 11,954.8, 13,459.68, 69

52, 182, 11,954.8, 31,658.59, 44

52, 138, 13,041.60, 33,506.83, 35

52, 103, 11,954.80, 23,549.26, 39

52, 64, 13,041.60, 32,487.89, 17

136, 190, 17,912.83, 56,612.55, 7

42, 94, 4,869.23, 23,403.63, 7

42, 86, 4,869.23, 25,792.09, 4

42, 87, 4,956.00, 24,399.58, 5

42, 82, 4,956.00, 16,448.96, 13

46, 70, 4,724.38, 28,339.08, 5

46, 65, 9,537.00, 11,953.70, 45

46, 65, 9,537.00, 12,773.50, 41

52, 247, 8,816.08, 47,454.43, 15

52, 232, 10,032.36, 98,829.79, 8

52, 224, 8,816.08, 61,920.54, 12








share|cite|improve this question






















  • This seems more like a stats.SE question.
    – Mario Carneiro
    Feb 21 '15 at 4:51










  • The simplest possible model would be $$ Aw + Bx + Cy + Dz = L, $$ where $A,B,C,D$ are constants, not necessarily positive, and $w,x,y,z$ are your first four variables, Since you keep the first fixed at 52, you have no way of finding $A.$ Finding the numbers is called linear algebra. Finally, it is someone else's program, we cannot be sure it is that simple.
    – Will Jagy
    Feb 21 '15 at 4:52










  • @WillJagy To add to this, realize that there are only five data points and five constants, so you are very likely to overfit with only this data. I would recommend at least 10-15 data points before you can make any reasonable guesses.
    – Mario Carneiro
    Feb 21 '15 at 4:54










  • @MarioCarneiro, agreed.
    – Will Jagy
    Feb 21 '15 at 4:58










  • @MarioCarneiro Well, I can get more data points, but I feel like it should be a pretty simple formula (maybe I just need to square something or take a square root) and have been trying to solve it intuitively. I'm hoping that someone else's intuition is better than mine though since it hasn't been working, lol.
    – lnafziger
    Feb 21 '15 at 5:05














up vote
2
down vote

favorite












WARNING



I believe that the data below has errors in the defense strength, so is therefore not solvable. I will update it when I have more information. Thank you.




I play a game (Empire: Four Kingdoms) in which soldiers attack castles where other soldiers defend, and I'm trying to solve for the equation that they use in order to calculate losses.



I have some data points but am having a hard time determining the actual formula.



In general terms, if the attack strength stays the same, adding more defenders will lower the defenders losses (as may be imagined), but it is not linear (i.e. doubling the defending strength will not halve the losses).



Here are some data points that I have so far (in all scenarios below, all attackers were lost, but at this point I am only concerned with the defenders losses):




Qty Attackers, Qty Defenders, Attack Strength, Defense Strength, Qty Defenders Lost



52, 78, 11,954.8, 13,459.68, 69

52, 182, 11,954.8, 31,658.59, 44

52, 138, 13,041.60, 33,506.83, 35

52, 103, 11,954.80, 23,549.26, 39

52, 64, 13,041.60, 32,487.89, 17

136, 190, 17,912.83, 56,612.55, 7

42, 94, 4,869.23, 23,403.63, 7

42, 86, 4,869.23, 25,792.09, 4

42, 87, 4,956.00, 24,399.58, 5

42, 82, 4,956.00, 16,448.96, 13

46, 70, 4,724.38, 28,339.08, 5

46, 65, 9,537.00, 11,953.70, 45

46, 65, 9,537.00, 12,773.50, 41

52, 247, 8,816.08, 47,454.43, 15

52, 232, 10,032.36, 98,829.79, 8

52, 224, 8,816.08, 61,920.54, 12








share|cite|improve this question






















  • This seems more like a stats.SE question.
    – Mario Carneiro
    Feb 21 '15 at 4:51










  • The simplest possible model would be $$ Aw + Bx + Cy + Dz = L, $$ where $A,B,C,D$ are constants, not necessarily positive, and $w,x,y,z$ are your first four variables, Since you keep the first fixed at 52, you have no way of finding $A.$ Finding the numbers is called linear algebra. Finally, it is someone else's program, we cannot be sure it is that simple.
    – Will Jagy
    Feb 21 '15 at 4:52










  • @WillJagy To add to this, realize that there are only five data points and five constants, so you are very likely to overfit with only this data. I would recommend at least 10-15 data points before you can make any reasonable guesses.
    – Mario Carneiro
    Feb 21 '15 at 4:54










  • @MarioCarneiro, agreed.
    – Will Jagy
    Feb 21 '15 at 4:58










  • @MarioCarneiro Well, I can get more data points, but I feel like it should be a pretty simple formula (maybe I just need to square something or take a square root) and have been trying to solve it intuitively. I'm hoping that someone else's intuition is better than mine though since it hasn't been working, lol.
    – lnafziger
    Feb 21 '15 at 5:05












up vote
2
down vote

favorite









up vote
2
down vote

favorite











WARNING



I believe that the data below has errors in the defense strength, so is therefore not solvable. I will update it when I have more information. Thank you.




I play a game (Empire: Four Kingdoms) in which soldiers attack castles where other soldiers defend, and I'm trying to solve for the equation that they use in order to calculate losses.



I have some data points but am having a hard time determining the actual formula.



In general terms, if the attack strength stays the same, adding more defenders will lower the defenders losses (as may be imagined), but it is not linear (i.e. doubling the defending strength will not halve the losses).



Here are some data points that I have so far (in all scenarios below, all attackers were lost, but at this point I am only concerned with the defenders losses):




Qty Attackers, Qty Defenders, Attack Strength, Defense Strength, Qty Defenders Lost



52, 78, 11,954.8, 13,459.68, 69

52, 182, 11,954.8, 31,658.59, 44

52, 138, 13,041.60, 33,506.83, 35

52, 103, 11,954.80, 23,549.26, 39

52, 64, 13,041.60, 32,487.89, 17

136, 190, 17,912.83, 56,612.55, 7

42, 94, 4,869.23, 23,403.63, 7

42, 86, 4,869.23, 25,792.09, 4

42, 87, 4,956.00, 24,399.58, 5

42, 82, 4,956.00, 16,448.96, 13

46, 70, 4,724.38, 28,339.08, 5

46, 65, 9,537.00, 11,953.70, 45

46, 65, 9,537.00, 12,773.50, 41

52, 247, 8,816.08, 47,454.43, 15

52, 232, 10,032.36, 98,829.79, 8

52, 224, 8,816.08, 61,920.54, 12








share|cite|improve this question














WARNING



I believe that the data below has errors in the defense strength, so is therefore not solvable. I will update it when I have more information. Thank you.




I play a game (Empire: Four Kingdoms) in which soldiers attack castles where other soldiers defend, and I'm trying to solve for the equation that they use in order to calculate losses.



I have some data points but am having a hard time determining the actual formula.



In general terms, if the attack strength stays the same, adding more defenders will lower the defenders losses (as may be imagined), but it is not linear (i.e. doubling the defending strength will not halve the losses).



Here are some data points that I have so far (in all scenarios below, all attackers were lost, but at this point I am only concerned with the defenders losses):




Qty Attackers, Qty Defenders, Attack Strength, Defense Strength, Qty Defenders Lost



52, 78, 11,954.8, 13,459.68, 69

52, 182, 11,954.8, 31,658.59, 44

52, 138, 13,041.60, 33,506.83, 35

52, 103, 11,954.80, 23,549.26, 39

52, 64, 13,041.60, 32,487.89, 17

136, 190, 17,912.83, 56,612.55, 7

42, 94, 4,869.23, 23,403.63, 7

42, 86, 4,869.23, 25,792.09, 4

42, 87, 4,956.00, 24,399.58, 5

42, 82, 4,956.00, 16,448.96, 13

46, 70, 4,724.38, 28,339.08, 5

46, 65, 9,537.00, 11,953.70, 45

46, 65, 9,537.00, 12,773.50, 41

52, 247, 8,816.08, 47,454.43, 15

52, 232, 10,032.36, 98,829.79, 8

52, 224, 8,816.08, 61,920.54, 12










share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Feb 22 '15 at 2:11

























asked Feb 21 '15 at 4:43









lnafziger

1115




1115











  • This seems more like a stats.SE question.
    – Mario Carneiro
    Feb 21 '15 at 4:51










  • The simplest possible model would be $$ Aw + Bx + Cy + Dz = L, $$ where $A,B,C,D$ are constants, not necessarily positive, and $w,x,y,z$ are your first four variables, Since you keep the first fixed at 52, you have no way of finding $A.$ Finding the numbers is called linear algebra. Finally, it is someone else's program, we cannot be sure it is that simple.
    – Will Jagy
    Feb 21 '15 at 4:52










  • @WillJagy To add to this, realize that there are only five data points and five constants, so you are very likely to overfit with only this data. I would recommend at least 10-15 data points before you can make any reasonable guesses.
    – Mario Carneiro
    Feb 21 '15 at 4:54










  • @MarioCarneiro, agreed.
    – Will Jagy
    Feb 21 '15 at 4:58










  • @MarioCarneiro Well, I can get more data points, but I feel like it should be a pretty simple formula (maybe I just need to square something or take a square root) and have been trying to solve it intuitively. I'm hoping that someone else's intuition is better than mine though since it hasn't been working, lol.
    – lnafziger
    Feb 21 '15 at 5:05
















  • This seems more like a stats.SE question.
    – Mario Carneiro
    Feb 21 '15 at 4:51










  • The simplest possible model would be $$ Aw + Bx + Cy + Dz = L, $$ where $A,B,C,D$ are constants, not necessarily positive, and $w,x,y,z$ are your first four variables, Since you keep the first fixed at 52, you have no way of finding $A.$ Finding the numbers is called linear algebra. Finally, it is someone else's program, we cannot be sure it is that simple.
    – Will Jagy
    Feb 21 '15 at 4:52










  • @WillJagy To add to this, realize that there are only five data points and five constants, so you are very likely to overfit with only this data. I would recommend at least 10-15 data points before you can make any reasonable guesses.
    – Mario Carneiro
    Feb 21 '15 at 4:54










  • @MarioCarneiro, agreed.
    – Will Jagy
    Feb 21 '15 at 4:58










  • @MarioCarneiro Well, I can get more data points, but I feel like it should be a pretty simple formula (maybe I just need to square something or take a square root) and have been trying to solve it intuitively. I'm hoping that someone else's intuition is better than mine though since it hasn't been working, lol.
    – lnafziger
    Feb 21 '15 at 5:05















This seems more like a stats.SE question.
– Mario Carneiro
Feb 21 '15 at 4:51




This seems more like a stats.SE question.
– Mario Carneiro
Feb 21 '15 at 4:51












The simplest possible model would be $$ Aw + Bx + Cy + Dz = L, $$ where $A,B,C,D$ are constants, not necessarily positive, and $w,x,y,z$ are your first four variables, Since you keep the first fixed at 52, you have no way of finding $A.$ Finding the numbers is called linear algebra. Finally, it is someone else's program, we cannot be sure it is that simple.
– Will Jagy
Feb 21 '15 at 4:52




The simplest possible model would be $$ Aw + Bx + Cy + Dz = L, $$ where $A,B,C,D$ are constants, not necessarily positive, and $w,x,y,z$ are your first four variables, Since you keep the first fixed at 52, you have no way of finding $A.$ Finding the numbers is called linear algebra. Finally, it is someone else's program, we cannot be sure it is that simple.
– Will Jagy
Feb 21 '15 at 4:52












@WillJagy To add to this, realize that there are only five data points and five constants, so you are very likely to overfit with only this data. I would recommend at least 10-15 data points before you can make any reasonable guesses.
– Mario Carneiro
Feb 21 '15 at 4:54




@WillJagy To add to this, realize that there are only five data points and five constants, so you are very likely to overfit with only this data. I would recommend at least 10-15 data points before you can make any reasonable guesses.
– Mario Carneiro
Feb 21 '15 at 4:54












@MarioCarneiro, agreed.
– Will Jagy
Feb 21 '15 at 4:58




@MarioCarneiro, agreed.
– Will Jagy
Feb 21 '15 at 4:58












@MarioCarneiro Well, I can get more data points, but I feel like it should be a pretty simple formula (maybe I just need to square something or take a square root) and have been trying to solve it intuitively. I'm hoping that someone else's intuition is better than mine though since it hasn't been working, lol.
– lnafziger
Feb 21 '15 at 5:05




@MarioCarneiro Well, I can get more data points, but I feel like it should be a pretty simple formula (maybe I just need to square something or take a square root) and have been trying to solve it intuitively. I'm hoping that someone else's intuition is better than mine though since it hasn't been working, lol.
– lnafziger
Feb 21 '15 at 5:05










2 Answers
2






active

oldest

votes

















up vote
0
down vote













I tried some fits based on your guesses about the formula, but I did not find enough improvement to justify them over the basic guess $D=ddfracs_as_d$ where $d$ is the number of defenders, $s_a,s_d$ are the attacker and defender strengths, and $D$ is the number of defender deaths. However, this is not a very good fit either. Although it follows the rough contours, it is often off by $10$ or more, with the worst outlier being the datapoint



$$a=136, d=190, s_a=17,912.83, s_d=56,612.55,quad D=7,quad oversetsimD=57.99$$



making me suspect that there is a large random component to the data (which needless to say makes fitting it much more difficult). (Of course the best proof that there is a random component is getting different outputs for the same input, but barring that you can make certain claims about the complexity of the function if you get enough closely spaced input data with widely different output values.)






share|cite|improve this answer




















  • I know from experience that there is no random component because the same attacks have the same results over and over. Thank you for looking though!
    – lnafziger
    Feb 21 '15 at 13:12










  • @lnafziger Are you sure that the four variables you listed are the only relevant ones?
    – Mario Carneiro
    Feb 22 '15 at 1:29










  • Well, I've been looking at it more and may need to revisit how I calculated the defense strength. There are a lot more variables, but I thought that I had them figured out and unfortunately it's looking as if I don't have them quite right yet. I will keep working on it and update the question when I have better information. Thanks!
    – lnafziger
    Feb 22 '15 at 2:10

















up vote
0
down vote













You get the same results most of the time not all of the time. There is a random variable used in calculating the result. That is from 30, 000 attacks experience.






share|cite|improve this answer




















  • There is some type of exponential function involved that applies to the ratios. There is also a prioritization of losses towards particular defender types and a strength threshold below which none of the defender types are lost. This threshold is firstly determined by total number of defenders ie there has to be sufficient to win, and then it is determined by defender to melee ratio
    – user251106
    Jun 28 '15 at 13:45










  • That exponential function is what I'm trying to solve for. :)
    – lnafziger
    Jun 29 '15 at 14:58










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1158448%2fdetermining-formula-game-mechanics%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













I tried some fits based on your guesses about the formula, but I did not find enough improvement to justify them over the basic guess $D=ddfracs_as_d$ where $d$ is the number of defenders, $s_a,s_d$ are the attacker and defender strengths, and $D$ is the number of defender deaths. However, this is not a very good fit either. Although it follows the rough contours, it is often off by $10$ or more, with the worst outlier being the datapoint



$$a=136, d=190, s_a=17,912.83, s_d=56,612.55,quad D=7,quad oversetsimD=57.99$$



making me suspect that there is a large random component to the data (which needless to say makes fitting it much more difficult). (Of course the best proof that there is a random component is getting different outputs for the same input, but barring that you can make certain claims about the complexity of the function if you get enough closely spaced input data with widely different output values.)






share|cite|improve this answer




















  • I know from experience that there is no random component because the same attacks have the same results over and over. Thank you for looking though!
    – lnafziger
    Feb 21 '15 at 13:12










  • @lnafziger Are you sure that the four variables you listed are the only relevant ones?
    – Mario Carneiro
    Feb 22 '15 at 1:29










  • Well, I've been looking at it more and may need to revisit how I calculated the defense strength. There are a lot more variables, but I thought that I had them figured out and unfortunately it's looking as if I don't have them quite right yet. I will keep working on it and update the question when I have better information. Thanks!
    – lnafziger
    Feb 22 '15 at 2:10














up vote
0
down vote













I tried some fits based on your guesses about the formula, but I did not find enough improvement to justify them over the basic guess $D=ddfracs_as_d$ where $d$ is the number of defenders, $s_a,s_d$ are the attacker and defender strengths, and $D$ is the number of defender deaths. However, this is not a very good fit either. Although it follows the rough contours, it is often off by $10$ or more, with the worst outlier being the datapoint



$$a=136, d=190, s_a=17,912.83, s_d=56,612.55,quad D=7,quad oversetsimD=57.99$$



making me suspect that there is a large random component to the data (which needless to say makes fitting it much more difficult). (Of course the best proof that there is a random component is getting different outputs for the same input, but barring that you can make certain claims about the complexity of the function if you get enough closely spaced input data with widely different output values.)






share|cite|improve this answer




















  • I know from experience that there is no random component because the same attacks have the same results over and over. Thank you for looking though!
    – lnafziger
    Feb 21 '15 at 13:12










  • @lnafziger Are you sure that the four variables you listed are the only relevant ones?
    – Mario Carneiro
    Feb 22 '15 at 1:29










  • Well, I've been looking at it more and may need to revisit how I calculated the defense strength. There are a lot more variables, but I thought that I had them figured out and unfortunately it's looking as if I don't have them quite right yet. I will keep working on it and update the question when I have better information. Thanks!
    – lnafziger
    Feb 22 '15 at 2:10












up vote
0
down vote










up vote
0
down vote









I tried some fits based on your guesses about the formula, but I did not find enough improvement to justify them over the basic guess $D=ddfracs_as_d$ where $d$ is the number of defenders, $s_a,s_d$ are the attacker and defender strengths, and $D$ is the number of defender deaths. However, this is not a very good fit either. Although it follows the rough contours, it is often off by $10$ or more, with the worst outlier being the datapoint



$$a=136, d=190, s_a=17,912.83, s_d=56,612.55,quad D=7,quad oversetsimD=57.99$$



making me suspect that there is a large random component to the data (which needless to say makes fitting it much more difficult). (Of course the best proof that there is a random component is getting different outputs for the same input, but barring that you can make certain claims about the complexity of the function if you get enough closely spaced input data with widely different output values.)






share|cite|improve this answer












I tried some fits based on your guesses about the formula, but I did not find enough improvement to justify them over the basic guess $D=ddfracs_as_d$ where $d$ is the number of defenders, $s_a,s_d$ are the attacker and defender strengths, and $D$ is the number of defender deaths. However, this is not a very good fit either. Although it follows the rough contours, it is often off by $10$ or more, with the worst outlier being the datapoint



$$a=136, d=190, s_a=17,912.83, s_d=56,612.55,quad D=7,quad oversetsimD=57.99$$



making me suspect that there is a large random component to the data (which needless to say makes fitting it much more difficult). (Of course the best proof that there is a random component is getting different outputs for the same input, but barring that you can make certain claims about the complexity of the function if you get enough closely spaced input data with widely different output values.)







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Feb 21 '15 at 6:29









Mario Carneiro

18k33888




18k33888











  • I know from experience that there is no random component because the same attacks have the same results over and over. Thank you for looking though!
    – lnafziger
    Feb 21 '15 at 13:12










  • @lnafziger Are you sure that the four variables you listed are the only relevant ones?
    – Mario Carneiro
    Feb 22 '15 at 1:29










  • Well, I've been looking at it more and may need to revisit how I calculated the defense strength. There are a lot more variables, but I thought that I had them figured out and unfortunately it's looking as if I don't have them quite right yet. I will keep working on it and update the question when I have better information. Thanks!
    – lnafziger
    Feb 22 '15 at 2:10
















  • I know from experience that there is no random component because the same attacks have the same results over and over. Thank you for looking though!
    – lnafziger
    Feb 21 '15 at 13:12










  • @lnafziger Are you sure that the four variables you listed are the only relevant ones?
    – Mario Carneiro
    Feb 22 '15 at 1:29










  • Well, I've been looking at it more and may need to revisit how I calculated the defense strength. There are a lot more variables, but I thought that I had them figured out and unfortunately it's looking as if I don't have them quite right yet. I will keep working on it and update the question when I have better information. Thanks!
    – lnafziger
    Feb 22 '15 at 2:10















I know from experience that there is no random component because the same attacks have the same results over and over. Thank you for looking though!
– lnafziger
Feb 21 '15 at 13:12




I know from experience that there is no random component because the same attacks have the same results over and over. Thank you for looking though!
– lnafziger
Feb 21 '15 at 13:12












@lnafziger Are you sure that the four variables you listed are the only relevant ones?
– Mario Carneiro
Feb 22 '15 at 1:29




@lnafziger Are you sure that the four variables you listed are the only relevant ones?
– Mario Carneiro
Feb 22 '15 at 1:29












Well, I've been looking at it more and may need to revisit how I calculated the defense strength. There are a lot more variables, but I thought that I had them figured out and unfortunately it's looking as if I don't have them quite right yet. I will keep working on it and update the question when I have better information. Thanks!
– lnafziger
Feb 22 '15 at 2:10




Well, I've been looking at it more and may need to revisit how I calculated the defense strength. There are a lot more variables, but I thought that I had them figured out and unfortunately it's looking as if I don't have them quite right yet. I will keep working on it and update the question when I have better information. Thanks!
– lnafziger
Feb 22 '15 at 2:10










up vote
0
down vote













You get the same results most of the time not all of the time. There is a random variable used in calculating the result. That is from 30, 000 attacks experience.






share|cite|improve this answer




















  • There is some type of exponential function involved that applies to the ratios. There is also a prioritization of losses towards particular defender types and a strength threshold below which none of the defender types are lost. This threshold is firstly determined by total number of defenders ie there has to be sufficient to win, and then it is determined by defender to melee ratio
    – user251106
    Jun 28 '15 at 13:45










  • That exponential function is what I'm trying to solve for. :)
    – lnafziger
    Jun 29 '15 at 14:58














up vote
0
down vote













You get the same results most of the time not all of the time. There is a random variable used in calculating the result. That is from 30, 000 attacks experience.






share|cite|improve this answer




















  • There is some type of exponential function involved that applies to the ratios. There is also a prioritization of losses towards particular defender types and a strength threshold below which none of the defender types are lost. This threshold is firstly determined by total number of defenders ie there has to be sufficient to win, and then it is determined by defender to melee ratio
    – user251106
    Jun 28 '15 at 13:45










  • That exponential function is what I'm trying to solve for. :)
    – lnafziger
    Jun 29 '15 at 14:58












up vote
0
down vote










up vote
0
down vote









You get the same results most of the time not all of the time. There is a random variable used in calculating the result. That is from 30, 000 attacks experience.






share|cite|improve this answer












You get the same results most of the time not all of the time. There is a random variable used in calculating the result. That is from 30, 000 attacks experience.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jun 28 '15 at 13:31









user251106

1




1











  • There is some type of exponential function involved that applies to the ratios. There is also a prioritization of losses towards particular defender types and a strength threshold below which none of the defender types are lost. This threshold is firstly determined by total number of defenders ie there has to be sufficient to win, and then it is determined by defender to melee ratio
    – user251106
    Jun 28 '15 at 13:45










  • That exponential function is what I'm trying to solve for. :)
    – lnafziger
    Jun 29 '15 at 14:58
















  • There is some type of exponential function involved that applies to the ratios. There is also a prioritization of losses towards particular defender types and a strength threshold below which none of the defender types are lost. This threshold is firstly determined by total number of defenders ie there has to be sufficient to win, and then it is determined by defender to melee ratio
    – user251106
    Jun 28 '15 at 13:45










  • That exponential function is what I'm trying to solve for. :)
    – lnafziger
    Jun 29 '15 at 14:58















There is some type of exponential function involved that applies to the ratios. There is also a prioritization of losses towards particular defender types and a strength threshold below which none of the defender types are lost. This threshold is firstly determined by total number of defenders ie there has to be sufficient to win, and then it is determined by defender to melee ratio
– user251106
Jun 28 '15 at 13:45




There is some type of exponential function involved that applies to the ratios. There is also a prioritization of losses towards particular defender types and a strength threshold below which none of the defender types are lost. This threshold is firstly determined by total number of defenders ie there has to be sufficient to win, and then it is determined by defender to melee ratio
– user251106
Jun 28 '15 at 13:45












That exponential function is what I'm trying to solve for. :)
– lnafziger
Jun 29 '15 at 14:58




That exponential function is what I'm trying to solve for. :)
– lnafziger
Jun 29 '15 at 14:58

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1158448%2fdetermining-formula-game-mechanics%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

Why am i infinitely getting the same tweet with the Twitter Search API?

Carbon dioxide