public override void Effect(Character user, Skill skill, Battleground.Tile tile) { base.Effect(user, skill, tile); if (tile.getOccupant() != null) { switch (skill.getValue()) { case 1: tile.getOccupant().CriticBuff(Stat.CRITIC_BUFF_1, duration); break; case 2: tile.getOccupant().CriticBuff(Stat.CRITIC_BUFF_2, duration); break; case 3: tile.getOccupant().CriticBuff(Stat.CRITIC_BUFF_3, duration); break; default: tile.getOccupant().CriticBuff(Stat.CRITIC_BUFF_1, duration); break; } } }
public override void Effect(Character user, Skill skill, Battleground.Tile tile) { base.Effect(user, skill, tile); if (tile.getOccupant() != null) { user.AttackMagic(tile.getOccupant(), skill.getValue(), skill); } }
public override void Effect(Character user, Skill skill, Battleground.Tile tile) { base.Effect(user, skill, tile); if (tile.getOccupant() != null) { tile.getOccupant().Heal(skill.getValue() + (int)user.getAtkmValue()); } }