429_KGDexp 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # KGDexp
  2. <<<<<<< 429_KGDexp
  3. KGDneedExpNextLvl=(KGDlvl * 10)*KGDlvl
  4. KGDneedExp = KGDneedExpNextLvl - KGDexp
  5. if KGDneedExp <= 0 and KGDlvl > KGDlvlr: KGDlvlr = KGDlvl & KGDlvl += 1 & KGDexp = 0 & KGDHP += 10 & KGDdam += 5
  6. KGDneedExpNextLvl2=(KGDlvl2 * 10)*KGDlvl2
  7. KGDneedExp2 = KGDneedExpNextLvl2 - KGDexp2
  8. if KGDneedExp2 <= 0 and KGDlvl2 > KGDlvlr2: KGDlvlr2 = KGDlvl2 & KGDlvl2 += 1 & KGDexp2 = 0 & KGDHP2 += 10 & KGDdam2 += 5
  9. KGDneedExpNextLvl3=(KGDlvl3 * 10)*KGDlvl3
  10. KGDneedExp3 = KGDneedExpNextLvl3 - KGDexp3
  11. if KGDneedExp3 <= 0 and KGDlvl3 > KGDlvlr3: KGDlvlr3 = KGDlvl3 & KGDlvl3 += 1 & KGDexp3 = 0 & KGDHP3 += 10 & KGDdam3 += 5
  12. KGDneedExpNextLvl4=(KGDlvl4 * 10)*KGDlvl4
  13. KGDneedExp4 = KGDneedExpNextLvl4 - KGDexp4
  14. if KGDneedExp4 <= 0 and KGDlvl4 > KGDlvlr4: KGDlvlr4 = KGDlvl4 & KGDlvl4 += 1 & KGDexp4 = 0 & KGDHP4 += 10 & KGDdam4 += 5
  15. KGDneedExpNextLvl5=(KGDlvl5 * 10)*KGDlvl5
  16. KGDneedExp5 = KGDneedExpNextLvl5 - KGDexp5
  17. if KGDneedExp5 <= 0 and KGDlvl5 > KGDlvlr5: KGDlvlr5 = KGDlvl5 & KGDlvl5 += 1 & KGDexp5 = 0 & KGDHP5 += 10 & KGDdam5 += 5
  18. KGDneedExpNextLvl6=(KGDlvl6 * 10)*KGDlvl6
  19. KGDneedExp6 = KGDneedExpNextLvl6 - KGDexp6
  20. if KGDneedExp6 <= 0 and KGDlvl6 > KGDlvlr6: KGDlvlr6 = KGDlvl6 & KGDlvl6 += 1 & KGDexp6 = 0 & KGDHP6 += 10 & KGDdam6 += 5
  21. =======
  22. KGDneedExpNextLvl=(KGDlvl*10)*KGDlvl
  23. KGDneedExp=KGDneedExpNextLvl-KGDexp
  24. if KGDneedExp<=0 and KGDlvl>KGDlvlr:KGDlvlr=KGDlvl&KGDlvl+=1&KGDexp=0&KGDHP+=10&KGDdam+=5
  25. KGDneedExpNextLvl2=(KGDlvl2*10)*KGDlvl2
  26. KGDneedExp2=KGDneedExpNextLvl2-KGDexp2
  27. if KGDneedExp2<=0 and KGDlvl2>KGDlvlr2:KGDlvlr2=KGDlvl2&KGDlvl2+=1&KGDexp2=0&KGDHP2+=10&KGDdam2+=5
  28. KGDneedExpNextLvl3=(KGDlvl3*10)*KGDlvl3
  29. KGDneedExp3=KGDneedExpNextLvl3-KGDexp3
  30. if KGDneedExp3<=0 and KGDlvl3>KGDlvlr3:KGDlvlr3=KGDlvl3&KGDlvl3+=1&KGDexp3=0&KGDHP3+=10&KGDdam3+=5
  31. KGDneedExpNextLvl4=(KGDlvl4*10)*KGDlvl4
  32. KGDneedExp4=KGDneedExpNextLvl4-KGDexp4
  33. if KGDneedExp4<=0 and KGDlvl4>KGDlvlr4:KGDlvlr4=KGDlvl4&KGDlvl4+=1&KGDexp4=0&KGDHP4+=10&KGDdam4+=5
  34. KGDneedExpNextLvl5=(KGDlvl5*10)*KGDlvl5
  35. KGDneedExp5=KGDneedExpNextLvl5-KGDexp5
  36. if KGDneedExp5<=0 and KGDlvl5>KGDlvlr5:KGDlvlr5=KGDlvl5&KGDlvl5+=1&KGDexp5=0&KGDHP5+=10&KGDdam5+=5
  37. KGDneedExpNextLvl6=(KGDlvl6*10)*KGDlvl6
  38. KGDneedExp6=KGDneedExpNextLvl6-KGDexp6
  39. if KGDneedExp6<=0 and KGDlvl6>KGDlvlr6:KGDlvlr6=KGDlvl6&KGDlvl6+=1&KGDexp6=0&KGDHP6+=10&KGDdam6+=5
  40. >>>>>>> 429_KGDexp
  41. --- KGDexp ---------------------------------