Commit 90a9225aaaf203f4f5698004cf7ce73f28f8e329

Authored by dg
1 parent 93541805

If an alchemist player is cloned, the golem will be faction aligned with the clone


git-svn-id: http://svn.net-core.org/repos/t-engine4@3316 51575b47-30f0-44d4-a5cc-537603b46e54
... ... @@ -127,6 +127,12 @@ newEntity{ base="BASE_NPC_ORC_RAK_SHOR", define_as = "CULTIST_RAK_SHOR",
127 127 self:doEmote("Ra'kk kor merk ZUR!!!", 120)
128 128 self.copied_player = true
129 129 end
  130 +
  131 + if a.alchemy_golem then
  132 + a.alchemy_golem = nil
  133 + local t = a:getTalentFromId(a.T_REFIT_GOLEM)
  134 + t.action(a, t)
  135 + end
130 136 end
131 137 return value
132 138 end,
... ...