Ratio help..
#2

hm...
Код:
100/(kills+deaths)*kills
i kill 2 players, die 6 times, thats 2:6, 8 deaths at all: 100/(2+6)*2, thats 12.5%*2= 24% killratio...
i kill 10 players, die 1 time, thats 10:1, 11 deaths at all: 100/(10+1)*10, thats 9.11%*10= 91.11%.
i kill 1 players, die 0 times, thats 1:0, 1 death at all: 100/(1+0)*1, thats 100.0%*1= 100.00%
works.
you were VERY close, just about to find out yourself ^^
ah i missed 1 case:
i kill 0 players, die 1 time, thats 0:1, 1 deaths at all: 100/(0+1)*0, thats 00.0%*0= 0% killratio lolo
Reply


Messages In This Thread
Ratio help.. - by The_Moddler - 16.10.2010, 00:47
Re: Ratio help.. - by Babul - 16.10.2010, 01:00

Forum Jump:


Users browsing this thread: 2 Guest(s)