Ticket #202: gunnar_7_12.13.diff
| File gunnar_7_12.13.diff, 1.1 kB (added by gunnar, 8 months ago) |
|---|
-
engine/value_moves.c
2828 2828 case SEMEAI_MOVE: 2829 2829 /* 2830 2830 * The strategical value of winning a semeai is 2831 * own dragons (usually) become sfully secure, while adjoining2831 * own dragons (usually) become fully secure, while adjoining 2832 2832 * enemy dragons do not. 2833 2833 * 2834 * FIXME: Valuation not implemented at all yet. 2834 * FIXME: Valuation is only crudely implemented as a 2835 * fall-through to strategic attack and defense moves. 2836 * This is not satisfactory and should be changed in 2837 * the future. 2835 2838 */ 2836 2837 break;2838 2839 2839 2840 case STRATEGIC_ATTACK_MOVE: 2840 2841 case STRATEGIC_DEFEND_MOVE: … … 2848 2849 * 2849 2850 * FIXME: Improve the implementation. 2850 2851 */ 2851 aa = move_reasons[r].what; 2852 if (move_reasons[r].type == SEMEAI_MOVE) 2853 aa = DRAGON2(move_reasons[r].what).semeai_defense_target; 2854 else 2855 aa = move_reasons[r].what; 2852 2856 2853 2857 /* FIXME: This value cannot be computed without some 2854 2858 * measurement of how the actual move affects the dragon. The
