Skip to content

Commit

Permalink
fixed none type rolls maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
JUSTadICE-CHaN committed Oct 12, 2024
1 parent c790597 commit 86b63c5
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions Normal.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,22 @@ async def attempt_kakera_snipe(self, message, waifu):
await child.click()

async def attempt_claim(self, waifu, message, main_channel_id):
if waifu.kakera > Config.lastminkak or waifu.kakera > Config.minkak or waifu.name in Config.Wishlist or f"{self.user.id}" in message.content:
if self.rolling[main_channel_id].get_claim_availability():
if self.rolling[main_channel_id].is_last_min_claim_active():
if waifu.kakera >= Config.lastminkak or waifu.name in Config.Wishlist or f"{self.user.id}" in message.content:
await self.claim_waifu(message, waifu)
elif waifu.kakera >= Config.minkak or waifu.name in Config.Wishlist or f"{self.user.id}" in message.content:
if waifu.kakera is not None:
if waifu.kakera > Config.lastminkak or waifu.kakera > Config.minkak or waifu.name in Config.Wishlist or f"{self.user.id}" in message.content:
if self.rolling[main_channel_id].get_claim_availability():
if self.rolling[main_channel_id].is_last_min_claim_active():
if waifu.kakera >= Config.lastminkak or waifu.kakera >= Config.minkak or waifu.name in Config.Wishlist or f"{self.user.id}" in message.content:
await self.claim_waifu(message, waifu)
elif waifu.kakera >= Config.minkak or waifu.name in Config.Wishlist or f"{self.user.id}" in message.content:
await self.claim_waifu(message, waifu)
else:
print(f"No Claim Available for - {message.channel.name} - to claim {waifu}")
elif waifu.kakera is None:
if waifu.name in Config.Wishlist or f"{self.user.id}" in message.content:
if self.rolling[main_channel_id].get_claim_availability():
await self.claim_waifu(message, waifu)
else:
print(f"No Claim Available for - {message.channel.name} - to claim {waifu}")
else:
print(f"No Claim Available for - {message.channel.name} - to claim {waifu}")

async def claim_waifu(self, message, waifu):
print(f"\nTrying to claim {waifu}\n")
Expand Down

0 comments on commit 86b63c5

Please sign in to comment.