mirror of
https://github.com/solero/houdini.git
synced 2024-11-24 22:47:22 +00:00
Check that player has won a sensei battle before upgrading to fire ninja
This commit is contained in:
parent
176a65e0ec
commit
e371549d29
@ -540,7 +540,7 @@ async def fire_ninja_progress(p, finish_position=1):
|
||||
speed = type(p.waddle).RankSpeed
|
||||
points = math.floor((25 / (p.fire_ninja_rank+1) / finish_position) * speed)
|
||||
await p.update(fire_ninja_progress=p.fire_ninja_progress+points).apply()
|
||||
elif p.fire_ninja_rank == 4 and finish_position == 1:
|
||||
elif type(p.waddle) == FireSenseiLogic and p.fire_ninja_rank == 4 and finish_position == 1:
|
||||
await p.update(fire_ninja_progress=100).apply()
|
||||
if p.fire_ninja_progress >= 100:
|
||||
await fire_ninja_rank_up(p)
|
||||
|
Loading…
Reference in New Issue
Block a user