// Use this for initialization protected override void OverrideStart() { anm = GetComponent <Boss02Animation> (); spd = level * 0.05f; maxspd = 1f + level * 0.2f; ChangeDirectionToPlayer(); atk += 2 + level; }
// Use this for initialization protected override void OverrideStart() { anm = GetComponent <Boss02Animation> (); maxHp += 1000 * level; hp = maxHp; atk += 7 * level; pos = transform.position; //level = 5; //angry = 1; }