This commit is contained in:
@@ -16,8 +16,8 @@ public class HeartSwap : Script
|
||||
var targetStat = targetStats.GetStatistic(stat);
|
||||
if (userStat == targetStat)
|
||||
continue;
|
||||
move.User.ChangeStatBoost(stat, (sbyte)(userStat - targetStat), true, eventBatchId);
|
||||
target.ChangeStatBoost(stat, (sbyte)(targetStat - userStat), false, eventBatchId);
|
||||
move.User.ChangeStatBoost(stat, (sbyte)(userStat - targetStat), true, true, eventBatchId);
|
||||
target.ChangeStatBoost(stat, (sbyte)(targetStat - userStat), false, true, eventBatchId);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user