Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bonusValues = {
- 0: (10000, 0, 0, 0, 10),
- 1: (10000, 0, 0, 0, 10),
- 2: (10000, 0, 0, 0, 10),
- 3: (10000, 0, 0, 0, 10),
- 4: (10000, 0, 0, 0, 10),
- 5: (10000, 0, 0, 0, 10),
- 6: (10000, 0, 0, 0, 10),
- 7: (10000, 0, 0, 0, 10),
- 8: (10000, 0, 0, 0, 10)
- }
- bonusText = [localeInfo.TOOLTIP_MAX_HP, localeInfo.TOOLTIP_APPLY_ATTBONUS_MONSTER, localeInfo.TOOLTIP_NORMAL_HIT_DAMAGE_BONUS, localeInfo.TOOLTIP_SKILL_DAMAGE_BONUS, localeInfo.TOOLTIP_APPLY_ATTBONUS_HUMAN]
- if bonusValues.has_key(grade):
- for i in xrange(len(bonusValues[grade])):
- if bonusValues[grade][i]:
- self.toolTipAlignment.AutoAppendTextLine(bonusText[i](bonusValues[grade][i]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement