public override void Apply(GameEventOwner owner, Character character, int[] moveIndices) { SlotState statusState = ((StatusEffect)owner).StatusStates.GetWithDefault <SlotState>(); statusState.Slot = moveIndices[statusState.Slot]; if (statusState.Slot == -1) { character.SilentRemoveStatus(((StatusEffect)owner).ID); } }
protected SlotState(SlotState other) { Slot = other.Slot; }