Skip to content
Snippets Groups Projects
Commit 7513eb87 authored by dg's avatar dg
Browse files

Pest Control achievement now checks for both multiply talent and clone_on_hit

git-svn-id: http://svn.net-core.org/repos/t-engine4@5893 51575b47-30f0-44d4-a5cc-537603b46e54
parent c252a2ac
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ newAchievement{ ...@@ -65,7 +65,7 @@ newAchievement{
desc = [[Killed 1000 reproducing vermin]], desc = [[Killed 1000 reproducing vermin]],
mode = "player", mode = "player",
can_gain = function(self, who, target) can_gain = function(self, who, target)
if target:knowTalent(target.T_MULTIPLY) then if target:knowTalent(target.T_MULTIPLY) or target.clone_on_hit then
self.nb = (self.nb or 0) + 1 self.nb = (self.nb or 0) + 1
if self.nb >= 1000 then return true end if self.nb >= 1000 then return true end
end end
......
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