playroom优化
This commit is contained in:
parent
09ef04565b
commit
25bbf06444
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user