Ticket #48097

adv_want dai_unit_defense_desirability()

오픈 날짜: 2023-05-28 17:37 마지막 업데이트: 2023-06-02 10:36

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

dai_unit_defense_desirability() currently returns 'int', though the return value is used as an 'adv_want' and the math within the function would benefit from non-integer accuracy. Make it to return adv_want.

Ticket History (3/5 Histories)

2023-05-28 17:37 Updated by: cazfi
  • New Ticket "adv_want dai_unit_defense_desirability()" created
2023-05-28 17:54 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
댓글 올리기

Reply To cazfi

dai_unit_defense_desirability() currently returns 'int', though the return value is used as an 'adv_want' and the math within the function would benefit from non-integer accuracy. Make it to return adv_want.

dai_unit_attack_desirability() was actually even more in need of this change, as it does much more division operations.

2023-06-02 10:36 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login