Files
7d2dXG/XG-Rebirth/Mods/0A-KFCommonUtilityLib/Scripts/MinEventActions/MinEventActionAddBuffToTargetAndSelf.cs
2025-05-30 00:19:27 +09:30

13 lines
421 B
C#

public class MinEventActionAddBuffToTargetAndSelf : MinEventActionAddBuff
{
public override bool CanExecute(MinEventTypes _eventType, MinEventParams _params)
{
bool flag = base.CanExecute(_eventType, _params);
if (targetType == TargetTypes.selfAOE)
flag = true;
if (flag && targetType != TargetTypes.self)
targets.Add(_params.Self);
return flag;
}
}