I18n: WeeklyFarming description

This commit is contained in:
LmeSzinc 2024-04-15 00:38:20 +08:00
parent 1d57777b32
commit aa700b81db
10 changed files with 32 additions and 32 deletions

View File

@ -199,8 +199,8 @@
"DomainStrategy": "combat",
"UseImmersifier": true,
"DoubleEvent": true,
"UseStamina": false,
"WeeklyFarming": false,
"UseStamina": false,
"SimulatedUniverseElite": {}
},
"RogueBlessing": {

View File

@ -1467,11 +1467,11 @@
"type": "checkbox",
"value": true
},
"UseStamina": {
"WeeklyFarming": {
"type": "checkbox",
"value": false
},
"WeeklyFarming": {
"UseStamina": {
"type": "checkbox",
"value": false
},

View File

@ -257,8 +257,8 @@ RogueWorld:
option: [ combat, occurrence ]
UseImmersifier: true
DoubleEvent: true
UseStamina: false
WeeklyFarming: false
UseStamina: false
SimulatedUniverseElite:
stored: StoredSimulatedUniverseElite

View File

@ -138,8 +138,8 @@ class GeneratedConfig:
RogueWorld_DomainStrategy = 'combat' # combat, occurrence
RogueWorld_UseImmersifier = True
RogueWorld_DoubleEvent = True
RogueWorld_UseStamina = False
RogueWorld_WeeklyFarming = False
RogueWorld_UseStamina = False
RogueWorld_SimulatedUniverseElite = {}
# Group `RogueBlessing`

View File

@ -970,14 +970,14 @@
"name": "Participate in Double Planer Event",
"help": ""
},
"WeeklyFarming": {
"name": "Farm 100 Elites Weekly",
"help": ""
},
"UseStamina": {
"name": "Farm Planers Using Trailblase Power",
"help": "Task \"Dungeon\" will no longer run, and all trailblaze power will be used first to claim immersion rewards, except for double events."
},
"WeeklyFarming": {
"name": "Boss Material Farming",
"help": "Do not stop after point reward is full; farm the boss 100 times instead to obtain trace materials"
},
"SimulatedUniverseElite": {
"name": "RogueWorld.SimulatedUniverseElite.name",
"help": "RogueWorld.SimulatedUniverseElite.help"

View File

@ -970,14 +970,14 @@
"name": "Participa en doble planer evento",
"help": ""
},
"WeeklyFarming": {
"name": "Granja 100 élites semanalmente",
"help": ""
},
"UseStamina": {
"name": "Reclamar de planers mediante poder trazacaminos",
"help": "La tarea de mazmorra ya no se ejecutará y todo el poder trazacaminos se usará primero para reclamar recompensas de inmersión, excepto para eventos dobles"
},
"WeeklyFarming": {
"name": "Recolección de Materiales de Jefes",
"help": "No detenerse después de que los puntos semanales estén llenos, farmear al jefe 100 veces para obtener materiales de rastro"
},
"SimulatedUniverseElite": {
"name": "RogueWorld.SimulatedUniverseElite.name",
"help": "RogueWorld.SimulatedUniverseElite.help"

View File

@ -970,14 +970,14 @@
"name": "RogueWorld.DoubleEvent.name",
"help": "RogueWorld.DoubleEvent.help"
},
"WeeklyFarming": {
"name": "RogueWorld.WeeklyFarming.name",
"help": "RogueWorld.WeeklyFarming.help"
},
"UseStamina": {
"name": "RogueWorld.UseStamina.name",
"help": "RogueWorld.UseStamina.help"
},
"WeeklyFarming": {
"name": "ボス素材を収集",
"help": "週間ポイントが満点に達しても停止せず、100回のボスをファームして軌跡素材を入手"
},
"SimulatedUniverseElite": {
"name": "RogueWorld.SimulatedUniverseElite.name",
"help": "RogueWorld.SimulatedUniverseElite.help"

View File

@ -970,14 +970,14 @@
"name": "参与双倍内圈仪器活动",
"help": ""
},
"WeeklyFarming": {
"name": "每周刷100精英怪",
"help": ""
},
"UseStamina": {
"name": "使用开拓力刷内圈遗器",
"help": "每日副本任务将不再打本,所有开拓力将优先被用于领取浸器奖励,双倍活动时除外"
},
"WeeklyFarming": {
"name": "刷取Boss材料",
"help": "每周积分满后不停止刷取100次Boss以获取形迹材料"
},
"SimulatedUniverseElite": {
"name": "剩余Boss材料掉落次数",
"help": "RogueWorld.SimulatedUniverseElite.help"

View File

@ -970,14 +970,14 @@
"name": "參與雙倍內圈儀器活動",
"help": ""
},
"WeeklyFarming": {
"name": "每週農100精英怪",
"help": ""
},
"UseStamina": {
"name": "用開拓力農遺器",
"help": "每日副本任務將不再打本,所有開拓力將優先被用於領取浸器獎勵,雙倍活動時除外"
},
"WeeklyFarming": {
"name": "刷取Boss材料",
"help": "每週積分滿後不停止刷取100次Boss以獲取形跡材料"
},
"SimulatedUniverseElite": {
"name": "RogueWorld.SimulatedUniverseElite.name",
"help": "RogueWorld.SimulatedUniverseElite.help"

View File

@ -210,24 +210,24 @@ class StoredSimulatedUniverse(StoredCounter, StoredExpiredAtMonday0400):
class StoredSimulatedUniverseElite(StoredCounter, StoredExpiredAtMonday0400):
# These variables are used in Rogue Farming feature.
# Times of boss drop chance per week. In current version of StarRail, this value is 100.
FIXED_DEFAULT = 100
# Times left to farm. Resets to 100 every Monday 04:00, and decreases each time the elite boss is cleared.
value = FIXED_DEFAULT
def farm_dec(self, delta = 1):
def farm_dec(self, delta=1):
self.value -= delta
if self.value < 0:
self.value = 0
def farm_reset(self):
self.value = self.FIXED_DEFAULT
def farm_not_complete(self) -> bool:
return self.value > 0
def farm_get_remain(self) -> int:
return self.value