Files
7d2dXG/Mods/0A-KFCommonUtilityLib/Scripts/MinEventActions/MinEventActionAddBuffToTargetAndSelf.cs
Nathaniel Cosford e06f2bd282 Add All Mods
2025-05-29 23:33:28 +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;
}
}