WXMC/.svn/pristine/c7/c79b039d06e4205dc5f4cf26241afae3fe0e77fb.svn-base
2024-12-04 16:18:46 +08:00

23 lines
446 B
Plaintext

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PHomeBuffEvent_GemMagnet : PHomeBuffEvent
{
public override void OnEventStart()
{
if (FromBuff.Unit is PHomePlayer player)
{
player.PickMagnet++;
}
}
public override void OnEventEnd()
{
if (FromBuff.Unit is PHomePlayer player)
{
player.PickMagnet--;
}
}
}