Polish some events

This commit is contained in:
blitzmann
2015-09-25 14:46:41 -04:00
parent d0ec17feba
commit dc55dbdf36
2 changed files with 28 additions and 11 deletions

View File

@@ -344,12 +344,11 @@ class Character(object):
def addImplant(self, charID, itemID):
char = eos.db.getCharacter(charID)
implant = eos.types.Implant(eos.db.getItem(itemID))
char.implants.freeSlot(implant.slot)
char.implants.append(implant)
def removeImplant(self, charID, slot):
def removeImplant(self, charID, implant):
char = eos.db.getCharacter(charID)
char.implants.freeSlot(slot)
char.implants.remove(implant)
def getImplants(self, charID):
char = eos.db.getCharacter(charID)