From 34dfc48087c3bf0a163621cb4f6e84a58150e427 Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Sat, 20 Nov 2010 11:17:06 +0000 Subject: [PATCH] Use actual deposit value instead of hardcoded value. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14107 282e977c-c81d-0410-88c4-b93c2d0d6712 --- python/guilds/guild_dues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/guilds/guild_dues.py b/python/guilds/guild_dues.py index a908171e6..dd70061ad 100644 --- a/python/guilds/guild_dues.py +++ b/python/guilds/guild_dues.py @@ -319,8 +319,8 @@ class GuildDues: self.handle_jack() return - # todo: don't hardcode - bank.deposit(self.accountname, 5000) + amount = Crossfire.WhoIsOther().Value * Crossfire.WhoIsOther().Quantity + bank.deposit(self.accountname, amount) dues = GuildDues() dues.handle()