Upload from upload_mods.ps1
This commit is contained in:
16
Scripts/MinEvents/MinEventActionTargetResetSDX.cs
Normal file
16
Scripts/MinEvents/MinEventActionTargetResetSDX.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
public class MinEventActionTargetResetSDX : MinEventActionRemoveBuff
|
||||
{
|
||||
|
||||
public override void Execute(MinEventParams _params)
|
||||
{
|
||||
for (var i = 0; i < targets.Count; i++)
|
||||
{
|
||||
var entity = targets[i];
|
||||
if (entity != null)
|
||||
{
|
||||
entity.attackTarget = (EntityAlive) null;
|
||||
entity.SetRevengeTarget((EntityAlive) null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user