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

moar

git-svn-id: http://svn.net-core.org/repos/t-engine4@2951 51575b47-30f0-44d4-a5cc-537603b46e54
parent fd16733b
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ end
function _M:init(t, no_default)
t.store.buy_percent = t.store.buy_percent or function(self, o) if o.type == "gem" then return 40 else return 5 end end
t.store.sell_percent = t.store.sell_percent or function(self, o) return 100 + 2 * (o.__store_level or 0) end -- Stores prices goes up with item level
t.store.sell_percent = t.store.sell_percent or function(self, o) return 120 + 3 * (o.__store_level or 0) end -- Stores prices goes up with item level
t.store.purse = t.store.purse or 20
Store.init(self, t, no_default)
......
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