avoid putting a nil value into SmartAI::hasTrickEffective