Расчет шанса магического крита
Расчет шанса магического крита
function calc() { var WITMODIFIER=new Array(0,0.40,0.42,0.44,0.46,0.48,0.51,0.53,0.56,0.58,0.61,0.64,0.68,0.72,0.75,0.78,0.82,0.86,0.91,0.95,1.00,1.05,1.10,1.16,1.22,1.28,1.34,1.41,1.48,1.55,1.63,1.71) var WMMOD=new Array(1,3,4) var wit=+document.getElementById("WIT").value var WITMOD=WITMODIFIER[wit] var wm=document.getElementById("WM").value var mcc=0.8*WITMOD var wm=+document.getElementById("WM").value mcc=mcc*WMMOD[wm] if (document.getElementById("WATER").checked==true) {var mcc=mcc*2} if (document.getElementById("SIREN").checked==true) {var mcc=mcc*3} if (document.getElementById("ABYSS").checked==true) {var mcc=mcc*0.7} if (document.getElementById("INFINITY").checked==true) {var mcc=mcc*1.54} if (document.getElementById("VALAKAS").checked==true) {var mcc=mcc*2} document.getElementById("CHANCE").innerHTML=(Math.floor(mcc*100)/100)+"%" }


WIT:

Buffs:

Wild Magic
Prophecy of Water
Dance of Siren
Infinity Scepter
Necklace of Valakas
Curse of Abyss
Шанс магического крита:


Добавить комментарий