Module:ItemTables: Difference between revisionsGive feedback
add shadow weave to spirit power |
add swift striker to bullet resist, color negative values |
||
| Line 65: | Line 65: | ||
friendly_to_internal["bullet shield health"] = { "BulletShieldMaxHealth", "BulletShieldOnCast", "SaviorBulletShieldHealth", "FlyingBulletShield", "VexBarrierBulletMaxHealth" } | friendly_to_internal["bullet shield health"] = { "BulletShieldMaxHealth", "BulletShieldOnCast", "SaviorBulletShieldHealth", "FlyingBulletShield", "VexBarrierBulletMaxHealth" } | ||
friendly_to_internal["spirit shield health"] = { "TechShieldMaxHealth", "TechShieldOnCast", "SaviorMagicShieldHealth", "FlyingTechShield", "VexBarrierTechMaxHealth" } | friendly_to_internal["spirit shield health"] = { "TechShieldMaxHealth", "TechShieldOnCast", "SaviorMagicShieldHealth", "FlyingTechShield", "VexBarrierTechMaxHealth" } | ||
friendly_to_internal["bullet resist"] = { "BulletResist", "LocalBulletArmorReduction" } | |||
friendly_to_internal["spirit resist"] = { "TechResist" } | friendly_to_internal["spirit resist"] = { "TechResist" } | ||
friendly_to_internal["health"] = { "BonusHealth" } | friendly_to_internal["health"] = { "BonusHealth" } | ||
friendly_to_internal["health regen"] = { "BonusHealthRegen" } | friendly_to_internal["health regen"] = { "BonusHealthRegen" } | ||
| Line 94: | Line 94: | ||
"TechResist", "BulletResist", | "TechResist", "BulletResist", | ||
"BonusFireRate", "FireRateWhenShielded", "FervorFireRate", "FireRateBonus", "AmbushBonusFireRate", "ActiveBonusFireRate", "FireRateSlow", | "BonusFireRate", "FireRateWhenShielded", "FervorFireRate", "FireRateBonus", "AmbushBonusFireRate", "ActiveBonusFireRate", "FireRateSlow", | ||
"LocalBulletArmorReduction", | |||
"BonusBulletSpeedPercent", | "BonusBulletSpeedPercent", | ||
"StaminaCooldownReduction" }, | "StaminaCooldownReduction" }, | ||
| Line 173: | Line 174: | ||
:tag('td'):wikitext(commas._add(get_cost(itemName["Name"]))):done() | :tag('td'):wikitext(commas._add(get_cost(itemName["Name"]))):done() | ||
:tag('td'):wikitext(get_type(itemName["Name"])):done() | :tag('td'):wikitext(get_type(itemName["Name"])):done() | ||
if (tonumber(itemName[t]) < 0) then | |||
tableData | |||
:tag('td'):wikitext("<span style=\"color:red;\"><b>" .. itemName[t].. "</b>" .. appendSuffix(t) .. "</span> " .. copyVar):done() | |||
else | |||
tableData | |||
:tag('td'):wikitext("+<b>" .. itemName[t].. "</b>" .. appendSuffix(t) .. " " .. copyVar):done() | :tag('td'):wikitext("+<b>" .. itemName[t].. "</b>" .. appendSuffix(t) .. " " .. copyVar):done() | ||
end | |||
table.insert(requirements, tableData) | table.insert(requirements, tableData) | ||