def __init__(self, name, description, weight, defense, cost): """ Initializes armor class. @param name: The name of the item. @param description: Armor description. @param weight: Armor weight. @param defense: The defense stat of the piece of armor. Reduces the amount of damage that player receives by this amount. """ Item.__init__(self, name, description, weight) self._defense = defense self._cost = cost
def __init__(self, name, description, weight, healing, cost): """ Initializes potions class. @param name: Name of portion. @param description: Description of potion. @param weight: Weight of weapon. @param healing: Healing stat of weapon. Player heals by the maximum of this amount when player uses potion. """ Item.__init__(self, name, description, weight) self._healing = healing self._cost = cost
def __init__(self, name, description, weight, cost, defense): """ Initializes armor class. @param name: The name of the piece of armor. @param description: Armor description. @param weight: Armor weight. @param cost: The cost of the armor. @param defense: The defense stat of the piece of armor. """ Item.__init__(self, name, description, weight, cost) self._defense = defense
def __init__(self, name, description, weight, attack, cost): """ Initializes weapon class. @param name: Name of weapon. @param description: Description of weapon. @param weight: Weight of weapon. @param attack: Attack stat of weapon. Player damage increases by this amount when weapon is equipped. """ Item.__init__(self, name, description, weight) self._attack = attack self._cost = cost
def __init__(self, name, description, weight, cost, healing): """ Initializes potions class. @param name: Name of portion. @param description: Description of potion. @param weight: Weight of weapon. @param cost: The cost of the potion. @param healing: Healing stat of potion. Player may heal at most this amount upon use. """ Item.__init__(self, name, description, weight, cost) self._healing = healing
def __init__(self, name, description, weight, cost, attack, defense, hp): """ Initializes charm class. @param name: The name of the item. @param description: Charm description. @param weight: Charm weight. @param attack: Attack bonus given by charm. @param defense: The defense stat of the charm. Reduces the amount of damage that player receives by this amount. @param hp: The hp bonus of the charm. """ Item.__init__(self, name, description, weight, cost) self._attack = attack self._defense = defense self._hp = hp
def __init__(self): Item.__init__(self, "Chain Vest", "+20 Armor", False)
def __init__(self): Item.__init__(self, "Darkin", "+20 Starting Mana, Becomes a Demon", True)
def __init__(self): Item.__init__( self, "Red Buff", "+200 Health, +20 Armor, Basic attacks deal 2.5% of target's maximum health true damage per second and prevent healing on the target", True)
def __init__(self): Item.__init__( self, "Thornmail", "+40 Armor, Reflects 35% of tamake taken from basic attacks", True)
def __init__(self): Item.__init__( self, "Locket Of The Iron Solari", "+20 Ability Power, +20 Armor, At the beggining of combat, all adjacent allies gain a 200 health shield", True)
def __init__(self): Item.__init__( self, "Luden's Echo", "+20 Ability Power, +20 Starting Mana, Special ability deals 200 magic damage to all adjacent enemies to target", True)
def __init__(self): Item.__init__( self, "Redemption", "+20 Starting Mana, +200 Health, On death, after a small delay, heal nerby allies for 1000 health", True)
def __init__(self): Item.__init__(self, "Blade Of The Ruined King", "+15% Attack Speed, Becomes a Blademaster", True)
def __init__(self): Item.__init__( self, "Sword Breaker", "+20 Armor, +20 Magic Resistance, Basic attacks have a 20% chance to disarm the target", True)
def __init__(self): Item.__init__(self, "Spatula", "It must do something...", False)
def __init__(self): Item.__init__(self, "Zephyr", "+200 Health, +20 Magic Resistance, At the start of combat, banishes for 5 seconds the unit that mirrors the wielder placement on the other side of the board", True)
def __init__(self): Item.__init__( self, "Phantom Dancer", "+15% Attack Speed, +20 Armor, Dodge all critical strikes", True)
def __init__(self): Item.__init__( self, "Sword of The Divine", "+20 Attack Damage, +15% Attack Speed, Every second, has a 5% chance to gain 100% critical strike chance until the end of the combat", True)
def __init__(self): Item.__init__( self, "Seraph's Embrace", "+40 Starting Mana, After casting Special Ability gains 20 mana", True)
def __init__(self): Item.__init__(self, "Rabadon's Deathcap", "+40 Ability Power, Increases Ability Power by 50%", True)
def __init__(self): Item.__init__(self, "Needlessly Large Rod", "+20% Spell Damage", False)
def __init__(self): Item.__init__(self, "Hush", "+20 Starting Mana, +20 Magic Resistance, Basic attacks have a 30% chance to silence the target", True)
def __init__(self): Item.__init__(self, "Giant's Belt", "+200 Health", False)
def __init__(self): Item.__init__(self, "Yuumi", "+20 Ability Power, Becomes a Sorcerer", True)
def __init__(self): Item.__init__( self, "Hextech Gunblade", "+20 Ability Power, +20 Attack Damage, Heal for 25% of damage dealt", True)
def __init__(self): Item.__init__(self, "Rapid Firecannon", "+30% Attack Speed, Doubles attack range, Basic attacks cannot miss", True)
def __init__(self): Item.__init__(self, "BF Sword", "+20 Attack Damage", False)
def __init__(self): Item.__init__(self, "Negatron Cloak", "+20 Magic Resistance", False)
def __init__(self): Item.__init__( self, "Spear of Shojin", "+20 Starting Mana, +20 Attack Damage, After casting Special Ability for the first time, basic attacks restore an additional 15% of maximum mana on-hit", True)
def __init__(self): Item.__init__( self, "Titanic Hydra", "+15% Attack Speed, +200 Health, Basic attacks deal 10% of your maximum health bonus damage to the target and all adjacent enemies", True)
def __init__(self): Item.__init__(self, "Dragon's Claw", "+40 Magic Resistance, Gain 83% resistance to magic damage", True)
def __init__(self): Item.__init__(self, "Guinssoo's Rageblade", "+20 Ability Power, +15% Attack Speed, Gains 3% attack speed on-hit, Stacks with no upper limit", True)