StatusEffect.CheckEndEffectChanges C# (CSharp) Method

CheckEndEffectChanges() public method

public CheckEndEffectChanges ( Combatant, target ) : void
target Combatant,
return void
    public void CheckEndEffectChanges(Combatant target)
    {
        for(int i=0; i<this.effectChangeID.Length; i++)
        {
            if(SkillEffect.ADD.Equals(this.endEffectChanges[i]))
            {
                target.AddEffect(this.effectChangeID[i], target);
            }
            else if(SkillEffect.REMOVE.Equals(this.endEffectChanges[i]))
            {
                target.RemoveEffect(this.effectChangeID[i]);
            }
        }
    }