optimize state id calculation for case where target is player
use stateId of choice instead of hashcode