code
stringlengths
1
1.72M
language
stringclasses
1 value
from ftllibs.items.itemtools import ItemIconData class Item_3004(): def __init__(self): self.parent=False self.Name="Manamune" self.IconFileName="3004.png" self.ID=3004 self.Stack=0 self.MaxStack=0 self.Built_From=['3070','1027','1005','1036'] self.Builds_Into=[] self.Tags=['damage','mana','mana_regen'] self.Costs = 700 self.Total_Costs = 2110 self.Description="+350 Mana +7 Mana Regen per 5 seconds +20 Attack Damage UNIQUE Passive: Grants Attack Damage equal to 2% of your maximum Mana. UNIQUE Passive: Each time you basic attack, your maximum Mana increases by 1 (3 second cooldown). Each time you use an ability, your maximum Mana increases by 4 (3 second cooldown). Bonus caps at +1000 Mana. Does not stack with Tear of the Goddess or Archangel's Staff." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Mana += 350.0 self.parent.Mana_Regen_per_5_seconds += 7.0 self.parent.Attack_Damage += 20.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3003(): def __init__(self): self.parent=False self.Name="Archangel's Staff" self.IconFileName="3003.png" self.ID=3003 self.Stack=0 self.MaxStack=0 self.Built_From=['3070','1027','1005','1026'] self.Builds_Into=[] self.Tags=['spell_damage','mana','mana_regen'] self.Costs = 1000 self.Total_Costs = 2855 self.Description="+400 Mana +25 Mana Regen per 5 seconds +45 Ability Power Passive: Grants Ability Power equal to 3% of your maximum Mana. UNIQUE Passive: Each time you use an ability, your maximum Mana increases by 4 (3 second cooldown). Bonus caps at +1000 Mana. Does not stack with Tear of the Goddess or Manamune." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Mana += 400.0 self.parent.Mana += 1000.0 self.parent.Mana_Regen_per_5_seconds += 25.0 self.parent.Ability_Power += 45.0 self.parent.Ability_Power += self.parent.Mana * 0.03 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3145(): def __init__(self): self.parent=False self.Name="Hextech Revolver" self.IconFileName="3145.png" self.ID=3145 self.Stack=0 self.MaxStack=0 self.Built_From=['1052','1052'] self.Builds_Into=['3146','3152'] self.Tags=['spell_damage'] self.Costs = 330 self.Total_Costs = 1200 self.Description="+40 Ability Power UNIQUE Passive: +12% Spell Vamp" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 40.0 self.parent.Spell_Vamp += 12.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3188(): def __init__(self): self.parent=False self.Name="Blackfire Torch" self.IconFileName="3188.png" self.ID=3188 self.Stack=0 self.MaxStack=18 self.Built_From=['3098','3136'] self.Builds_Into=[] self.Tags=['ability_power','health','cooldown_reduction','magic_penetration'] self.Costs = 700 self.Total_Costs = 2950 self.Description="+70 Ability Power +250 Health Unique Passive: +10% cooldown reduction Unique Passive: +18 magic penetration Unique Passive: Your spells burn for an additional 3.5% of the target champion's maximum health in magic damage over 2 seconds. Each second burned consumes a charge. Up to 18 charges are generated when not in use." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["twistedtreeline","dominion"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 40.0 self.parent.Health += 300.0 self.parent.Cooldown_Reduction += 10.0 self.parent.Magic_Penetration_Flat += 18.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3152(): def __init__(self): self.parent=False self.Name="Will of the Ancients" self.IconFileName="3152.png" self.ID=3152 self.Stack=0 self.MaxStack=0 self.Built_From=['1026','3145','1052','1052'] self.Builds_Into=[] self.Tags=['spell_damage'] self.Costs = 440 self.Total_Costs = 2500 self.Description="+50 Ability Power UNIQUE Aura: Grants nearby allied champions 30 Ability Power and 20% Spell Vamp" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 50.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_1001(): def __init__(self): self.parent=False self.Name="Boots of Speed" self.IconFileName="1001.png" self.ID=1001 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=['3006','3047','3020','3158','3111','3117'] self.Tags=['movement'] self.Costs = 350 self.Total_Costs = 350 self.Description="UNIQUE Passive: Enhanced Movement 1 (does not stack with other Boots)" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Movement_Speed += 50.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3134(): def __init__(self): self.parent=False self.Name="The Brutalizer" self.IconFileName="3134.png" self.IconData=None self.ID=3134 self.Stack=0 self.MaxStack=0 self.Built_From=['1036','1036'] self.Builds_Into=['3142'] self.Tags=['damage','cooldown_reduction'] self.Costs = 507 self.Total_Costs = 1337 self.Description="+25 Attack Damage UNIQUE Passive: +10% Cooldown Reduction UNIQUE Passive: +15 Armor Penetration" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Attack_Damage += 25.0 self.parent.Cooldown_Reduction += 10.0 # above is % self.parent.Armor_Penetration_Flat += 15.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3100(): def __init__(self): self.parent=False self.Name="Lich Bane" self.IconFileName="3100.png" self.ID=3100 self.Stack=0 self.MaxStack=0 self.Built_From=['1033','3057','1027','1052','1026'] self.Builds_Into=[] self.Tags=['spell_block','spell_damage','mana','movement'] self.Costs = 950 self.Total_Costs = 3470 self.Description="+350 Mana +80 Ability Power +30 Magic Resist +7% Movement Speed UNIQUE Passive: After using an ability, your next basic attack gains bonus physical damage equal to your Ability Power (2 second cooldown). Does not stack with Sheen or Trinity Force." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Mana += 350.0 self.parent.Ability_Power += 80.0 self.parent.Magic_Resist += 30.0 self.parent.Movement_Speed += 7.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3165(): def __init__(self): self.parent=False self.Name="Morello's Evil Tome" self.IconFileName="3165.png" self.ID=3165 self.Stack=0 self.MaxStack=0 self.Built_From=['3098','1052','3108','1005','1052'] self.Builds_Into=[] self.Tags=['spell_damage','mana_regen','cooldown_reduction'] self.Costs = 440 self.Total_Costs = 2330 self.Description="+75 Ability Power +12 Mana Regen per 5 seconds UNIQUE Passive: +20% Cooldown Reduction UNIQUE Active: Inflicts target enemy champion with Grievous Wound, causing 50% reduced healing and regeneration for 8 seconds (20 second cooldown)." self.RichText_Description="" self.has_active=True self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 75.0 self.parent.Mana_Regen_per_5_seconds += 12.0 self.parent.Cooldown_Reduction += 20.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3102(): def __init__(self): self.parent=False self.Name="Banshee's Veil" self.IconFileName="3102.png" self.ID=3102 self.Stack=0 self.MaxStack=0 self.Built_From=['1057','3010','1028','1027'] self.Builds_Into=[] self.Tags=['health','spell_block','mana'] self.Costs = 650 self.Total_Costs = 2715 self.Description="+375 Health +375 Mana +50 Magic Resist UNIQUE Passive: Gain a spell shield that blocks the next incoming enemy ability (45 second cooldown)." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["summonersrift","twistedtreeline","provinggrounds"] self.Custom() def UpdateStats(self): self.parent.Health += 375.0 self.parent.Mana += 375.0 self.parent.Magic_Resist += 50.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3086(): def __init__(self): self.parent=False self.Name="Zeal" self.IconFileName="3086.png" self.ID=3086 self.Stack=0 self.MaxStack=0 self.Built_From=['1051','1042'] self.Builds_Into=['3046','3078'] self.Tags=['critical_strike','attack_speed','movement'] self.Costs = 375 self.Total_Costs = 1195 self.Description="+20% Attack Speed +10% Critical Strike Chance +6% Movement Speed" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Attack_Speed_Percentage += 20.0 # above is % self.parent.Critical_Strike_Chance += 10.0 # above is % self.parent.Movement_Speed += 6.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3035(): def __init__(self): self.parent=False self.Name="Last Whisper" self.IconFileName="3035.png" self.ID=3035 self.Stack=0 self.MaxStack=0 self.Built_From=['1037','1036'] self.Builds_Into=[] self.Tags=['damage'] self.Costs = 900 self.Total_Costs = 2290 self.Description="+40 Attack Damage UNIQUE Passive: +40% Armor Penetration" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Attack_Damage += 40.0 self.parent.Armor_Penetration += 40.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3116(): def __init__(self): self.parent=False self.Name="Rylai's Crystal Scepter" self.IconFileName="3116.png" self.ID=3116 self.Stack=0 self.MaxStack=0 self.Built_From=['1026','1052','1011'] self.Builds_Into=[] self.Tags=['health','spell_damage'] self.Costs = 700 self.Total_Costs = 3105 self.Description="+500 Health +80 Ability Power UNIQUE Passive: Dealing spell damage slows the target's Movement Speed by 35% for 1.5 seconds (15% for multi-target and damage-over-time spells)." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Health += 500.0 self.parent.Ability_Power += 80.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3070(): def __init__(self): self.parent=False self.Name="Tear of the Goddess" self.IconFileName="3070.png" self.ID=3070 self.Stack=0 self.MaxStack=0 self.Built_From=['1027','1005'] self.Builds_Into=['3003','3004'] self.Tags=['mana','mana_regen'] self.Costs = 205 self.Total_Costs = 995 self.Description="+350 Mana +7 Mana Regen per 5 seconds UNIQUE Passive: Each time you use an ability, your maximum Mana increases by 4 (3 second cooldown). Bonus caps at +1000 Mana. Does not stack with Archangel's Staff or Manamune." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Mana += 350.0 self.parent.Mana_Regen_per_5_seconds += 7.0 self.UpdateStats_Custom() def Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_1005(): def __init__(self): self.parent=False self.Name="Meki Pendant" self.IconFileName="1005.png" self.ID=1005 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=['3028','3108','3070'] self.Tags=['mana_regen'] self.Costs = 390 self.Total_Costs = 390 self.Description="+7 Mana Regen per 5 seconds" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Mana_Regen_per_5_seconds += 7.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3123(): def __init__(self): self.parent=False self.Name="Executioner's Calling" self.IconFileName="3123.png" self.ID=3123 self.Stack=0 self.MaxStack=0 self.Built_From=['1051','1053'] self.Builds_Into=[] self.Tags=['critical_strike','life_steal'] self.Costs = 500 self.Total_Costs = 1350 self.Description="+18% Life Steal +15% Critical Strike Chance UNIQUE Passive: Your basic attacks apply a mark to the target that deals 4 bonus magic damage each second for 8 seconds. UNIQUE Active: Inflicts target enemy champion with Grievous Wound, causing 50% reduced healing and regeneration for 8 seconds (20 second cooldown)." self.RichText_Description="" self.has_active=True self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Life_Steal += 18.0 # above is % self.parent.Critical_Strike_Chance += 15.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_2037(): def __init__(self): self.parent=False self.Name="Elixir of Fortitude" self.IconFileName="2037.png" self.ID=2037 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=[] self.Tags=['health','damage','consumeable'] self.Costs = 250 self.Total_Costs = 250 self.Description="Click to Consume: Grants 140-235 Health, based on champion level, and 10 Attack Damage for 4 minutes." self.RichText_Description="" self.has_active=True self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["summonersrift"] self.Custom() def UpdateStats(self): pass def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3106(): def __init__(self): self.parent=False self.Name="Madred's Razors" self.IconFileName="3106.png" self.ID=3106 self.Stack=0 self.MaxStack=0 self.Built_From=['1029','1036'] self.Builds_Into=['3154','3126'] self.Tags=['armor','damage'] self.Costs = 285 self.Total_Costs = 1000 self.Description="+15 Attack Damage +23 Armor UNIQUE Passive: Your basic attacks against minions and monsters have a 20% chance to deal 300 bonus magic damage." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["summonersrift"] self.Custom() def UpdateStats(self): self.parent.Attack_Damage += 15.0 self.parent.Armor += 23.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3200(): def __init__(self): self.parent=False self.Name="The Hex Core" self.IconFileName="3200.png" self.ID=3200 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=['3196','3197','3198'] self.Tags=['spell_damage','viktor'] self.Costs = 0 self.Total_Costs = 0 self.Description="+3 Ability Power per level. This item can be upgraded into one of three augments that enhance Viktor's basic abilities. Click the item in the store to discover its upgrades." self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 3.0 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_1054(): def __init__(self): self.parent=False self.Name="Doran's Shield" self.IconFileName="1054.png" self.ID=1054 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=[] self.Tags=['health','armor','health_regen','doran'] self.Costs = 475 self.Total_Costs = 475 self.Description="+120 Health +10 Armor +8 Health Regen per 5 seconds" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Health += 120.0 self.parent.Armor += 10.0 self.parent.Health_Regen_per_5_seconds += 8.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_2003(): def __init__(self): self.parent=False self.Name="Health Potion" self.IconFileName="2003.png" self.ID=2003 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=[] self.Tags=['health','consumeable'] self.Costs = 35 self.Total_Costs = 35 self.Description="Click to Consume: Restores 150 Health over 15 seconds." self.RichText_Description="" self.has_active=True self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): pass def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3186(): def __init__(self): self.parent=False self.Name="Kitae's Bloodrazor" self.IconFileName="3186.png" self.ID=3186 self.Stack=0 self.MaxStack=0 self.Built_From=['1037','1043'] self.Builds_Into=[] self.Tags=['damage','attack_speed'] self.Costs = 700 self.Total_Costs = 2725 self.Description="+30 Attack Damage +40% Attack Speed UNIQUE Passive: Your basic attacks deal magic damage equal to 2.5% of the target's maximum Health." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["dominion"] self.Custom() def UpdateStats(self): self.parent.Attack_Damage += 30.0 self.parent.Attack_Speed_Percentage += 40.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
import os import sys import re __all__ = [] dirList=os.listdir(sys.path[0] + "/ftllibs/items") for i in dirList: m = re.match("(i\d+?).py$",i) if m: __all__.append(m.groups()[0])
Python
from ftllibs.items.itemtools import ItemIconData class Item_1056(): def __init__(self): self.parent=False self.Name="Doran's Ring" self.IconFileName="1056.png" self.ID=1056 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=[] self.Tags=['health','spell_damage','mana_regen','doran'] self.Costs = 475 self.Total_Costs = 475 self.Description="+80 Health +15 Ability Power +5 Mana Regen per 5 seconds" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["summonersrift","twistedtreeline","provinggrounds"] self.Custom() def UpdateStats(self): self.parent.Health += 80.0 self.parent.Ability_Power += 15.0 self.parent.Mana_Regen_per_5_seconds += 5.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3184(): def __init__(self): self.parent=False self.Name="Entropy" self.IconFileName="3184.png" self.ID=3184 self.Stack=0 self.MaxStack=0 self.Built_From=['3044','1028','1036','1038'] self.Builds_Into=[] self.Tags=['health','damage'] self.Costs = 600 self.Total_Costs = 3565 self.Description="+275 Health +70 Attack Damage UNIQUE Passive: Your basic attacks have a 25% chance to reduce your target's Movement Speed by 30% for 2.5 seconds. UNIQUE Active: For the next 5 seconds, your basic attacks reduce your target's Movement Speed by 30% and deal 80 true damage over 2.5 seconds (60 second cooldown)." self.RichText_Description="" self.has_active=True self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["dominion","provinggrounds"] self.Custom() def UpdateStats(self): self.parent.Health += 275.0 self.parent.Attack_Damage += 70.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_1011(): def __init__(self): self.parent=False self.Name="Giant's Belt" self.IconFileName="1011.png" self.ID=1011 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=['3083','3022','3068','3116'] self.Tags=['health'] self.Costs = 1110 self.Total_Costs = 1110 self.Description="+430 Health" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Health += 430.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3128(): def __init__(self): self.parent=False self.Name="Deathfire Grasp" self.IconFileName="3128.png" self.ID=3128 self.Stack=0 self.MaxStack=0 self.Built_From=['3098','1052','1026'] self.Builds_Into=[] self.Tags=['spell_damage','cooldown_reduction'] self.Costs = 975 self.Total_Costs = 2600 self.Description="+80 Ability Power UNIQUE Passive: +15% Cooldown Reduction UNIQUE Active: Deals magic damage to target champion equal to 25% of their current Health (+4% per 100 Ability Power) with a minimum of 200 damage (60 second cooldown)." self.RichText_Description="" self.has_active=True self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 80.0 self.parent.Cooldown_Reduction += 15.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3028(): def __init__(self): self.parent=False self.Name="Chalice of Harmony" self.IconFileName="3028.png" self.ID=3028 self.Stack=0 self.MaxStack=0 self.Built_From=['1005','1033'] self.Builds_Into=['3174'] self.Tags=['spell_block','mana_regen'] self.Costs = 100 self.Total_Costs = 890 self.Description="+30 Magic Resist +7.5 Mana Regen per 5 seconds UNIQUE Passive: Increases your Mana Regen by 1% per 1% Mana you are missing. Does not stack with Athene's Unholy Grail." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Magic_Resist += 30.0 self.parent.Mana_Regen_per_5_seconds += 7.5 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_1036(): def __init__(self): self.parent=False self.Name="Long Sword" self.IconFileName="1036.png" self.ID=1036 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=['3106','3044','3134','3141','3035','3155','3077','3154','3004','3185'] self.Tags=['damage'] self.Costs = 415 self.Total_Costs = 415 self.Description="+10 Attack Damage" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Attack_Damage += 10.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_1052(): def __init__(self): self.parent=False self.Name="Amplifying Tome" self.IconFileName="1052.png" self.ID=1052 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=['3098','3145','3041','3108','3057','3136','3135','3116','3152','3114','3187','3174'] self.Tags=['spell_damage'] self.Costs = 435 self.Total_Costs = 435 self.Description="+20 Ability Power" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 20.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from PyQt4 import QtGui,QtCore class ItemIconData(QtCore.QObject): def __init__(self,IconName,parent=None): super(ItemIconData,self).__init__() self.IconName=IconName self.Default=QtGui.QPixmap('images/items/' + self.IconName) self.temp=self.Default.toImage() # create a grayscale image for i in range(self.temp.width()): for j in range(self.temp.height()): col = self.temp.pixel(i,j) gray = QtGui.qGray(col) self.temp.setPixel(i,j,QtGui.qRgb(gray,gray,gray)) self.DefaultGrayScale=QtGui.QPixmap().fromImage(self.temp) scalefactor=0.7 self.Small=self.Default.scaled(self.Default.size().width()*scalefactor, self.Default.size().height()*scalefactor) self.SmallGrayScale=self.Default.scaled(self.Default.size().width()*scalefactor, self.Default.size().height()*scalefactor)
Python
from ftllibs.items.itemtools import ItemIconData class Item_1028(): def __init__(self): self.parent=False self.Name="Ruby Crystal" self.IconFileName="1028.png" self.ID=1028 self.Stack=0 self.MaxStack=0 self.Built_From=[] self.Builds_Into=['3067','3132','3105','3044','3010','3178','3136','3083','3005','3099','3138'] self.Tags=['health'] self.Costs = 475 self.Total_Costs = 475 self.Description="+180 Health" self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Health += 180.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3115(): def __init__(self): self.parent=False self.Name="Nashor's Tooth" self.IconFileName="3115.png" self.ID=3115 self.Stack=0 self.MaxStack=0 self.Built_From=['3101','1042','1042','3108','1005','1052'] self.Builds_Into=[] self.Tags=['attack_speed','spell_damage','mana_regen','cooldown_reduction'] self.Costs = 400 self.Total_Costs = 2615 self.Description="+50% Attack Speed +65 Ability Power +10 Mana Regen per 5 seconds UNIQUE Passive: +25% Cooldown Reduction" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Attack_Speed_Percentage += 50.0 # above is % self.parent.Ability_Power += 65.0 self.parent.Mana_Regen_per_5_seconds += 10.0 self.parent.Cooldown_Reduction += 25.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3005(): def __init__(self): self.parent=False self.Name="Atma's Impaler" self.IconFileName="3005.png" self.ID=3005 self.Stack=0 self.MaxStack=0 self.Built_From=['1031','1018'] self.Builds_Into=[] self.Tags=['armor','damage','critical_strike'] self.Costs = 825 self.Total_Costs = 2355 self.Description="+45 Armor +18% Critical Strike Chance UNIQUE Passive: Gain Attack Damage equal to 1.5% of your maximum Health." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Armor += 45.0 self.parent.Critical_Strike_Chance += 18.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3170(): def __init__(self): self.parent=False self.Name="Moonflair Spellblade" self.IconFileName="3170.png" self.ID=3170 self.Stack=0 self.MaxStack=0 self.Built_From=['1026'] self.Builds_Into=[] self.Tags=['spell_damage'] self.Costs = 340 self.Total_Costs = 1200 self.Description="+50 Ability Power UNIQUE Passive: +35 Tenacity (Tenacity reduces the duration of stuns, slows, taunts, fears, silences, blinds and immobilizes. Does not stack with other Tenacity items.)" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Ability_Power += 50.0 self.parent.Tenacity=True self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3172(): def __init__(self): self.parent=False self.Name="Cloak and Dagger" self.IconFileName="3172.png" self.ID=3172 self.Stack=0 self.MaxStack=0 self.Built_From=['1018','1042'] self.Builds_Into=[] self.Tags=['critical_strike','attack_speed'] self.Costs = 200 self.Total_Costs = 1450 self.Description="+20% Attack Speed +20% Critical Strike Chance UNIQUE Passive: +35 Tenacity (Tenacity reduces the duration of stuns, slows, taunts, fears, silences, blinds and immobilizes. Does not stack with other Tenacity items.)" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["summonersrift"] self.Custom() def UpdateStats(self): self.parent.Attack_Speed_Percentage += 20.0 # above is % self.parent.Critical_Strike_Chance += 20.0 # above is % self.parent.Tenacity=True self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3180(): def __init__(self): self.parent=False self.Name="Odyn's Veil" self.IconFileName="3180.png" self.ID=3180 self.Stack=0 self.MaxStack=0 self.Built_From=['1057','3010','1028','1027'] self.Builds_Into=[] self.Tags=['health','spell_block','mana'] self.Costs = 650 self.Total_Costs = 2715 self.Description="+350 Health +350 Mana +50 Magic Resist UNIQUE Passive: Reduces and stores 10% of the magic damage dealt to your champion. UNIQUE Active: Deals 200 + (stored magic) [max: 400] magic damage to nearby enemy units (90 second cooldown)." self.RichText_Description="" self.has_active=True self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["dominion"] self.Custom() def UpdateStats(self): self.parent.Health += 350.0 self.parent.Mana += 350.0 self.parent.Magic_Resist += 50.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3044(): def __init__(self): self.parent=False self.Name="Phage" self.IconFileName="3044.png" self.ID=3044 self.Stack=0 self.MaxStack=0 self.Built_From=['1028','1036'] self.Builds_Into=['3022','3078','3184'] self.Tags=['health','damage'] self.Costs = 425 self.Total_Costs = 1315 self.Description="+225 Health +18 Attack Damage UNIQUE Passive: Your basic attacks have a 25% chance to slow your target's Movement Speed by 30% for 2.5 seconds." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Health += 225.0 self.parent.Attack_Damage += 18.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3009(): def __init__(self): self.parent=False self.Name="Boots of Swiftness" self.IconFileName="3009.png" self.ID=3009 self.Stack=0 self.MaxStack=0 self.Built_From=['1001'] self.Builds_Into=[] self.Tags=['movement'] self.Costs = 650 self.Total_Costs = 1000 self.Description="UNIQUE Passive: Enhanced Movement 3 (does not stack with other Boots)" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Movement_Speed += 90.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3109(): def __init__(self): self.parent=False self.Name="Force of Nature" self.IconFileName="3109.png" self.ID=3109 self.Stack=0 self.MaxStack=0 self.Built_From=['1007','1007','1057'] self.Builds_Into=[] self.Tags=['spell_block','health_regen','movement'] self.Costs = 1000 self.Total_Costs = 2610 self.Description="+76 Magic Resist +40 Health Regen per 5 seconds +8% Movement Speed UNIQUE Passive: Restores 1.75% of your maxmium Health every 5 seconds." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Magic_Resist += 76.0 self.parent.Health_Regen_per_5_seconds += 40.0 self.parent.Movement_Speed += 8.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3144(): def __init__(self): self.parent=False self.Name="Bilgewater Cutlass" self.IconFileName="3144.png" self.ID=3144 self.Stack=0 self.MaxStack=0 self.Built_From=['1037','1053'] self.Builds_Into=['3146','3153'] self.Tags=['damage','life_steal'] self.Costs = 400 self.Total_Costs = 1825 self.Description="+35 Attack Damage +15% Life Steal UNIQUE Active: Deals 150 magic damage and slows the target champion's Movement Speed by 50% for 3 seconds (60 second cooldown)." self.RichText_Description="" self.has_active=True self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Attack_Damage += 35.0 self.parent.Life_Steal += 15.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3068(): def __init__(self): self.parent=False self.Name="Sunfire Cape" self.IconFileName="3068.png" self.ID=3068 self.Stack=0 self.MaxStack=0 self.Built_From=['1031','1011'] self.Builds_Into=[] self.Tags=['health','armor'] self.Costs = 800 self.Total_Costs = 2610 self.Description="+450 Health +45 Armor UNIQUE Passive: Deals 40 magic damage per second to nearby enemies." self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Health += 450.0 self.parent.Armor += 45.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3006(): def __init__(self): self.parent=False self.Name="Berserker's Greaves" self.IconFileName="3006.png" self.ID=3006 self.Stack=0 self.MaxStack=0 self.Built_From=['1001','1042'] self.Builds_Into=[] self.Tags=['attack_speed','movement'] self.Costs = 150 self.Total_Costs = 920 self.Description=" +25% Attack Speed UNIQUE Passive: Enhanced Movement 2 (does not stack with other Boots)" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Attack_Speed_Percentage += 25.0 # above is % self.parent.Movement_Speed += 70.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3111(): def __init__(self): self.parent=False self.Name="Mercury's Treads" self.IconFileName="3111.png" self.ID=3111 self.Stack=0 self.MaxStack=0 self.Built_From=['1001','1033'] self.Builds_Into=[] self.Tags=['spell_block','movement'] self.Costs = 450 self.Total_Costs = 1200 self.Description="+25 Magic Resist UNIQUE Passive: Enhanced Movement 2 (does not stack with other Boots) UNIQUE Passive: +35 Tenacity (Tenacity reduces the duration of stuns, slows, taunts, fears, silences, blinds and immobilizes. Does not stack with other Tenacity items.)" self.RichText_Description="" self.has_active=False self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Magic_Resist += 25.0 self.parent.Movement_Speed += 70.0 self.parent.Tenacity=True self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3197(): def __init__(self): self.parent=False self.Name="Augment: Gravity" self.IconFileName="3197.png" self.ID=3197 self.Stack=0 self.MaxStack=0 self.Built_From=['3200'] self.Builds_Into=[] self.Tags=['spell_damage','mana','cooldown_reduction','viktor'] self.Availability=['special','viktor'] self.Costs = 1000 self.Total_Costs = 1000 self.Description="+3 Ability Power per level +200 Mana +10% Cooldown Reduction +5 Mana Regen per 5 seconds Ability Augment: Gravity Field has an additional 30% cast range." self.RichText_Description="" self.has_active=False self.has_passive=False self.IconData=ItemIconData(self.IconFileName) self.Custom() def UpdateStats(self): self.parent.Ability_Power_per_level += 3.0 self.parent.Mana += 200.0 self.parent.Cooldown_Reduction += 10.0 # above is % self.parent.Augment += 666.0 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
from ftllibs.items.itemtools import ItemIconData class Item_3143(): def __init__(self): self.parent=False self.Name="Randuin's Omen" self.IconFileName="3143.png" self.ID=3143 self.Stack=0 self.MaxStack=0 self.Built_From=['3132','1028','3082','1031','1006','1029'] self.Builds_Into=[] self.Tags=['health','health_regen','armor','cooldown_reduction'] self.Costs = 600 self.Total_Costs = 3075 self.Description="+350 Health +75 Armor +25 Health Regen per 5 seconds UNIQUE Passive: +5% Cooldown Reduction UNIQUE Passive: 20% chance on being hit by basic attacks to slow the attacker's Movement and Attack Speeds by 35% for 3 seconds. UNIQUE Active: Slows the Movement and Attack Speeds of surrounding enemy units by 35% for 1 second + 0.5 seconds for each 100 combined Armor and Magic Resist your champion has (60 second cooldown)." self.RichText_Description="" self.has_active=True self.has_passive=True self.IconData=ItemIconData(self.IconFileName) self.Availability=["all"] self.Custom() def UpdateStats(self): self.parent.Health += 350.0 self.parent.Armor += 75.0 self.parent.Health_Regen_per_5_seconds += 25.0 self.parent.Cooldown_Reduction += 5.0 # above is % self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Malice" self.Icon="r_3_3.png" self.IconData=None self.Tags=['critical_chance','mark'] self.Costs = 410 self.Description="Increases your Critical Chance by 0.93%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Critical_Change += 0.93 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Meditation" self.Icon="bl_2_3.png" self.IconData=None self.Tags=['energy_regen','quintessence'] self.Costs = 2050 self.Description="Increases your Energy Regen. by 1.5" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Energy_Regeneration += 1.5 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Replentishment" self.Icon="y_3_3.png" self.IconData=None self.Tags=['mana_regen','seal'] self.Costs = 205 self.Description="Increases your Mana Regen by 0.41" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana_Regen_per_5_seconds += 0.41 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Clarity" self.Icon="y_2_3.png" self.IconData=None self.Tags=['energy','seal'] self.Costs = 820 self.Description="Increases your Mana Reg. by 0.065 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana_Regen_per_5_seconds += 0.065 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Acumen" self.Icon="bl_3_3.png" self.IconData=None self.Tags=['energy','quintessence'] self.Costs = 1025 self.Description="Increases your Energy by 5.4" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Energy += 5.4 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Celerity" self.Icon="bl_2_3.png" self.IconData=None self.Tags=['energy','quintessence'] self.Costs = 820 self.Description="Reduces your Spell Cooldown by 0.13% per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Cooldown_Reduction += 0.13 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Insight" self.Icon="b_1_3.png" self.IconData=None self.Tags=['magic_penetration','glyph'] self.Costs = 410 self.Description="Increases your Magical Penentration by 0.68" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Magical_Penetration_Flat += 0.68 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Potency" self.Icon="r_3_3.png" self.IconData=None self.Tags=['ability_power','mark'] self.Costs = 410 self.Description="Increases your Ability Power by 0.59 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 0.59 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Force" self.Icon="b_4_3.png" self.IconData=None self.Tags=['energy','glyph'] self.Costs = 410 self.Description="Increases your Ability Power for 0.17 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 0.17 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Malice" self.Icon="b_3_3.png" self.IconData=None self.Tags=['critical_chance','glyph'] self.Costs = 410 self.Description="Increases your Critical Chance by 0.28%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Critical_Change += 0.28 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Shielding" self.Icon="y_4_3.png" self.IconData=None self.Tags=['magic_resist','seal'] self.Costs = 410 self.Description="Increases your magic resist by 0.1 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Magic_Resist += 0.1 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Desolation" self.Icon="r_1_3.png" self.IconData=None self.Tags=['energy','mark'] self.Costs = 820 self.Description="Increases your Armor Pen. by 1.66" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Armor_Penetration_Flat += 1.66 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Destruction" self.Icon="bl_4_3.png" self.IconData=None self.Tags=['energy','quintessence'] self.Costs = 820 self.Description="Increases your Armor/Magic Pen. by 2.0/1.13" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Armor_Penetration_Flat += 2.0 self.parent.Magic_Penetration_Flat += 1.13 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Potency" self.Icon="r_3_3.png" self.IconData=None self.Tags=['ability_power','mark'] self.Costs = 410 self.Description="Increases your Ability Power by 0.59 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 0.59 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Avarice" self.Icon="y_3_3.png" self.IconData=None self.Tags=['energy','seal'] self.Costs = 820 self.Description="Increases your Gold by 0.25/10s" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Energy += 2.2 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Sapience" self.Icon="b_2_3.png" self.IconData=None self.Tags=['energy','glyph'] self.Costs = 820 self.Description="Increases your energy by 0.161 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Energy += 0.161 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Clarity" self.Icon="b_4_3.png" self.IconData=None self.Tags=['energy','glyph'] self.Costs = 820 self.Description="Increases your Mana Reg. by 0.055 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana_Regen_per_5_seconds += 0.055 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Potency" self.Icon="bl_3_3.png" self.IconData=None self.Tags=['ability_power','quintessence'] self.Costs = 1025 self.Description="Increases your Ability Power by 4.95 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 4.95 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Endurance" self.Icon="y_2_3.png" self.IconData=None self.Tags=['energy','seal'] self.Costs = 820 self.Description="Increases your Health by 0.5%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Health_Percentage += 0.5 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Shielding" self.Icon="r_4_3.png" self.IconData=None self.Tags=['magic_resist','mark'] self.Costs = 205 self.Description="Increases your magic resist by 0.07 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Magic_Resist += 0.07 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Fortitude" self.Icon="b_3_3.png" self.IconData=None self.Tags=['energy','glyph'] self.Costs = 410 self.Description="Increases your Health by 2.67" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Health += 2.67 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Might" self.Icon="r_2_3.png" self.IconData=None self.Tags=['attack_damage','quintessence'] self.Costs = 515 self.Description="Increases your Attack Damage by 0.25 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Attack_Damange += 0.25 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Fortitude" self.Icon="b_1_3.png" self.IconData=None self.Tags=['critical_damage','glyph'] self.Costs = 820 self.Description="Increases your Critical Damage by 0.56%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Critical_Damage_Percentage += 0.56 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Knowledge" self.Icon="bl_2_3.png" self.IconData=None self.Tags=['mana','quintessence'] self.Costs = 410 self.Description="Increases your Mana by 4.17 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana += 4.17 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Force" self.Icon="r_4_3.png" self.IconData=None self.Tags=['energy','mark'] self.Costs = 410 self.Description="Increases your Ability Power for 0.10 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 0.10 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Potency" self.Icon="b_3_3.png" self.IconData=None self.Tags=['ability_power','glyph'] self.Costs = 410 self.Description="Increases your Ability Power by 1.19 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 1.19 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Fortitude" self.Icon="r_3_3.png" self.IconData=None self.Tags=['energy','mark'] self.Costs = 410 self.Description="Increases your Health by 3.47" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Health += 3.47 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Lucidity" self.Icon="y_3_3.png" self.IconData=None self.Tags=['energy_regen','seal'] self.Costs = 515 self.Description="Increases your Energy Regen. by 0.064 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Energy_Regeneration += 0.064 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Insight" self.Icon="r_1_3.png" self.IconData=None self.Tags=['magic_penetration','mark'] self.Costs = 410 self.Description="Increases your Magical Penentration by 0.95" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Magical_Penetration_Flat += 0.95 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Malice" self.Icon="y_3_3.png" self.IconData=None self.Tags=['critical_chance','seal'] self.Costs = 1025 self.Description="Increases your Critical Chance by 0.42%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Critical_Change += 0.42 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Revival" self.Icon="bl_1_3.png" self.IconData=None self.Tags=['special','quintessence'] self.Costs = 205 self.Description="Decreases your time spent dead by 5%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Dead_Reduction_Percentage += 5 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Resilience" self.Icon="y_1_3.png" self.IconData=None self.Tags=['armor','seal'] self.Costs = 205 self.Description="Increases your Armor by 1.41" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Armor += 1.41 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Intellect" self.Icon="b_1_3.png" self.IconData=None self.Tags=['mana','glyph'] self.Costs = 410 self.Description="Increases your Mana by 11.25" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana += 11.25 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Intellect" self.Icon="y_1_3.png" self.IconData=None self.Tags=['mana','seal'] self.Costs = 410 self.Description="Increases your Mana by 6.89" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana += 6.89 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Regeneration" self.Icon="y_2_3.png" self.IconData=None self.Tags=['health_regen','seal'] self.Costs = 410 self.Description="Increases your Health Regen by 0.11 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Healh_Regen_per_5_seconds += 0.11 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Fortitude" self.Icon="bl_3_3.png" self.IconData=None self.Tags=['critical_damage','quintessence'] self.Costs = 1025 self.Description="Increases your Critical Damage by 4.46%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Critical_Damage_Percentage += 4.46 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Meditation" self.Icon="y_1_3.png" self.IconData=None self.Tags=['energy_regen','seal'] self.Costs = 820 self.Description="Increases your Energy Regen. by 0.63" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Energy_Regeneration += 0.63 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Destruction" self.Icon="r_1_3.png" self.IconData=None self.Tags=['energy','mark'] self.Costs = 820 self.Description="Increases your Armor/Magic Pen. by 1.0/0.57" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Armor_Penetration_Flat += 1.0 self.parent.Magic_Penetration_Flat += 0.57 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Insight" self.Icon="bl_1_3.png" self.IconData=None self.Tags=['magic_penetration','quintessence'] self.Costs = 1025 self.Description="Increases your Magical Penentration by 2.18" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Magical_Penetration_Flat += 2.18 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Avarice" self.Icon="bl_4_3.png" self.IconData=None self.Tags=['energy','quintessence'] self.Costs = 820 self.Description="Increases your Gold by 1/10s" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Energy += 2.2 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Alacrity" self.Icon="y_3_3.png" self.IconData=None self.Tags=['attack_speed','seal'] self.Costs = 410 self.Description="Increases your Attack Speed by 0.76%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Attack_Speed_Percentage += 0.76 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Focus" self.Icon="r_1_3.png" self.IconData=None self.Tags=['energy','mark'] self.Costs = 410 self.Description="Increases your Spell Cooldown Reduction by 0.16%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Cooldown_Reduction += 0.16 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Might" self.Icon="b_2_3.png" self.IconData=None self.Tags=['attack_damage','glyph'] self.Costs = 205 self.Description="Increases your Attack Damage by 0.04 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Attack_Damange += 0.04 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Alacrity" self.Icon="r_3_3.png" self.IconData=None self.Tags=['attack_speed','mark'] self.Costs = 410 self.Description="Increases your Attack Speed by 1.7%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Attack_Speed_Percentage += 1.7 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Might" self.Icon="y_2_3.png" self.IconData=None self.Tags=['attack_damage','seal'] self.Costs = 205 self.Description="Increases your Attack Damage by 0.06 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Attack_Damange += 0.06 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Force" self.Icon="bl_4_3.png" self.IconData=None self.Tags=['energy','quintessence'] self.Costs = 1025 self.Description="Increases your Ability Power for 0.43 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 0.43 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Mark of Knowledge" self.Icon="r_2_3.png" self.IconData=None self.Tags=['mana','mark'] self.Costs = 410 self.Description="Increases your Mana by 1.17 per level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana += 1.17 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Defense" self.Icon="bl_2_3.png" self.IconData=None self.Tags=['energy','quintessence'] self.Costs = 820 self.Description="Increases your Armor by 0.38 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Armor += 0.38 * self.parent.Level self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Glyph of Alacrity" self.Icon="b_3_3.png" self.IconData=None self.Tags=['attack_speed','glyph'] self.Costs = 410 self.Description="Increases your Attack Speed by 0.64%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Attack_Speed_Percentage += 0.64 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Strength" self.Icon="bl_1_3.png" self.IconData=None self.Tags=['attack_damage','quintessence'] self.Costs = 1025 self.Description="Increases your attack damage by 2.25" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Attack_Damage += 2.25 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Malice" self.Icon="bl_3_3.png" self.IconData=None self.Tags=['critical_chance','quintessence'] self.Costs = 1025 self.Description="Increases your Critical Chance by 1.86%" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Critical_Change += 1.86 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Seal of Potency" self.Icon="y_3_3.png" self.IconData=None self.Tags=['ability_power','seal'] self.Costs = 410 self.Description="Increases your Ability Power by 0.59 per Level" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Ability_Power += 0.59 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Intellect" self.Icon="bl_1_3.png" self.IconData=None self.Tags=['mana','quintessence'] self.Costs = 1025 self.Description="Increases your Mana by 37.5" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Mana += 37.5 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python
class Rune(): def __init__(self): self.parent=None self.Name="Quintessence of Desolation" self.Icon="bl_1_3.png" self.IconData=None self.Tags=['energy','quintessence'] self.Costs = 820 self.Description="Increases your Armor Pen. by 3.33" self.RichText_Description="" self.LoadIcons() self.Custom() def LoadIcons(self): f = open('images/runes/%s' % (self.Icon)) self.IconData = f.read() f.close() def UpdateStats(self): self.parent.Armor_Penetration_Flat += 3.33 self.UpdateStats_Custom() def Custom(self): pass def UpdateStats_Custom(self): pass
Python