1
This commit is contained in:
parent
10b10d99a9
commit
149e748624
@ -329,6 +329,11 @@ namespace GameLogic
|
|||||||
// 直接扣
|
// 直接扣
|
||||||
m_AllPush += (int)buff.addPower / 5;
|
m_AllPush += (int)buff.addPower / 5;
|
||||||
|
|
||||||
|
if (m_AllPush <= 0)
|
||||||
|
{
|
||||||
|
m_AllPush = 0;
|
||||||
|
}
|
||||||
|
|
||||||
GameObject.Destroy(eGo);
|
GameObject.Destroy(eGo);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -591,6 +596,11 @@ namespace GameLogic
|
|||||||
|
|
||||||
// 直接扣
|
// 直接扣
|
||||||
m_AllPush += (int)buff.addPower;
|
m_AllPush += (int)buff.addPower;
|
||||||
|
|
||||||
|
if (m_AllPush <= 0)
|
||||||
|
{
|
||||||
|
m_AllPush = 0;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user