Emperor01 / JSlearn

all my practical trainings
0 stars 0 forks source link

my exp xD #2

Open Emperor01 opened 6 years ago

Emperor01 commented 6 years ago

var basicHealLvL = 224;

function CountChanges () { var changes = basicHealLvL, result; for (var i = 2; i < 31; i++) { changes = changes + (changes / 100 * 4); changes = Math.round(changes); alert ('At ' + i + ' LvL you will have ' + changes + ' heal'); } }

CountChanges();

Emperor01 commented 6 years ago

this function shows healing of Ana's first skill during different levels from 2 to 30 (hero from games Overwatch and Heroes of the Storm)

Emperor01 commented 6 years ago

oh I've noticed that when I paste my code this editor delete my backspaces