Much better implementation of the phase highlighting code
Rename SMART_EVENT_TARGET_CASTING to SMART_EVENT_VICTIM_CASTING