KGDexp.qsrc 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. # KGDexp
  2. KGDneedExpNextLvl = (KGDlvl * 10) * KGDlvl
  3. KGDneedExp = KGDneedExpNextLvl - KGDexp
  4. if KGDneedExp <= 0 and KGDlvl > KGDlvlr:KGDlvlr = KGDlvl & KGDlvl += 1 & KGDexp = 0 & KGDHP += 10 & KGDdam += 5
  5. KGDneedExpNextLvl2 = (KGDlvl2 * 10) * KGDlvl2
  6. KGDneedExp2 = KGDneedExpNextLvl2 - KGDexp2
  7. if KGDneedExp2 <= 0 and KGDlvl2 > KGDlvlr2:KGDlvlr2 = KGDlvl2 & KGDlvl2 += 1 & KGDexp2 = 0 & KGDHP2 += 10 & KGDdam2 += 5
  8. KGDneedExpNextLvl3 = (KGDlvl3 * 10) * KGDlvl3
  9. KGDneedExp3 = KGDneedExpNextLvl3 - KGDexp3
  10. if KGDneedExp3 <= 0 and KGDlvl3 > KGDlvlr3:KGDlvlr3 = KGDlvl3 & KGDlvl3 += 1 & KGDexp3 = 0 & KGDHP3 += 10 & KGDdam3 += 5
  11. KGDneedExpNextLvl4 = (KGDlvl4 * 10) * KGDlvl4
  12. KGDneedExp4 = KGDneedExpNextLvl4 - KGDexp4
  13. if KGDneedExp4 <= 0 and KGDlvl4 > KGDlvlr4:KGDlvlr4 = KGDlvl4 & KGDlvl4 += 1 & KGDexp4 = 0 & KGDHP4 += 10 & KGDdam4 += 5
  14. KGDneedExpNextLvl5 = (KGDlvl5 * 10) * KGDlvl5
  15. KGDneedExp5 = KGDneedExpNextLvl5 - KGDexp5
  16. if KGDneedExp5 <= 0 and KGDlvl5 > KGDlvlr5:KGDlvlr5 = KGDlvl5 & KGDlvl5 += 1 & KGDexp5 = 0 & KGDHP5 += 10 & KGDdam5 += 5
  17. KGDneedExpNextLvl6 = (KGDlvl6 * 10) * KGDlvl6
  18. KGDneedExp6 = KGDneedExpNextLvl6 - KGDexp6
  19. if KGDneedExp6 <= 0 and KGDlvl6 > KGDlvlr6:KGDlvlr6 = KGDlvl6 & KGDlvl6 += 1 & KGDexp6 = 0 & KGDHP6 += 10 & KGDdam6 += 5
  20. --- KGDexp ---------------------------------