chwillms / Jfap_project

0 stars 11 forks source link

Time in the game, duration of effects #6

Closed ca-schaefer closed 5 years ago

ca-schaefer commented 5 years ago

Effects have a field that specifies how long an effect is active. How does the game determine when an effect should wear off?

bkiefer commented 5 years ago

Documentation of howLong (now):This integer defines how long an effect applies. The value decreases whenever a character moves or performs an action.

This currently is a turn-based game. At best, we will use fixed ticks, no real-time strategy here (too complicated).