public void Attack() { killzone = gameObject.GetComponentInChildren <Killzone>(); if (killzone.in_enemy) { killzone.DestroyEnemy(); } }
public void Start() { instance = this; sp = GetComponent <SpriteRenderer>(); }
protected override void ExtenderConstructor() { targetType = TargetType.None; staminaCost = 1; addedStipulationCard = new Killzone(); name = "High Ground"; description = addedStipulationCard.description;//"Play a Killzone to the character"; image = SpriteBase.mainSpriteBase.arrow; }