PDA

View Full Version : Cần các bạn chỉnh sửa giúp mình phần Poit rs



tha_cho_em
22-04-11, 10:27 PM
Mình muốn sửa lại lv và poit sau khi rs
lần 1 : 1000 poit lv 100
lần 2 ~ 20 : 300 poit ,lv 180
lần 20 ~ 40 : 280 poit, lv 230
lần 41 ~ 70 : 250 poit, lv 280
lần 71 ~ 100 : 200 poit,lv 320
lần 101 ~ 150 : 150 poit, lv 340
lần 151 ~ 200 : 100 poit, lv 360
lần 201 ~ 300 : 80 poit, lv 380
lần 301 ~ 400: 50 poit,lv 400


'###Math Condition
IF intReset > 500 THEN
intResetPoint = 45400 + (intReset-500)*30 + intPointHoiSinh
intResetLevel = conLevel12
intResetZen = conZen12
intResetChao = conChaoNumber12
intResetLong = conLongNumber12
ELSE
IF intReset > 400 THEN
intResetPoint = 40400 + (intReset-400)*50 + intPointHoiSinh
intResetLevel = conLevel11
intResetZen = conZen11
intResetChao = conChaoNumber11
intResetLong = conLongNumber11
ELSE
IF intReset > 300 THEN
intResetPoint = 34400 + (intReset-300)*60 + intPointHoiSinh
intResetLevel = conLevel10
intResetZen = conZen10
intResetChao = conChaoNumber10
intResetLong = conLongNumber10
ELSE
IF intReset > 200 THEN
intResetPoint = 27400 + (intReset-200)*70 + intPointHoiSinh
intResetLevel = conLevel9
intResetZen = conZen9
intResetChao = conChaoNumber9
intResetLong = conLongNumber9
ELSE
IF intReset > 150 THEN
intResetPoint = 23400 + (intReset-150)*80 + intPointHoiSinh
intResetLevel = conLevel8
intResetZen = conZen8
intResetChao = conChaoNumber8
intResetLong = conLongNumber8
ELSE
IF intReset > 100 THEN
intResetPoint = 18400 + (intReset-100)*100 + intPointHoiSinh
intResetLevel = conLevel7
intResetZen = conZen7
intResetChao = conChaoNumber7
intResetLong = conLongNumber7
ELSE
IF intReset > 70 THEN
intResetPoint = 14800 + (intReset-70)*120 + intPointHoiSinh
intResetLevel = conLevel6
intResetZen = conZen6
intResetChao = conChaoNumber6
intResetLong = conLongNumber6
ELSE
IF intReset > 50 THEN
intResetPoint = 11800 + (intReset-50)*150 + intPointHoiSinh
intResetLevel = conLevel5
intResetZen = conZen5
intResetChao = conChaoNumber5
intResetLong = conLongNumber5
ELSE
IF intReset > 30 THEN
intResetPoint = 7800 + (intReset-30)*200 + intPointHoiSinh
intResetLevel = conLevel4
intResetZen = conZen4
intResetChao = conChaoNumber4
intResetLong = conLongNumber4
ELSE
IF intReset > 20 THEN
intResetPoint = 5500 + (intReset-20)*230 + intPointHoiSinh
intResetLevel = conLevel3
intResetZen = conZen3
intResetChao = conChaoNumber3
intResetLong = conLongNumber3
ELSE
IF intReset > 10 THEN
intResetPoint = 3000 + (intReset-10)*250 + intPointHoiSinh
intResetLevel = conLevel2
intResetZen = conZen2
intResetChao = conChaoNumber2
intResetLong = conLongNumber2
ELSE
IF intReset > 1 THEN
intResetPoint = 300 + (intReset-1)*300
intResetLevel = conLevel1
intResetZen = conZen1
intResetChao = conChaoNumber1
intResetLong = conLongNumber1
ELSE
intResetPoint = 300
intResetLevel = 0
intResetZen = 0
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
END IF
IF intResetPoint>300000 THEN intResetPoint = 300000

Cảm ơn các bạn