Skip to content
Snippets Groups Projects
Commit b4b1a6dc authored by Hachem_Muche's avatar Hachem_Muche
Browse files

golems are arcane

parent f190cb82
No related branches found
No related tags found
No related merge requests found
...@@ -333,7 +333,7 @@ function _M:update_power_source(forbid_ps, allow_ps, randthemes, force_themes) ...@@ -333,7 +333,7 @@ function _M:update_power_source(forbid_ps, allow_ps, randthemes, force_themes)
local theme_count = (randthemes or 0) + #force_themes local theme_count = (randthemes or 0) + #force_themes
for n = 1, theme_count do for n = 1, theme_count do
local v = nil local v = nil
if #force_themes > 0 then -- always add forced_themes if #force_themes > 0 then -- always add forced_themes if possible
v = rng.tableRemove(force_themes) v = rng.tableRemove(force_themes)
table.removeFromList(allthemes, v) table.removeFromList(allthemes, v)
end end
......
...@@ -52,6 +52,7 @@ newEntity{ ...@@ -52,6 +52,7 @@ newEntity{
[Talents.T_ARMOUR_TRAINING]={base=2, every=10, max=5}, [Talents.T_ARMOUR_TRAINING]={base=2, every=10, max=5},
}, },
not_power_source = {nature=true}, not_power_source = {nature=true},
power_source = {arcane=true},
} }
newEntity{ base = "BASE_NPC_CONSTRUCT", newEntity{ base = "BASE_NPC_CONSTRUCT",
......
...@@ -80,6 +80,7 @@ local function makeGolem(self) ...@@ -80,6 +80,7 @@ local function makeGolem(self)
["golem/arcane"] = 0.3, ["golem/arcane"] = 0.3,
}, },
forbid_nature = 1, forbid_nature = 1,
power_source = {arcane = true},
inscription_restrictions = { ["inscriptions/runes"] = true, }, inscription_restrictions = { ["inscriptions/runes"] = true, },
resolvers.inscription("RUNE:_SHIELDING", {cooldown=14, dur=5, power=100}), resolvers.inscription("RUNE:_SHIELDING", {cooldown=14, dur=5, power=100}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment