In many computer games players have numerical attributes that affect how much da
ID: 3130221 • Letter: I
Question
In many computer games players have numerical attributes that affect how much damage is dealt when they attack and hit something. Let’s say in a certain game, a player has two such attributes: “strength” (let’s call it S) and “critical chance” (let’s call it C). Critical chance is a number between 0 and 100. It gives the percentage chance that a hit will be a “critical hit.”(sotheprobabilityofacriticalhitis C ).AregularhitdoesSamountofdamage;butacriticalhitdoes 100 M times the damage (M is a constant). The average damage dealt per hit is the probability of a critical hit times the amount of damage dealt by that hit, plus the probability of a regular hit times the amount of damage that it (a regular hit) deals. Let’s say our player has a total of 100 points that he/she can assign to either strength or critical chance, or both (so for example, C = 30, S = 70 is one option). (a) What is the average damage if all points are put into strength? 100. What is the average damage if all points are put into critical chance? 0. (b) If the “damage multiplier” M is 3, how should the 100 points be allocated in order to maximize the average damage? C = 25, S = 75; average damage is 112.5. (c) WhatifM=1.5?C=0,S=100;averagedamageis100.
Explanation / Answer
(a) What is the average damage if all points are put into strength?
ANS:100
What is the average damage if all points are put into critical chance?
ANS:0
(b) If the “damage multiplier” M is 3, how should the 100 points be allocated in order to maximize the average damage?
ANS: C = 25, S = 75; average damage is 112.5.
(c) What if M=1.5?
ANS: C=0,S=100;averagedamageis100
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.