mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-12-05 16:16:35 +00:00
计算逻辑错误
This commit is contained in:
parent
83d810e962
commit
8b1a4eef30
@ -49,9 +49,9 @@ namespace Oshima.FunGame.OshimaModules.Effects.PassiveEffects
|
|||||||
int loop = 0;
|
int loop = 0;
|
||||||
for (; loop < elapsed; loop++)
|
for (; loop < elapsed; loop++)
|
||||||
{
|
{
|
||||||
|
elapsed--;
|
||||||
OnTimeElapsed(character, 1);
|
OnTimeElapsed(character, 1);
|
||||||
}
|
}
|
||||||
elapsed -= loop;
|
|
||||||
if (elapsed > 0)
|
if (elapsed > 0)
|
||||||
{
|
{
|
||||||
OnTimeElapsed(character, elapsed);
|
OnTimeElapsed(character, elapsed);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user