チケット #43169

action_prob_pre_action_dice_roll() checking action possibility for wrong player

登録: 2021-11-06 22:05 最終更新: 2021-11-12 18:34

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
1

詳細

It seems wrong to me that action_prob_pre_action_dice_roll() checks "is_effect_val_known(EFT_ACTION_ODDS_PCT, act_player, tgt_player, tgt_player, ...". If I understand the functions right, the first player argument 'act_player' is who gets the information. Second and third ones are the the parties of the incident. So the call is like 'tgt_player' attacking 'tgt_player'. Should be 'act_player' attacking 'tgt_player', I think.

チケットの履歴 (5 件中 3 件表示)

2021-11-06 22:05 更新者: cazfi
  • 新しいチケット "action_prob_pre_action_dice_roll() checking action possibility for wrong player" が作成されました
2021-11-07 00:06 更新者: kvilhaugsvik
コメント

I agree that it looks that way. I have sent the author of that code an email to check if we have missed something.

(編集済, 2021-11-07 00:07 更新者: kvilhaugsvik)
2021-11-08 15:41 更新者: kvilhaugsvik
  • 担当者(未割り当て) から kvilhaugsvik に更新されました
  • 解決法なし から 受領 に更新されました
  • マイルストーン(未割り当て) から 3.1.0 (完了済み) に更新されました
コメント

Reply To kvilhaugsvik

I have sent the author of that code an email to check if we have missed something.

We didn't miss something.

2021-11-12 18:34 更新者: kvilhaugsvik
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする