playroom优化

This commit is contained in:
hahwu 2025-02-08 17:09:14 +08:00
parent 09ef04565b
commit 25bbf06444

View File

@ -183,7 +183,7 @@ func GetPhysiologyDuration(Id int, Num int) int {
Min := gamedata.GetIntValue(v, "Min") Min := gamedata.GetIntValue(v, "Min")
Max := gamedata.GetIntValue(v, "Max") Max := gamedata.GetIntValue(v, "Max")
if Num >= Min && Num <= Max { if Num >= Min && Num <= Max {
return gamedata.GetIntValue(v, "Per") * 60 return gamedata.GetIntValue(v, "Per")
} }
} }
return 0 return 0