From 644fcf1eb0caf833dfc31522c22140a023cba042 Mon Sep 17 00:00:00 2001 From: Ben Date: Sun, 10 May 2020 21:29:15 +0100 Subject: [PATCH] Add max rank value to get ninja level handler response --- houdini/handlers/play/ninja.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/houdini/handlers/play/ninja.py b/houdini/handlers/play/ninja.py index 687c02a..7e5578e 100644 --- a/houdini/handlers/play/ninja.py +++ b/houdini/handlers/play/ninja.py @@ -9,22 +9,22 @@ async def handle_get_ninja_ranks(p): @handlers.handler(XTPacket('ni', 'gnl')) async def handle_get_ninja_level(p): - await p.send_xt('gnl', p.ninja_rank, p.ninja_progress) + await p.send_xt('gnl', p.ninja_rank, p.ninja_progress, 10) @handlers.handler(XTPacket('ni', 'gfl')) async def handle_get_fire_level(p): - await p.send_xt('gfl', p.fire_ninja_rank, p.fire_ninja_progress) + await p.send_xt('gfl', p.fire_ninja_rank, p.fire_ninja_progress, 5) @handlers.handler(XTPacket('ni', 'gwl')) async def handle_get_water_level(p): - await p.send_xt('gwl', p.water_ninja_rank, p.water_ninja_progress) + await p.send_xt('gwl', p.water_ninja_rank, p.water_ninja_progress, 5) @handlers.handler(XTPacket('ni', 'gsl')) async def handle_get_snow_level(p): - await p.send_xt('gsl', 0, 0) + await p.send_xt('gsl', 0, 0, 24) @handlers.handler(XTPacket('ni', 'gcd'))