User:GeoGalvanic/Testspace/Affix Script

from log_into_wiki import * # this is my own file import mwparserfromhell

site = login('me', 'lastepoch') # Set wiki summary = 'Updating affix data values' # Set summary

limit = 5 # set this to -1 to go through all pages

this_template = site.pages['Template:Shards'] # Set template pages = this_template.embeddedin # get the list of pages that transclude the template in question
 * 1) there are a lot of other ways to generate a list of pages, but this is probably the most standard that i use

pages_var = list(pages) # you can only loop through a generator one time, and what mwclient returns you
 * 1) above from .embeddedin is a generator. so we convert it to a list so we can loop through it more than one time

pages_array = [p.name for p in pages_var] # get the name of the page as a string instead of a page object

try: startat = pages_array.index(startat_page) except NameError as e:	startat = -1 print(startat) # print the index we're starting at just for reference
 * 1) this following block of code makes us start at our startat_page location in the array, if one was defined.
 * 2) otherwise, if we left that line above commented, 'starat_page' is not defined, so it'll throw a NameError
 * 3) this is obviously not "nice" code but it works and this is just for our own convenience so whatever

lmt = 0 # lmt is our counter to see where we are for page in pages_var: if lmt == limit: # if we don't want to run through everything & we've reached our limit, stop break lmt += 1 #increment if lmt < startat: # check if we aren't supposed to start yet print("Skipping page %s" % page.name) else: # now is when we actually start to do stuff text = page.text # get the text of the page wikitext = mwparserfromhell.parse(text) # and turn it into wikitext for template in wikitext.filter_templates: # this iterates over all templates in the page if template.name.matches('Shards'): add(ModT1Min,pagedatadict.get(name).get(ModT1Min)) add(ModT1Max,pagedatadict.get(name).get(ModT1Max)) add(ModT2Min,pagedatadict.get(name).get(ModT2Min)) add(ModT2Max,pagedatadict.get(name).get(ModT2Max)) add(ModT3Min,pagedatadict.get(name).get(ModT3Min)) add(ModT3Max,pagedatadict.get(name).get(ModT3Max)) add(ModT4Min,pagedatadict.get(name).get(ModT4Min)) add(ModT4Max,pagedatadict.get(name).get(ModT4Max)) add(ModT5Min,pagedatadict.get(name).get(ModT5Min)) add(ModT5Max,pagedatadict.get(name).get(ModT5Max)) # write your code here # this can include stuff like checking for a param existing, seeing what its value is, # changing the name of the param, changing the value,....really whatever you want to do		newtext = str(wikitext) # go back to string if text != newtext: # check to make sure we actually made changes print('Saving page %s...' % page.name) # notify of save page.save(newtext, summary=summary) # save page else: # if we didn't make any changes print('Skipping page %s...' % page.name) # notify of skip

pagedatadict = { 'Armor (Added) Shard' : { ‘ModT1Min' : '6', ‘ModT1Max' : '25' , ‘ModT2Min' : '26' , ‘ModT2Max' : '40' , ‘ModT3Min' : '41' , ‘ModT3Max' : '70' , ‘ModT4Min' : '71' , ‘ModT4Max' : '100' , ‘ModT5Min' : '101' , ‘ModT5Max' : '150' }, 'Block Armor Shard' : { ‘ModT1Min' : '60', ‘ModT1Max' : '129' , ‘ModT2Min' : '130' , ‘ModT2Max' : '251' , ‘ModT3Min' : '250' , ‘ModT3Max' : '350' , ‘ModT4Min' : '351' , ‘ModT4Max' : '450' , ‘ModT5Min' : '451' , ‘ModT5Max' : '700' }, 'Block Chance Shard' : { ‘ModT1Min' : '0.02', ‘ModT1Max' : '0.06' , ‘ModT2Min' : '0.07' , ‘ModT2Max' : '0.08' , ‘ModT3Min' : '0.09' , ‘ModT3Max' : '0.1' , ‘ModT4Min' : '0.11' , ‘ModT4Max' : '0.12' , ‘ModT5Min' : '0.13' , ‘ModT5Max' : '0.15' }, 'Block Protection Shard' : { ‘ModT1Min' : '50', ‘ModT1Max' : '100' , ‘ModT2Min' : '101' , ‘ModT2Max' : '150' , ‘ModT3Min' : '151' , ‘ModT3Max' : '250' , ‘ModT4Min' : '251' , ‘ModT4Max' : '350' , ‘ModT5Min' : '351' , ‘ModT5Max' : '600' }, 'Cold Protection Shard' : { ‘ModT1Min' : '12', ‘ModT1Max' : '35' , ‘ModT2Min' : '36' , ‘ModT2Max' : '60' , ‘ModT3Min' : '61' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '150' , ‘ModT5Min' : '151' , ‘ModT5Max' : '250' }, 'Critical Strike Multiplier Shard' : { ‘ModT1Min' : '0.07', ‘ModT1Max' : '0.09' , ‘ModT2Min' : '0.1' , ‘ModT2Max' : '0.12' , ‘ModT3Min' : '0.13' , ‘ModT3Max' : '0.16' , ‘ModT4Min' : '0.17' , ‘ModT4Max' : '0.2' , ‘ModT5Min' : '0.21' , ‘ModT5Max' : '0.25' }, 'Dodge Rating (Added) Shard' : { ‘ModT1Min' : '15', ‘ModT1Max' : '25' , ‘ModT2Min' : '26' , ‘ModT2Max' : '40' , ‘ModT3Min' : '41' , ‘ModT3Max' : '55' , ‘ModT4Min' : '56' , ‘ModT4Max' : '70' , ‘ModT5Min' : '71' , ‘ModT5Max' : '100' }, 'Elemental Protection Shard' : { ‘ModT1Min' : '6', ‘ModT1Max' : '25' , ‘ModT2Min' : '26' , ‘ModT2Max' : '40' , ‘ModT3Min' : '41' , ‘ModT3Max' : '70' , ‘ModT4Min' : '71' , ‘ModT4Max' : '100' , ‘ModT5Min' : '101' , ‘ModT5Max' : '150' }, 'Fire Protection Shard' : { ‘ModT1Min' : '11', ‘ModT1Max' : '35' , ‘ModT2Min' : '36' , ‘ModT2Max' : '60' , ‘ModT3Min' : '61' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '150' , ‘ModT5Min' : '151' , ‘ModT5Max' : '250' }, 'Health Shard' : { ‘ModT1Min' : '5', ‘ModT1Max' : '15' , ‘ModT2Min' : '16' , ‘ModT2Max' : '25' , ‘ModT3Min' : '26' , ‘ModT3Max' : '35' , ‘ModT4Min' : '36' , ‘ModT4Max' : '50' , ‘ModT5Min' : '51' , ‘ModT5Max' : '80' }, 'Lightning Protection Shard' : { ‘ModT1Min' : '12', ‘ModT1Max' : '35' , ‘ModT2Min' : '36' , ‘ModT2Max' : '60' , ‘ModT3Min' : '61' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '150' , ‘ModT5Min' : '151' , ‘ModT5Max' : '250' }, 'Mana Shard' : { ‘ModT1Min' : '6', ‘ModT1Max' : '10' , ‘ModT2Min' : '11' , ‘ModT2Max' : '15' , ‘ModT3Min' : '16' , ‘ModT3Max' : '20' , ‘ModT4Min' : '21' , ‘ModT4Max' : '25' , ‘ModT5Min' : '26' , ‘ModT5Max' : '35' }, 'Melee Cold Damage Shard' : { ‘ModT1Min' : '3', ‘ModT1Max' : '6' , ‘ModT2Min' : '7' , ‘ModT2Max' : '10' , ‘ModT3Min' : '11' , ‘ModT3Max' : '14' , ‘ModT4Min' : '15' , ‘ModT4Max' : '19' , ‘ModT5Min' : '20' , ‘ModT5Max' : '26' }, 'Melee Crit Chance Shard' : { ‘ModT1Min' : '0.03', ‘ModT1Max' : '0.03' , ‘ModT2Min' : '0.04' , ‘ModT2Max' : '0.04' , ‘ModT3Min' : '0.05' , ‘ModT3Max' : '0.05' , ‘ModT4Min' : '0.06' , ‘ModT4Max' : '0.06' , ‘ModT5Min' : '0.07' , ‘ModT5Max' : '0.07' }, 'Melee Fire Damage Shard' : { ‘ModT1Min' : '3', ‘ModT1Max' : '6' , ‘ModT2Min' : '7' , ‘ModT2Max' : '10' , ‘ModT3Min' : '11' , ‘ModT3Max' : '14' , ‘ModT4Min' : '15' , ‘ModT4Max' : '19' , ‘ModT5Min' : '20' , ‘ModT5Max' : '26' }, 'Melee Lightning Damage Shard' : { ‘ModT1Min' : '3', ‘ModT1Max' : '6' , ‘ModT2Min' : '7' , ‘ModT2Max' : '10' , ‘ModT3Min' : '11' , ‘ModT3Max' : '14' , ‘ModT4Min' : '15' , ‘ModT4Max' : '19' , ‘ModT5Min' : '20' , ‘ModT5Max' : '26' }, 'Melee Physical Damage Shard' : { ‘ModT1Min' : '3', ‘ModT1Max' : '6' , ‘ModT2Min' : '7' , ‘ModT2Max' : '10' , ‘ModT3Min' : '11' , ‘ModT3Max' : '14' , ‘ModT4Min' : '15' , ‘ModT4Max' : '19' , ‘ModT5Min' : '20' , ‘ModT5Max' : '26' }, 'Melee Void Damage Shard' : { ‘ModT1Min' : '3', ‘ModT1Max' : '7' , ‘ModT2Min' : '8' , ‘ModT2Max' : '12' , ‘ModT3Min' : '13' , ‘ModT3Max' : '17' , ‘ModT4Min' : '18' , ‘ModT4Max' : '22' , ‘ModT5Min' : '23' , ‘ModT5Max' : '30' }, 'Necrotic Protection Shard' : { ‘ModT1Min' : '12', ‘ModT1Max' : '35' , ‘ModT2Min' : '36' , ‘ModT2Max' : '60' , ‘ModT3Min' : '61' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '150' , ‘ModT5Min' : '151' , ‘ModT5Max' : '250' }, 'Poison Protection Shard' : { ‘ModT1Min' : '12', ‘ModT1Max' : '35' , ‘ModT2Min' : '36' , ‘ModT2Max' : '60' , ‘ModT3Min' : '61' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '150' , ‘ModT5Min' : '151' , ‘ModT5Max' : '250' }, 'Potion Health Shard' : { ‘ModT1Min' : '10', ‘ModT1Max' : '19' , ‘ModT2Min' : '20' , ‘ModT2Max' : '30' , ‘ModT3Min' : '31' , ‘ModT3Max' : '45' , ‘ModT4Min' : '46' , ‘ModT4Max' : '60' , ‘ModT5Min' : '61' , ‘ModT5Max' : '100' }, 'Stun Avoidance Shard' : { ‘ModT1Min' : '15', ‘ModT1Max' : '35' , ‘ModT2Min' : '36' , ‘ModT2Max' : '60' , ‘ModT3Min' : '61' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '150' , ‘ModT5Min' : '151' , ‘ModT5Max' : '250' }, 'Void Protection Shard' : { ‘ModT1Min' : '12', ‘ModT1Max' : '35' , ‘ModT2Min' : '36' , ‘ModT2Max' : '60' , ‘ModT3Min' : '61' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '150' , ‘ModT5Min' : '151' , ‘ModT5Max' : '250' }, 'Chance To Bleed Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.14' , ‘ModT2Min' : '0.15' , ‘ModT2Max' : '0.19' , ‘ModT3Min' : '0.2' , ‘ModT3Max' : '0.24' , ‘ModT4Min' : '0.25' , ‘ModT4Max' : '0.31' , ‘ModT5Min' : '0.32' , ‘ModT5Max' : '0.45' }, 'Chance To Blind Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.14' , ‘ModT2Min' : '0.15' , ‘ModT2Max' : '0.19' , ‘ModT3Min' : '0.2' , ‘ModT3Max' : '0.24' , ‘ModT4Min' : '0.25' , ‘ModT4Max' : '0.31' , ‘ModT5Min' : '0.32' , ‘ModT5Max' : '0.45' }, 'Chance To Chill Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.14' , ‘ModT2Min' : '0.15' , ‘ModT2Max' : '0.19' , ‘ModT3Min' : '0.2' , ‘ModT3Max' : '0.24' , ‘ModT4Min' : '0.25' , ‘ModT4Max' : '0.31' , ‘ModT5Min' : '0.32' , ‘ModT5Max' : '0.45' }, 'Chance To Ignite Shard' : { ‘ModT1Min' : '0.08', ‘ModT1Max' : '0.11' , ‘ModT2Min' : '0.12' , ‘ModT2Max' : '0.15' , ‘ModT3Min' : '0.16' , ‘ModT3Max' : '0.2' , ‘ModT4Min' : '0.21' , ‘ModT4Max' : '0.25' , ‘ModT5Min' : '0.26' , ‘ModT5Max' : '0.35' }, 'Chance To Poison Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.14' , ‘ModT2Min' : '0.15' , ‘ModT2Max' : '0.19' , ‘ModT3Min' : '0.2' , ‘ModT3Max' : '0.24' , ‘ModT4Min' : '0.25' , ‘ModT4Max' : '0.31' , ‘ModT5Min' : '0.32' , ‘ModT5Max' : '0.45' }, 'Chance To Shock Shard' : { ‘ModT1Min' : '0.08', ‘ModT1Max' : '0.11' , ‘ModT2Min' : '0.12' , ‘ModT2Max' : '0.15' , ‘ModT3Min' : '0.16' , ‘ModT3Max' : '0.2' , ‘ModT4Min' : '0.21' , ‘ModT4Max' : '0.25' , ‘ModT5Min' : '0.26' , ‘ModT5Max' : '0.35' }, 'Chance To Slow Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.14' , ‘ModT2Min' : '0.15' , ‘ModT2Max' : '0.19' , ‘ModT3Min' : '0.2' , ‘ModT3Max' : '0.24' , ‘ModT4Min' : '0.25' , ‘ModT4Max' : '0.31' , ‘ModT5Min' : '0.32' , ‘ModT5Max' : '0.45' }, 'Damage Dealt To Mana Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.05' , ‘ModT2Min' : '0.06' , ‘ModT2Max' : '0.06' , ‘ModT3Min' : '0.07' , ‘ModT3Max' : '0.07' , ‘ModT4Min' : '0.08' , ‘ModT4Max' : '0.08' , ‘ModT5Min' : '0.09' , ‘ModT5Max' : '0.1' }, 'Glancing Blow Chance Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.08' , ‘ModT2Min' : '0.09' , ‘ModT2Max' : '0.1' , ‘ModT3Min' : '0.11' , ‘ModT3Max' : '0.12' , ‘ModT4Min' : '0.13' , ‘ModT4Max' : '0.14' , ‘ModT5Min' : '0.15' , ‘ModT5Max' : '0.21' }, 'Armor (Increased) Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.15' , ‘ModT2Min' : '0.16' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.25' , ‘ModT4Min' : '0.26' , ‘ModT4Max' : '0.3' , ‘ModT5Min' : '0.31' , ‘ModT5Max' : '0.5' }, 'Melee Attack Speed Shard' : { ‘ModT1Min' : '0.03', ‘ModT1Max' : '0.05' , ‘ModT2Min' : '0.06' , ‘ModT2Max' : '0.08' , ‘ModT3Min' : '0.09' , ‘ModT3Max' : '0.11' , ‘ModT4Min' : '0.12' , ‘ModT4Max' : '0.14' , ‘ModT5Min' : '0.15' , ‘ModT5Max' : '0.2' }, 'Cast Speed Shard' : { ‘ModT1Min' : '0.03', ‘ModT1Max' : '0.05' , ‘ModT2Min' : '0.06' , ‘ModT2Max' : '0.08' , ‘ModT3Min' : '0.09' , ‘ModT3Max' : '0.11' , ‘ModT4Min' : '0.12' , ‘ModT4Max' : '0.14' , ‘ModT5Min' : '0.15' , ‘ModT5Max' : '0.2' }, 'Cold Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Critical Strike Chance Shard' : { ‘ModT1Min' : '0.15', ‘ModT1Max' : '0.2' , ‘ModT2Min' : '0.21' , ‘ModT2Max' : '0.25' , ‘ModT3Min' : '0.26' , ‘ModT3Max' : '0.3' , ‘ModT4Min' : '0.31' , ‘ModT4Max' : '0.35' , ‘ModT5Min' : '0.36' , ‘ModT5Max' : '0.5' }, 'Damage Over Time Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Dodge Rating (Increased) Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.15' , ‘ModT2Min' : '0.16' , ‘ModT2Max' : '0.23' , ‘ModT3Min' : '0.24' , ‘ModT3Max' : '0.3' , ‘ModT4Min' : '0.31' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.45' }, 'Elemental Damage Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.09' , ‘ModT2Min' : '0.1' , ‘ModT2Max' : '0.16' , ‘ModT3Min' : '0.17' , ‘ModT3Max' : '0.24' , ‘ModT4Min' : '0.25' , ‘ModT4Max' : '0.32' , ‘ModT5Min' : '0.33' , ‘ModT5Max' : '0.5' }, 'Fire Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Health Shard' : { ‘ModT1Min' : '0.03', ‘ModT1Max' : '0.04' , ‘ModT2Min' : '0.05' , ‘ModT2Max' : '0.06' , ‘ModT3Min' : '0.07' , ‘ModT3Max' : '0.09' , ‘ModT4Min' : '0.1' , ‘ModT4Max' : '0.12' , ‘ModT5Min' : '0.13' , ‘ModT5Max' : '0.18' }, 'Health Regen Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.15' , ‘ModT2Min' : '0.16' , ‘ModT2Max' : '0.25' , ‘ModT3Min' : '0.26' , ‘ModT3Max' : '0.35' , ‘ModT4Min' : '0.36' , ‘ModT4Max' : '0.45' , ‘ModT5Min' : '0.46' , ‘ModT5Max' : '0.75' }, 'Health Regen on Potion Use Shard' : { ‘ModT1Min' : '0.25', ‘ModT1Max' : '0.49' , ‘ModT2Min' : '0.5' , ‘ModT2Max' : '0.74' , ‘ModT3Min' : '0.75' , ‘ModT3Max' : '1' , ‘ModT4Min' : '1.01' , ‘ModT4Max' : '1.25' , ‘ModT5Min' : '1.26' , ‘ModT5Max' : '1.6' }, 'Lightning Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Mana Regen Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.09' , ‘ModT2Min' : '0.1' , ‘ModT2Max' : '0.11' , ‘ModT3Min' : '0.12' , ‘ModT3Max' : '0.13' , ‘ModT4Min' : '0.14' , ‘ModT4Max' : '0.15' , ‘ModT5Min' : '0.16' , ‘ModT5Max' : '0.2' }, 'Melee Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Increased Stun Chance With Melee Attacks Shard' : { ‘ModT1Min' : '0.3', ‘ModT1Max' : '0.45' , ‘ModT2Min' : '0.46' , ‘ModT2Max' : '0.6' , ‘ModT3Min' : '0.61' , ‘ModT3Max' : '0.75' , ‘ModT4Min' : '0.76' , ‘ModT4Max' : '0.9' , ‘ModT5Min' : '0.91' , ‘ModT5Max' : '1.2' }, 'Minion Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Minion Physical Damage Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.2' , ‘ModT2Min' : '0.21' , ‘ModT2Max' : '0.3' , ‘ModT3Min' : '0.31' , ‘ModT3Max' : '0.4' , ‘ModT4Min' : '0.41' , ‘ModT4Max' : '0.5' , ‘ModT5Min' : '0.51' , ‘ModT5Max' : '0.75' }, 'Movement Speed Shard' : { ‘ModT1Min' : '0.08', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.18' , ‘ModT3Min' : '0.19' , ‘ModT3Max' : '0.23' , ‘ModT4Min' : '0.24' , ‘ModT4Max' : '0.29' , ‘ModT5Min' : '0.3' , ‘ModT5Max' : '0.35' }, 'Dodge Rating on Potion Use Shard' : { ‘ModT1Min' : '30', ‘ModT1Max' : '50' , ‘ModT2Min' : '51' , ‘ModT2Max' : '75' , ‘ModT3Min' : '76' , ‘ModT3Max' : '100' , ‘ModT4Min' : '101' , ‘ModT4Max' : '140' , ‘ModT5Min' : '141' , ‘ModT5Max' : '200' }, 'Necrotic Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Necrotic Protection Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.1' , ‘ModT2Min' : '0.11' , ‘ModT2Max' : '0.13' , ‘ModT3Min' : '0.14' , ‘ModT3Max' : '0.16' , ‘ModT4Min' : '0.17' , ‘ModT4Max' : '0.19' , ‘ModT5Min' : '0.2' , ‘ModT5Max' : '0.3' }, 'Physical Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Poison Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Poison Protection Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.1' , ‘ModT2Min' : '0.11' , ‘ModT2Max' : '0.13' , ‘ModT3Min' : '0.14' , ‘ModT3Max' : '0.16' , ‘ModT4Min' : '0.17' , ‘ModT4Max' : '0.19' , ‘ModT5Min' : '0.2' , ‘ModT5Max' : '0.3' }, 'Potion Health Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.17' , ‘ModT2Min' : '0.18' , ‘ModT2Max' : '0.23' , ‘ModT3Min' : '0.24' , ‘ModT3Max' : '0.29' , ‘ModT4Min' : '0.3' , ‘ModT4Max' : '0.35' , ‘ModT5Min' : '0.36' , ‘ModT5Max' : '0.5' }, 'Chance To Find Potions Shard' : { ‘ModT1Min' : '0.11', ‘ModT1Max' : '0.2' , ‘ModT2Min' : '0.21' , ‘ModT2Max' : '0.3' , ‘ModT3Min' : '0.31' , ‘ModT3Max' : '0.4' , ‘ModT4Min' : '0.41' , ‘ModT4Max' : '0.5' , ‘ModT5Min' : '0.51' , ‘ModT5Max' : '0.7' }, 'Increased Shock Effect Shard' : { ‘ModT1Min' : '0.35', ‘ModT1Max' : '0.5' , ‘ModT2Min' : '0.51' , ‘ModT2Max' : '0.65' , ‘ModT3Min' : '0.66' , ‘ModT3Max' : '0.8' , ‘ModT4Min' : '0.81' , ‘ModT4Max' : '1' , ‘ModT5Min' : '1.01' , ‘ModT5Max' : '1.5' }, 'Spell Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Spell Damage on Potion Use Shard' : { ‘ModT1Min' : '0.2', ‘ModT1Max' : '0.3' , ‘ModT2Min' : '0.31' , ‘ModT2Max' : '0.4' , ‘ModT3Min' : '0.41' , ‘ModT3Max' : '0.55' , ‘ModT4Min' : '0.56' , ‘ModT4Max' : '0.7' , ‘ModT5Min' : '0.71' , ‘ModT5Max' : '1.1' }, 'Increased Stun Chance Shard' : { ‘ModT1Min' : '0.2', ‘ModT1Max' : '0.35' , ‘ModT2Min' : '0.36' , ‘ModT2Max' : '0.45' , ‘ModT3Min' : '0.46' , ‘ModT3Max' : '0.55' , ‘ModT4Min' : '0.56' , ‘ModT4Max' : '0.7' , ‘ModT5Min' : '0.71' , ‘ModT5Max' : '1' }, 'Throwing Attack Damage Shard' : { ‘ModT1Min' : '0.2', ‘ModT1Max' : '0.3' , ‘ModT2Min' : '0.31' , ‘ModT2Max' : '0.5' , ‘ModT3Min' : '0.51' , ‘ModT3Max' : '0.75' , ‘ModT4Min' : '0.76' , ‘ModT4Max' : '1' , ‘ModT5Min' : '1.01' , ‘ModT5Max' : '1.5' }, 'Throwing Attack Speed Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.08' , ‘ModT2Min' : '0.09' , ‘ModT2Max' : '0.12' , ‘ModT3Min' : '0.14' , ‘ModT3Max' : '0.18' , ‘ModT4Min' : '0.18' , ‘ModT4Max' : '0.22' , ‘ModT5Min' : '0.23' , ‘ModT5Max' : '0.35' }, 'Void Damage Shard' : { ‘ModT1Min' : '0.06', ‘ModT1Max' : '0.12' , ‘ModT2Min' : '0.13' , ‘ModT2Max' : '0.2' , ‘ModT3Min' : '0.21' , ‘ModT3Max' : '0.28' , ‘ModT4Min' : '0.29' , ‘ModT4Max' : '0.37' , ‘ModT5Min' : '0.38' , ‘ModT5Max' : '0.6' }, 'Void Protection Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.1' , ‘ModT2Min' : '0.11' , ‘ModT2Max' : '0.13' , ‘ModT3Min' : '0.14' , ‘ModT3Max' : '0.16' , ‘ModT4Min' : '0.17' , ‘ModT4Max' : '0.19' , ‘ModT5Min' : '0.2' , ‘ModT5Max' : '0.3' }, 'Melee Damage Leeched as Health Shard' : { ‘ModT1Min' : '0.07', ‘ModT1Max' : '0.08' , ‘ModT2Min' : '0.09' , ‘ModT2Max' : '0.1' , ‘ModT3Min' : '0.11' , ‘ModT3Max' : '0.12' , ‘ModT4Min' : '0.13' , ‘ModT4Max' : '0.15' , ‘ModT5Min' : '0.16' , ‘ModT5Max' : '0.2' }, 'Minion Dodge Rating Shard' : { ‘ModT1Min' : '35', ‘ModT1Max' : '65' , ‘ModT2Min' : '66' , ‘ModT2Max' : '100' , ‘ModT3Min' : '101' , ‘ModT3Max' : '140' , ‘ModT4Min' : '141' , ‘ModT4Max' : '200' , ‘ModT5Min' : '201' , ‘ModT5Max' : '300' }, 'Minion Health Shard' : { ‘ModT1Min' : '0.15', ‘ModT1Max' : '0.35' , ‘ModT2Min' : '0.36' , ‘ModT2Max' : '0.55' , ‘ModT3Min' : '0.56' , ‘ModT3Max' : '0.75' , ‘ModT4Min' : '0.76' , ‘ModT4Max' : '1' , ‘ModT5Min' : '1.01' , ‘ModT5Max' : '1.5' }, 'Minion Health Regen Shard' : { ‘ModT1Min' : '0.15', ‘ModT1Max' : '0.35' , ‘ModT2Min' : '0.36' , ‘ModT2Max' : '0.55' , ‘ModT3Min' : '0.56' , ‘ModT3Max' : '0.75' , ‘ModT4Min' : '0.76' , ‘ModT4Max' : '1' , ‘ModT5Min' : '1.01' , ‘ModT5Max' : '1.5' }, 'Reduced Damage Taken on Block Shard' : { ‘ModT1Min' : '-0.05', ‘ModT1Max' : '-0.07' , ‘ModT2Min' : '-0.08' , ‘ModT2Max' : '-0.08' , ‘ModT3Min' : '-0.09' , ‘ModT3Max' : '-0.09' , ‘ModT4Min' : '-0.1' , ‘ModT4Max' : '-0.1' , ‘ModT5Min' : '-0.11' , ‘ModT5Max' : '-0.15' }, 'Stun Avoidance on Potion Use Shard' : { ‘ModT1Min' : '100', ‘ModT1Max' : '200' , ‘ModT2Min' : '201' , ‘ModT2Max' : '300' , ‘ModT3Min' : '301' , ‘ModT3Max' : '400' , ‘ModT4Min' : '401' , ‘ModT4Max' : '500' , ‘ModT5Min' : '501' , ‘ModT5Max' : '800' }, 'Freeze Chance Shard' : { ‘ModT1Min' : '0.25', ‘ModT1Max' : '0.4' , ‘ModT2Min' : '0.41' , ‘ModT2Max' : '0.6' , ‘ModT3Min' : '0.6' , ‘ModT3Max' : '0.85' , ‘ModT4Min' : '0.86' , ‘ModT4Max' : '1.1' , ‘ModT5Min' : '1.11' , ‘ModT5Max' : '1.5' }, 'Health Gained On Kill Shard' : { ‘ModT1Min' : '2', ‘ModT1Max' : '3' , ‘ModT2Min' : '4' , ‘ModT2Max' : '5' , ‘ModT3Min' : '6' , ‘ModT3Max' : '7' , ‘ModT4Min' : '8' , ‘ModT4Max' : '9' , ‘ModT5Min' : '10' , ‘ModT5Max' : '13' }, 'Mana Efficiency Shard' : { ‘ModT1Min' : '0.04', ‘ModT1Max' : '0.05' , ‘ModT2Min' : '0.06' , ‘ModT2Max' : '0.07' , ‘ModT3Min' : '0.08' , ‘ModT3Max' : '0.09' , ‘ModT4Min' : '0.1' , ‘ModT4Max' : '0.11' , ‘ModT5Min' : '0.12' , ‘ModT5Max' : '0.15' }, 'Increased Cooldown Recovery Speed Shard' : { ‘ModT1Min' : '0.05', ‘ModT1Max' : '0.06' , ‘ModT2Min' : '0.07' , ‘ModT2Max' : '0.08' , ‘ModT3Min' : '0.09' , ‘ModT3Max' : '0.1' , ‘ModT4Min' : '0.11' , ‘ModT4Max' : '0.12' , ‘ModT5Min' : '0.13' , ‘ModT5Max' : '0.15' }, 'Set Health Shard' : { ‘ModT1Min' : '4', ‘ModT1Max' : '7' , ‘ModT2Min' : '8' , ‘ModT2Max' : '11' , ‘ModT3Min' : '12' , ‘ModT3Max' : '15' , ‘ModT4Min' : '16' , ‘ModT4Max' : '20' , ‘ModT5Min' : '21' , ‘ModT5Max' : '30' }, 'Set Elemental Protection Shard' : { ‘ModT1Min' : '5', ‘ModT1Max' : '10' , ‘ModT2Min' : '11' , ‘ModT2Max' : '17' , ‘ModT3Min' : '18' , ‘ModT3Max' : '25' , ‘ModT4Min' : '26' , ‘ModT4Max' : '35' , ‘ModT5Min' : '36' , ‘ModT5Max' : '55' }, 'Set Dodge Rating Shard' : { ‘ModT1Min' : '0.04', ‘ModT1Max' : '0.05' , ‘ModT2Min' : '0.06' , ‘ModT2Max' : '0.08' , ‘ModT3Min' : '0.09' , ‘ModT3Max' : '0.11' , ‘ModT4Min' : '0.12' , ‘ModT4Max' : '0.14' , ‘ModT5Min' : '0.15' , ‘ModT5Max' : '0.17' }, 'Set Health Regen Shard' : { ‘ModT1Min' : '0.04', ‘ModT1Max' : '0.07' , ‘ModT2Min' : '0.08' , ‘ModT2Max' : '0.11' , ‘ModT3Min' : '0.12' , ‘ModT3Max' : '0.15' , ‘ModT4Min' : '0.16' , ‘ModT4Max' : '0.2' , ‘ModT5Min' : '0.21' , ‘ModT5Max' : '0.25' }, 'Strength Shard' : { ‘ModT1Min' : '1', ‘ModT1Max' : '1' , ‘ModT2Min' : '2' , ‘ModT2Max' : '3' , ‘ModT3Min' : '4' , ‘ModT3Max' : '5' , ‘ModT4Min' : '6' , ‘ModT4Max' : '7' , ‘ModT5Min' : '8' , ‘ModT5Max' : '10' }, 'Dexterity Shard' : { ‘ModT1Min' : '1', ‘ModT1Max' : '1' , ‘ModT2Min' : '2' , ‘ModT2Max' : '3' , ‘ModT3Min' : '4' , ‘ModT3Max' : '5' , ‘ModT4Min' : '6' , ‘ModT4Max' : '7' , ‘ModT5Min' : '8' , ‘ModT5Max' : '10' }, 'Intelligence Shard' : { ‘ModT1Min' : '1', ‘ModT1Max' : '1' , ‘ModT2Min' : '2' , ‘ModT2Max' : '3' , ‘ModT3Min' : '4' , ‘ModT3Max' : '5' , ‘ModT4Min' : '6' , ‘ModT4Max' : '7' , ‘ModT5Min' : '8' , ‘ModT5Max' : '10' }, 'Attunement Shard' : { ‘ModT1Min' : '1', ‘ModT1Max' : '1' , ‘ModT2Min' : '2' , ‘ModT2Max' : '3' , ‘ModT3Min' : '4' , ‘ModT3Max' : '5' , ‘ModT4Min' : '6' , ‘ModT4Max' : '7' , ‘ModT5Min' : '8' , ‘ModT5Max' : '10' }, 'Vitality Shard' : { ‘ModT1Min' : '1', ‘ModT1Max' : '1' , ‘ModT2Min' : '2' , ‘ModT2Max' : '3' , ‘ModT3Min' : '4' , ‘ModT3Max' : '5' , ‘ModT4Min' : '6' , ‘ModT4Max' : '7' , ‘ModT5Min' : '8' , ‘ModT5Max' : '10' }, 'Healing Effectiveness Shard' : { ‘ModT1Min' : '0.1', ‘ModT1Max' : '0.2' , ‘ModT2Min' : '0.2' , ‘ModT2Max' : '0.35' , ‘ModT3Min' : '0.36' , ‘ModT3Max' : '0.5' , ‘ModT4Min' : '0.51' , ‘ModT4Max' : '0.65' , ‘ModT5Min' : '0.66' , ‘ModT5Max' : '0.9' }, 'Health On Melee Hit Shard' : { ‘ModT1Min' : '2', ‘ModT1Max' : '3' , ‘ModT2Min' : '4' , ‘ModT2Max' : '5' , ‘ModT3Min' : '6' , ‘ModT3Max' : '7' , ‘ModT4Min' : '8' , ‘ModT4Max' : '9' , ‘ModT5Min' : '10' , ‘ModT5Max' : '13' }, 'Health Regen and Elemental Protection Shard' : { ‘ModT1Min' : '5', ‘ModT1Max' : '9' , ‘ModT2Min' : '10' , ‘ModT2Max' : '14' , ‘ModT3Min' : '15' , ‘ModT3Max' : '19' , ‘ModT4Min' : '20' , ‘ModT4Max' : '24' , ‘ModT5Min' : '25' , ‘ModT5Max' : '40' }, 'Spell Damage and Mana Cost Shard' : { ‘ModT1Min' : '0.04', ‘ModT1Max' : '0.1' , ‘ModT2Min' : '0.11' , ‘ModT2Max' : '0.16' , ‘ModT3Min' : '0.17' , ‘ModT3Max' : '0.22' , ‘ModT4Min' : '0.23' , ‘ModT4Max' : '0.3' , ‘ModT5Min' : '0.31' , ‘ModT5Max' : '0.45' }, 'Throwing Attack Damage and Mana Cost Shard' : { ‘ModT1Min' : '0.15', ‘ModT1Max' : '0.25' , ‘ModT2Min' : '0.26' , ‘ModT2Max' : '0.4' , ‘ModT3Min' : '0.4' , ‘ModT3Max' : '0.55' , ‘ModT4Min' : '0.56' , ‘ModT4Max' : '0.7' , ‘ModT5Min' : '0.71' , ‘ModT5Max' : '1' }, 'Freeze Chance and Cold Protection Shard' : { ‘ModT1Min' : '0.15', ‘ModT1Max' : '0.24' , ‘ModT2Min' : '0.25' , ‘ModT2Max' : '0.35' , ‘ModT3Min' : '0.36' , ‘ModT3Max' : '0.45' , ‘ModT4Min' : '0.46' , ‘ModT4Max' : '0.55' , ‘ModT5Min' : '0.56' , ‘ModT5Max' : '0.75' }, 'Hybrid Stun Avoidance Shard' : { ‘ModT1Min' : '5', ‘ModT1Max' : '25' , ‘ModT2Min' : '26' , ‘ModT2Max' : '50' , ‘ModT3Min' : '51' , ‘ModT3Max' : '80' , ‘ModT4Min' : '81' , ‘ModT4Max' : '130' , ‘ModT5Min' : '131' , ‘ModT5Max' : '200' }, 'Hybrid Health Leech Shard' : { ‘ModT1Min' : '0.03', ‘ModT1Max' : '0.03' , ‘ModT2Min' : '0.03' , ‘ModT2Max' : '0.04' , ‘ModT3Min' : '0.04' , ‘ModT3Max' : '0.04' , ‘ModT4Min' : '0.04' , ‘ModT4Max' : '0.05' , ‘ModT5Min' : '0.05' , ‘ModT5Max' : '0.05' }, 'Lightning Damage And Leech Shard' : { ‘ModT1Min' : '3', ‘ModT1Max' : '4' , ‘ModT2Min' : '5' , ‘ModT2Max' : '6' , ‘ModT3Min' : '7' , ‘ModT3Max' : '8' , ‘ModT4Min' : '9' , ‘ModT4Max' : '10' , ‘ModT5Min' : '11' , ‘ModT5Max' : '14' }, }