public override void Init(GameObject owner) { base.Init(owner); boss3Pot = owner.GetComponent <Boss3Pot>(); healthThreshold = boss3Pot.enemy.health.MaxHealth / boss3Pot.Blocks.Count; nextThreshold = boss3Pot.enemy.health.MaxHealth - healthThreshold * phase; }
public override void Init(GameObject owner) { base.Init(owner); boss3Pot = owner.GetComponent <Boss3Pot>(); }