Skip to content

Commit

Permalink
fix spec description function
Browse files Browse the repository at this point in the history
  • Loading branch information
Regisle committed Aug 20, 2024
1 parent a9a49c1 commit 9471d25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Data/EnchantmentWeapon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ return {
"Can have 1 additional Crafted Modifier",
},
["RUNESMITH"] = {
{ type = "Runecraft", modTags = { "elemental_damage", "village_runesmithing_enchant", "damage", "elemental", "fire", "attack" }, "Adds (8-10) to (15-18) Fire Damage", statOrder = { 1226 }, types = { ["One Handed Sword"] = true, ["Thrusting One Handed Sword"] = true, ["One Handed Axe"] = true, ["One Handed Mace"] = true, ["Sceptre"] = true, ["Claw"] = true, ["Dagger"] = true, ["Wand"] = true, }, },
{ type = "Runecraft", modTags = { "elemental_damage", "village_runesmithing_enchant", "damage", "elemental", "fire", "attack" }, "Adds (8-10) to (15-18) Fire Damage", statOrder = { 1226 }, types = { ["One Handed Sword"] = true, ["Thrusting One Handed Sword"] = true, ["One Handed Axe"] = true, ["One Handed Mace"] = true, ["Sceptre"] = true, ["Claw"] = true, ["Dagger"] = true, ["Wand"] = true, }, },
{ type = "Runecraft", modTags = { "elemental_damage", "village_runesmithing_enchant", "damage", "elemental", "fire", "attack" }, "Adds (12-17) to (25-29) Fire Damage", statOrder = { 1226 }, types = { ["One Handed Sword"] = true, ["Thrusting One Handed Sword"] = true, ["One Handed Axe"] = true, ["One Handed Mace"] = true, ["Sceptre"] = true, ["Claw"] = true, ["Dagger"] = true, ["Wand"] = true, }, },
{ type = "Runecraft", modTags = { "elemental_damage", "village_runesmithing_enchant", "damage", "elemental", "fire", "attack" }, "Adds (17-24) to (35-41) Fire Damage", statOrder = { 1226 }, types = { ["One Handed Sword"] = true, ["Thrusting One Handed Sword"] = true, ["One Handed Axe"] = true, ["One Handed Mace"] = true, ["Sceptre"] = true, ["Claw"] = true, ["Dagger"] = true, ["Wand"] = true, }, },
{ type = "Runecraft", modTags = { "elemental_damage", "village_runesmithing_enchant", "damage", "elemental", "fire", "attack" }, "Adds (14-20) to (29-33) Fire Damage", statOrder = { 1226 }, types = { ["Two Handed Sword"] = true, ["Two Handed Axe"] = true, ["Two Handed Mace"] = true, ["Staff"] = true, ["Bow"] = true, }, },
Expand Down Expand Up @@ -339,7 +339,7 @@ return {
{ type = "Runecraft", modTags = { "village_runesmithing_enchant" }, "Haunted by Tormented Spirits", statOrder = { 6769 }, types = { ["Wand"] = true, }, },
{ type = "Runecraft", modTags = { "village_runesmithing_enchant", "vaal" }, "Socketed Vaal Skills have 100% reduced Soul Gain Prevention Duration", statOrder = { 495 }, types = { ["Dagger"] = true, }, },
{ type = "Runecraft", modTags = { "physical_damage", "elemental_damage", "village_runesmithing_enchant", "damage", "physical", "elemental", "attack" }, "Gain (30-50)% of Weapon Physical Damage as Extra Damage of each Element", statOrder = { 4092 }, types = { ["Two Handed Mace"] = true, }, },
{ type = "Runecraft", modTags = { "skill", "village_runesmithing_enchant", "caster", "gem" }, "Trigger a Socketed Fire Spell on Hit, with a 250 second Cooldown", statOrder = { 7546 }, types = { ["One Handed Axe"] = true, }, },
{ type = "Runecraft", modTags = { "skill", "village_runesmithing_enchant", "caster", "gem" }, "Trigger a Socketed Fire Spell on Hit, with a 0.25 second Cooldown", statOrder = { 7546 }, types = { ["One Handed Axe"] = true, }, },
{ type = "Runecraft", modTags = { "village_runesmithing_enchant", "caster", "curse" }, "You can apply an additional Curse", statOrder = { 2022 }, types = { ["Bow"] = true, }, },
{ type = "Runecraft", modTags = { "village_runesmithing_enchant" }, "(20-25)% chance when you Kill a Magic Monster to gain its Modifiers for 60 seconds", statOrder = { 6291 }, types = { ["Staff"] = true, }, },
{ type = "Runecraft", modTags = { "village_runesmithing_enchant", "attack" }, "Attack Projectiles Return to you", statOrder = { 2672 }, types = { ["Two Handed Sword"] = true, }, },
Expand Down
2 changes: 1 addition & 1 deletion src/Export/statdesc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function describeStats(stats)
elseif spec.k == "milliseconds_to_seconds_0dp" then
val[spec.v].min = val[spec.v].min / 1000
val[spec.v].max = val[spec.v].max / 1000
elseif spec.k == "milliseconds_to_seconds_2dp_if_required" then
elseif spec.k == "milliseconds_to_seconds_2dp_if_required" or spec.k == "milliseconds_to_seconds_2dp" then
val[spec.v].min = round(val[spec.v].min / 1000, 2)
val[spec.v].max = round(val[spec.v].max / 1000, 2)
val[spec.v].fmt = "g"
Expand Down

0 comments on commit 9471d25

Please sign in to comment.