Professional Documents
Culture Documents
Where P denotes physical damage and M magical damage. This core function states that all incoming raw damage will get cut by a percentage depending on the resistances of the enemy. Since is the true corrected damage, to kill a champion you would need to deal worth of damage, where HP is the health of your enemy, so: ( ) ( )
The effective HP (EHP), is the isolation of the uncorrected raw damages in the above; Divide equation by M+P: ( ) ( )
We will give these parameters special names: ( ) ( ) is the percentage of magical damage.
)(
Effective HP is therefore dependent on the distribution of damage you are facing. For an extended laning phase we also need to consider the health regeneration effects:
(
The Seals Problem:
)(
We have 9 rune slots for Seals, which gives us 66 different combinations of armor and health seals:
Notice any vertex that does not lie on the line with intercept ( ) will fail to be a maximum, since effective HP is rising in armor and health seals. This is also equivalent to saying we have to fill all 9 slots in Seals:
One of these vertices must be our maximum. The line itself is given as , also we cannot choose negative amounts of runes. We wish to maximize given these constraints, the relevant function is: ( ) (
Together with the maximization problem:
)(
f is differentiable at all inner vertices. Also if a combination ( following conditions are true by the KKT conditions:
(also called Karush-Kuhn-Tucker multipliers) such that these 4 conditions are satisfied:
( )
(
( )
( ( (
( )
) ) )
( )
( ( Where: ( ( ( )
) )
) )
Regularity conditions with regards to the constraints are fulfilled. All of our constraints are affine functions, which is a sufficient condition to secure the maximum found in the KKT is a true maximum. Written out one would need to find a solution to this system:
( ( (
) ) ) (
( ( ( ( (
) ) ) ( ) ) )
( (
) ) ) (
( (
) ) )
( (
) )
|
( ) ( )
From the first equation we get the second KKT multiplier, the third multiplier we get from the second equation: ( ) |
( ) ( )
|
( ) ( )
) (
) ] [ ] [ ]
[ [ [ ] ] [
( [ *
) ( (
] ) ) ( ( ( ) ) ( ( ( ) ( )) )) ( ] )+
with solution:
Meaning if (
base stats. Second KKT solution:
) is optimal; your level must lie between the roots, spanned by your champions
(
will fail. Thus ( ( ) |
( ) ( )
|
( ) ( )
From the second equation we get the second KKT multiplier, the third we get from the first equation: ( ) |
( ) ( )
|
( ) ( )
) (
This is the reverse of the first KKT, giving the negative parameters:
) [ ( *
( ( ( +
)] ( ) ) (( ) ( ) (( ) ) ( ) ) ] ( ) ( ) ( )) )
Has solution:
Where
( )
|
(
( ))
( )
Where
( )
The sum: ((
( )
( )
. ) ( ( ) ) )
((
)( ( )(
( (
)) ))
( (
( )
) )
The roots are complex functions, however given our parameters they will always be rooted in the first root is:
| ( ) ( )( ) ( ) ( ) (
) will break our primal constraints. The second root will give us the
)(
](
then(
, and
. Algebraic manipulations
have tainted the true value of optimum in this particular case, and we need to extract its true limit. Equating with 1, | , you will find that the limit exist in , and is given as: and resolving for | Same problem occurs with | | ( )
| , in this case: ( )
[ (
)(
) * ( (( * ( ( )( ( ( ) ) )( ( (
)] ) ) ( (( ( ) ) ( ) )) )+ ) ( ) ) )+
[ (
)(
( (
) [ ( * ( ( )( )( ( ( ( ) ( )
)] ) ( (( ( ) ) ) ) ( (( ) )] ) )) )+ ) )
Has solution:
Thus: