Polish some events
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user