Implement gacha guaranteed claim

This commit is contained in:
Melledy
2025-11-15 23:48:18 -08:00
parent 18ffa6bf58
commit c859252ddd
5 changed files with 100 additions and 11 deletions
@@ -36,6 +36,10 @@ public class GachaDef extends BaseDef {
public int getId() {
return Id;
}
public boolean canGuarantee() {
return this.GuaranteeTimes > 0;
}
public GachaStorageDef getStorageData() {
return GameData.getGachaStorageDataTable().get(this.getStorageId());