Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

give Sorceress light armor upgrade benefit #434

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/balancing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1281,15 +1281,15 @@ humanLightArmorUpgrade1.Costs[2] = 400 -- wood
DefineModifier("upgrade-human-LightArmor1",
{"Level", 1},
{"Armor", 1},
{"apply-to", "unit-archer"}, {"apply-to", "unit-cleric"}, {"apply-to", "unit-conjurer"})
{"apply-to", "unit-archer"}, {"apply-to", "unit-cleric"}, {"apply-to", "unit-conjurer"}, {"apply-to", "unit-sorceress"})

DefineAllow("upgrade-human-LightArmor1", "AAAAAAAAAAAAAAAA")

DefineButton( { Pos = 4, Level = 0, Icon = "icon-human-LightArmor1",
Action = "research", Value = "upgrade-human-LightArmor1",
Allowed = "check-single-research",
Key = "r", Hint = "UPGRADE LIGHT A~!RMOR",
Description = "Increase Archer, Cleric and Conjurer armor by ~<1~>",
Description = "Increase Archer, Cleric, Conjurer and Sorceress armor by ~<1~>",
ForUnit = {"unit-human-blacksmith"} } )

local humanLightArmorIcon2 = CIcon:New("icon-human-LightArmor2")
Expand All @@ -1305,15 +1305,15 @@ humanLightArmorUpgrade2.Costs[2] = 400 -- wood
DefineModifier("upgrade-human-LightArmor2",
{"Level", 1},
{"Armor", 1},
{"apply-to", "unit-archer"}, {"apply-to", "unit-cleric"}, {"apply-to", "unit-conjurer"})
{"apply-to", "unit-archer"}, {"apply-to", "unit-cleric"}, {"apply-to", "unit-conjurer"}, {"apply-to", "unit-sorceress"})

DefineAllow("upgrade-human-LightArmor2", "AAAAAAAAAAAAAAAA")

DefineButton( { Pos = 4, Level = 0, Icon = "icon-human-LightArmor2",
Action = "research", Value = "upgrade-human-LightArmor2",
Allowed = "check-upgrade", AllowArg = {"upgrade-human-LightArmor1"},
Key = "r", Hint = "UPGRADE LIGHT A~!RMOR",
Description = "Increase Archer, Cleric and Conjurer armor by ~<1~>",
Description = "Increase Archer, Cleric, Conjurer and Sorceress armor by ~<1~>",
ForUnit = {"unit-human-blacksmith"} } )

DefineDependency("upgrade-human-LightArmor2", { "upgrade-human-LightArmor1"} )
Expand Down