mirror of
https://github.com/solero/houdini.git
synced 2024-11-08 20:28:20 +00:00
Add support for GOLDEN type redemption codes.
This commit is contained in:
parent
2aadfba9e8
commit
c6a17e8e56
@ -108,4 +108,8 @@ async def handle_code(p, redemption_code: str):
|
||||
|
||||
await p.send_xt('rsc', 'INNOCENT', ','.join(map(str, awards)), redeemed, len(innocent_items))
|
||||
|
||||
if code.type == 'GOLDEN':
|
||||
await p.send_xt('rsc', 'GOLDEN', p.ninja_rank, p.fire_ninja_rank, p.water_ninja_rank, 0,
|
||||
int(p.fire_ninja_rank > 0), int(p.water_ninja_rank > 0), 0)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user