AI taps every land to pay for Forcefield activation

Đang mở
#12,970 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
ai, game-dev

Hướng nghiên cứu

Start by tracing how the AI chooses mana to pay for Forcefield's activated ability when an unblocked creature deals damage; the issue does not name the relevant source file or test. Reproduce the attack with Forcefield in play and check whether payment taps only one land. The fix is done when the AI pays the required one mana without tapping its other available lands.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug
"Forcefield" is on the battlefield under the AI control. When my creature deals damage to the opponent, the AI will use all available mana to pay for the activated effect of "Forcefield" even though it only needs to pay 1.

To Reproduce
Steps to reproduce the behavior:

  1. AI has Forcefield in play
  2. Attack opponent with unblocked creature

Expected behavior
The AI taps 1 land to pay the 1 for the activated effect

Screenshots

Screenshot_20261119_233654

Desktop (please complete the following information):

  • OS: Linux
  • Version 2.0.17

Additional context
Playing Sealed Limited Edition Beta

Ngôn ngữ chính
Java
Star
2.7k
Fork
1.1k
Merge trung bình
20 giờ 38 phút
Pull request đã merge (30 ngày)
323

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Card-Forge/forge

Tất cả issue của Card-Forge/forge

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.