Editing Module:LevelTables/docGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
This module is used to create tables that display a stat of the heroes against the souls of each level powerup. The data comes from [[Data:HeroData.json]] and [[Data:SoulUnlockData.json]]. | This module is used to create tables that display a stat of the heroes against the souls of each level powerup. The data comes from [[Data:HeroData.json]] and [[Data:SoulUnlockData.json]]. | ||
A table is created with <br>'''<nowiki>{{#invoke:LevelTables|write_power_increase_table|</nowiki>''(stat)''}}'''<br> | |||
'''<nowiki>{{#invoke:LevelTables|write_power_increase_table|</nowiki>''(stat) | where '''''(stat)''''' is replaced with one of the power level increase stats. | ||
where '''''(stat)''''' is replaced with one of the power level increase stats | |||
Currently, the valid stats are '''BulletDamage''', '''MaxHealth''', '''TechPower''', '''LightMeleeDamage''', and '''HeavyMeleeDamage''' | Currently, the valid stats are '''BulletDamage''', '''MaxHealth''', '''TechPower''', '''LightMeleeDamage''', and '''HeavyMeleeDamage''' | ||
| Line 11: | Line 8: | ||
The stat keys and names are stored in the private variable ''level_scaling_key_to_name'', so if a new stat gets added to level scaling in [[Data:HeroData.json|HeroData.json]], you can add it to that variable. | The stat keys and names are stored in the private variable ''level_scaling_key_to_name'', so if a new stat gets added to level scaling in [[Data:HeroData.json|HeroData.json]], you can add it to that variable. | ||
Since the alternate fires of some heroes' guns are not stored in [[Data:HeroData.json|HeroData.json]], there is a | Since the alternate fires of some heroes' guns are not stored in [[Data:HeroData.json|HeroData.json]], there is a varibale to store the damage and scaling called ''alt_fires''. | ||
Here is an example of the Bullet Damage Table: | Here is an example of the Bullet Damage Table: | ||
{{#invoke:LevelTables|write_power_increase_table|BulletDamage | {{#invoke:LevelTables|write_power_increase_table|BulletDamage}} | ||