implemented chara's setRole func