@@ -52,15 +52,13 @@ local imbueEgo = function(gem, object)
ifnotgemthenreturnend
ifnotobjectthenreturnend
localEntity=require("engine.Entity")
localego=Entity.new{
fake_ego=true,
name="imbued_"..gem.name,
keywords={[gem.name]=true},
wielder=table.clone(gem.imbue_powers,true),
been_imbued=true,
egoed=true,
}
ifgem.talent_on_spellthenego.talent_on_spell=table.clone(gem.talent_on_spell,true)end-- Its really weird that this table structure is different for one property
localego=Entity.new{
name="imbue "..gem.name,
keywords={[gem.name]=true},
wielder=table.clone(gem.imbue_powers),
talent_on_spell=gem.talent_on_spell,
fake_ego=true,unvault_ego=true,
}
game.zone:applyEgo(object,ego,"object",true)
end
-- A lot of elseif
...
...
@@ -69,11 +67,14 @@ local make_poltergeist = function(type)