Page 1 of 1

Problems with characteristics

PostPosted: 11 Sep 2010, 18:05
by silly freak
I tried to implement painting of assigned (during combat) and marked damage today, but faced strange errors.
It seems that the automatic refreshing of the characteristics (for applying static abilities) breaks when characteristics are accessed from the GUI, because of the Edits produced during the refresh; As I said earlier, the GUI must not modify the game state.

I think that a restructuring of characteristics is necessary to resolve this; my idea is regularly refreshing all characteristics, and skipping the refresh on the individual requests

Re: Problems with characteristics

PostPosted: 12 Sep 2010, 06:39
by nantuko84
Hi,

could you please describe what happens in more detail? does really GUI change properties back somehow? or did you write about the possibility to do so.

>my idea is regularly refreshing all characteristics, and skipping the refresh on the individual requests
what if there will be a class that collects all such changes inside engine using the same properties, and then later will send them at once, e.g. at the end of every action.