User:Illviljan: Difference between revisions
Jump to navigation
Jump to search
>Illviljan mNo edit summary |
>Illviljan mNo edit summary |
||
Line 3: | Line 3: | ||
|- | |- | ||
| | | | ||
<pre> | |||
Text here | Text here | ||
</pre> | |||
|} | |} | ||
Line 11: | Line 15: | ||
|- | |- | ||
| | | | ||
{| class="wikitable mw-collapsible mw-collapsed" | {| class="wikitable mw-collapsible mw-collapsed" | ||
! Experience Penalty | ! Experience Penalty | ||
|- | |- | ||
| | | | ||
<pre> | |||
%% Experience Penalty | %% Experience Penalty | ||
Line 69: | Line 73: | ||
PercentualShare = (PlayerLevel + 10).^2.71 ./ sum((PlayerLevel + 10).^2.71,2); | PercentualShare = (PlayerLevel + 10).^2.71 ./ sum((PlayerLevel + 10).^2.71,2); | ||
</pre> | |||
|} | |} | ||
Line 75: | Line 80: | ||
|- | |- | ||
| | | | ||
<pre> | |||
%% Chance to hit and avoid attacks. | %% Chance to hit and avoid attacks. | ||
Line 100: | Line 105: | ||
% Chance to avoid hits | % Chance to avoid hits | ||
chanceToAvoidHit = 1 - chanceToHit*(1-chanceToDodge); | chanceToAvoidHit = 1 - chanceToHit*(1-chanceToDodge); | ||
%% Contour plot | %% Contour plot | ||
% Chance to avoid hit contour plot | % Chance to avoid hit contour plot | ||
figure | figure | ||
Line 132: | Line 137: | ||
ylabel(h,'Chance to hit [%]'); | ylabel(h,'Chance to hit [%]'); | ||
</pre> | |||
|} | |} | ||
Line 139: | Line 144: | ||
|- | |- | ||
| | | | ||
<pre> | |||
%% Armour Reduction | %% Armour Reduction | ||
Line 146: | Line 151: | ||
% Sources: | % Sources: | ||
% http://pathofexile.gamepedia.com/Armour | % http://pathofexile.gamepedia.com/Armour | ||
%% Input | %% Input | ||
step = 100; | step = 100; | ||
Armour = linspace(0, 50000, step); | Armour = linspace(0, 50000, step); | ||
Damage = linspace(0, 10000, step); | Damage = linspace(0, 10000, step); | ||
%% Calculations | %% Calculations | ||
% Create a Mesh grid to be able to do contour plots: | % Create a Mesh grid to be able to do contour plots: | ||
Line 155: | Line 162: | ||
Damage_Reduction_FactorMesh = ArmourMesh ./ (ArmourMesh + 10 * DamageMesh); | Damage_Reduction_FactorMesh = ArmourMesh ./ (ArmourMesh + 10 * DamageMesh); | ||
%% Contour plot | %% Contour plot | ||
figure | figure | ||
Line 171: | Line 179: | ||
ylabel('Damage Reduction Factor [%]') | ylabel('Damage Reduction Factor [%]') | ||
ylabel(h,'Raw Damage'); | ylabel(h,'Raw Damage'); | ||
</pre> | |||
|} | |} | ||
Line 177: | Line 187: | ||
|- | |- | ||
| | | | ||
<pre> | |||
%% Plot Energy shield recharge | %% Plot Energy shield recharge | ||
close all, clear all, home | close all, clear all, home | ||
Line 197: | Line 209: | ||
ylabel('Start time of Energy Shield Recharge [s]') | ylabel('Start time of Energy Shield Recharge [s]') | ||
grid on | grid on | ||
</pre> | |||
|} | |} | ||
|} | |} |
Revision as of 11:44, 19 November 2015
Collapsible Template |
---|
Text here |
Matlab scripts | ||||||||
---|---|---|---|---|---|---|---|---|
|