Add the "Fire Ninja" stamp when player has beaten Sensei battle

This commit is contained in:
Ben 2020-08-07 18:08:08 +01:00
parent e371549d29
commit ee5f784fdb

View File

@ -556,6 +556,8 @@ async def end_game_stamps(ninja, finish_position):
await ninja.penguin.add_stamp(ninja.penguin.server.stamps[268]) await ninja.penguin.add_stamp(ninja.penguin.server.stamps[268])
if ninja.energy >= 6: if ninja.energy >= 6:
await ninja.penguin.add_stamp(ninja.penguin.server.stamps[260]) await ninja.penguin.add_stamp(ninja.penguin.server.stamps[260])
if type(ninja.penguin.waddle) == FireSenseiLogic:
await ninja.penguin.add_stamp(ninja.penguin.server.stamps[264])
if ninja.energy_won >= 1: if ninja.energy_won >= 1:
await ninja.penguin.add_stamp(ninja.penguin.server.stamps[254]) await ninja.penguin.add_stamp(ninja.penguin.server.stamps[254])