Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

등급에 따라 물고기 아이콘 다양화 #58

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions classes/fish.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,16 @@ def icon(self):
return "🗑️"
elif self.rarity == 1:
return Constants.CUSTOM_EMOJI["fish"]
elif self.rarity >= 2:
elif self.rarity == 2:
return "🐠"
elif self.rarity == 5:
elif self.rarity == 3:
return "🐡"
elif self.rarity == 4:
return "🐬"
elif self.rarity == 5:
return "🐳"
elif self.rarity == 6:
return "🐉"

def cost(self):
"""물고기의 가격은 물고기 종류, 크기에 따라 자동 생성됩니다."""
Expand Down