Added hp/mp ratio preservation logic for effects that change maxhp/mp