void FireBeam(Vector3 pos) { SkillshotFire skills = GetComponent <SkillshotFire>(); Vector3 direction = (pos - gameObject.transform.position).normalized; skills.FireBeam(gameObject.transform.position, direction); // NOTE: this fires off whatever gameobject this skill is on }
void FireTorpedo(Vector3 pos) { SkillshotFire skills = GetComponent <SkillshotFire>(); Vector3 direction = (pos); skills.FireTorpedo(positionMarker.transform.position, direction); // NOTE: this fires off whatever gameobject this skill is on }
void FireMine(Vector3 pos) { SkillshotFire skills = GetComponent <SkillshotFire>(); skills.PlaceMine(pos); }
void ApplyMagneticField() { SkillshotFire skills = GetComponent <SkillshotFire>(); skills.MagneticField(); // NOTE: this slows ALL in the area }
void ApplyHeal() { SkillshotFire skills = GetComponent <SkillshotFire>(); skills.HealArea(); // NOTE: this heals ALL in the area }