【bug】高账PVP保护计数逻辑修改

main
Yuntao Hu 2026-01-16 11:43:16 +08:00
parent cf484ee526
commit 469dc2feda
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}