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

Golem picking up gold is given to the alchemist

git-svn-id: http://svn.net-core.org/repos/t-engine4@5501 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7b71d72a
No related branches found
No related tags found
No related merge requests found
......@@ -1167,6 +1167,7 @@ function _M:reactionToward(target, no_reflection)
end
function _M:incMoney(v)
if self.summoner then self = self.summoner end
self.money = self.money + v
if self.money < 0 then self.money = 0 end
self.changed = true
......
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