【bug】高账PVP保护计数逻辑修改
parent
cf484ee526
commit
469dc2feda
|
|
@ -8,13 +8,13 @@ public class PremiumPVPHandle : PremiumHandle
|
|||
{
|
||||
if (eventData.IsActivated)
|
||||
{
|
||||
if (eventData.PvpProtectionCount > 0)
|
||||
if (eventData.PvpProtectionCount == 0)
|
||||
{
|
||||
gameObject.transform.localScale = Vector3.one;
|
||||
}
|
||||
else
|
||||
{
|
||||
//pvp保护次数耗尽
|
||||
//发生了PVP保护,隐藏图标
|
||||
gameObject.transform.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue