Synonyms: timeserving, opportunist, opportunistic
Definition: taking immediate advantage, often unethically, of any circumstance of possible benefit
Similar words: expedient
Definition: serving to promote your interest
Usage: was merciful only when mercy was expedient