0 Members and 3 Guests are viewing this topic.
Result := Damage + DI[Shooter]; // DI = Damage Incrase
Damage := Damage + Round(Damage * DI[Shooter] / 100);
OutputPercent[1] := 132; //% InputPercent[2] := 87; //%.... Result := Round(Damage * OutputPercent[shooter] * InputPercent[victim] / 10000);
Result := Damage * OutputPercent[shooter] * InputPercent[victim] DIV 10000;
Damage = 100 //base damageOut = 150 //150%In = 50 //50%Damage * Out * In / 10.000750.000 / 10.000 = 75
..10 times higher and then dividing by 100 times more
Damage = 100 //base damageOut = 1.500 // 150%In = 500 // 50%Damage * Out * In / 1.000.00075.000.000 / 1.000.000 = 75
Damage * (Out - In)
hmm bad
How would you like to post "compiled" script?