changes
This commit is contained in:
1 parent
727f301ea7
commit
db733b6bbd
1 file changed
+1
-2
+1
-2
@@ -987,7 +987,7 @@ class Banking(commands.Cog):
|
|||||||
await ctx.send(f"> Error getting game data: {str(e)}")
|
await ctx.send(f"> Error getting game data: {str(e)}")
|
||||||
|
|
||||||
|
|
||||||
async def revenue_calc(message, nation: dict, radiation: dict, treasures: dict, prices: dict, colors: dict, seasonal_mod: dict, build: str = None, single_city: bool = False, include_spies: bool = False) -> dict:
|
async def revenue_calc(message: discord.Message, nation: dict, radiation: dict, treasures: dict, prices: dict, colors: dict, seasonal_mod: dict, build: str = None, single_city: bool = False, include_spies: bool = False) -> dict:
|
||||||
max_commerce = 100
|
max_commerce = 100
|
||||||
base_com = 0
|
base_com = 0
|
||||||
hos_dis_red = 2.5
|
hos_dis_red = 2.5
|
||||||
@@ -1338,7 +1338,6 @@ class Banking(commands.Cog):
|
|||||||
async def calculate_revenue(self, message: discord.Message, nation: dict, game_data: dict) -> dict:
|
async def calculate_revenue(self, message: discord.Message, nation: dict, game_data: dict) -> dict:
|
||||||
"""Calculate revenue for a nation."""
|
"""Calculate revenue for a nation."""
|
||||||
revenue = await self.revenue_calc(
|
revenue = await self.revenue_calc(
|
||||||
message=message,
|
|
||||||
nation=nation,
|
nation=nation,
|
||||||
radiation=game_data['radiation'],
|
radiation=game_data['radiation'],
|
||||||
treasures=game_data['treasures'],
|
treasures=game_data['treasures'],
|
||||||
|
|||||||
Reference in new issue
Block a user