1. uitaskbar.py
  2. #Find
  3. def RefreshSkill(self):
  4. ...
  5. ...
  6. #Add
  7. if app.SKILL_COOLTIME_UPDATE:
  8. def SkillClearCoolTime(self, usedSlotIndex):
  9. QUICK_SLOT_SLOT_COUNT = 4
  10. slotIndex = 0
  11. for slotWindow in self.quickslot:
  12. for i in xrange(QUICK_SLOT_SLOT_COUNT):
  13. (Type, Position) = player.GetLocalQuickSlot(slotIndex)
  14. if Type == player.SLOT_TYPE_SKILL:
  15. if usedSlotIndex == Position:
  16. slotWindow.SetSlotCoolTime(slotIndex, 0)
  17. return
  18. slotIndex += 1