Instead of using an if statement you should create an abstract method for your conditional logic. Then have the child class run the code that is correct for it.
This also will keep you from having to modify the base class every time you create a new child class.