Skip to content
Snippets Groups Projects
Commit 37a7b0b4 authored by dg's avatar dg
Browse files

fix summon by party ai

git-svn-id: http://svn.net-core.org/repos/t-engine4@2844 51575b47-30f0-44d4-a5cc-537603b46e54
parent 51c1f6d4
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ function setupSummon(self, m, x, y)
m:attr("blind_immune", self:attr("blind_immune"))
m:attr("pin_immune", self:attr("pin_immune"))
m:attr("confusion_immune", self:attr("confusion_immune"))
if self.player then
if game.party:hasMember(self) then
m.remove_from_party_on_death = true
game.party:addMember(m, {
control=self:knowTalent(self.T_SUMMON_CONTROL) and "full" or "no",
......
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