Ejemplo n.º 1
0
	public override void ApplyEffect (IAttacker attacker, Controllable victim) {
		var text = GameObject.Instantiate(Resources.Load<CombatText> ("CombatText"));
		text.Text = damage.ToString();
		text.transform.position = victim.transform.position + Vector3.up * 1;
		victim.AddHealth (-damage);
	}