wateret/mengde

StateUIs does not reflect Cmd update

wateret opened this issue · 0 comments

Issue

  1. A StateUI is generated with a Cmd
  2. The Cmd is updated (e.g. by OnCmdEventEffect)
  3. StateUI does its work without Cmd changes

This happens when CriticalAttack is proceed correctly but the effect is not shown. It is because StateUI is written as static. Every param is fixed when it is generated and can never change.

Possible solution

  • Let StateUI hold a Cmd : Simple and clear. But do we have to? And.. why not?