public override float GetScore(BaseContext ctx)
        {
            NPCHumanContext nPCHumanContext = ctx as NPCHumanContext;

            if (nPCHumanContext == null)
            {
                return(0f);
            }
            if (!IsTargetDead.Test(nPCHumanContext))
            {
                return(0f);
            }
            return(1f);
        }
        public override float GetScore(BaseContext ctx)
        {
            NPCHumanContext c = ctx as NPCHumanContext;

            return(c != null && IsTargetDead.Test(c) ? 1f : 0.0f);
        }