Advertisement
Asthard

Untitled

Jun 28th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.80 KB | None | 0 0
  1.         elif 170 == skillIndex:
  2.  
  3.             maxLevel = 20
  4.  
  5.             self.ClearToolTip()
  6.             self.__SetSkillTitle(skillIndex, skillGrade)
  7.  
  8.             ## Description
  9.             description = skill.GetSkillDescription(skillIndex)
  10.             self.AppendDescription(description, 25)
  11.  
  12.             self.AppendSpace(5)
  13.             sValue = [0, 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, 3250, 3500, 3750, 4000, 4250, 4500, 4750, 5000]
  14.             if skillLevel < 20:
  15.                 self.AppendTextLine("Punkty życia: +%d" % (sValue[skillLevel]), self.POSITIVE_COLOR)
  16.                 self.AppendTextLine("(Następnie) Punkty życia: +%d" % (sValue[skillLevel+1]), self.NEGATIVE_COLOR)
  17.             elif skillLevel == 20:
  18.                 self.AppendTextLine("Punkty życia: +%d" % (sValue[skillLevel]), self.POSITIVE_COLOR)
  19.                 self.AppendTextLine("Maksymalny Poziom", self.NEGATIVE_COLOR)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement