Stendhal/StatusEffects/Implementation: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Line 11: Line 11:
* Player has a second keyed slot (status) that carries the current statuses of the player.
* Player has a second keyed slot (status) that carries the current statuses of the player.
** "key" is status name and "value" is duration of status.
** "key" is status name and "value" is duration of status.
** Each turn the key is checked and resulting action applied.


* Slots should be saved to the database so status and resistance are not lost at logout.
* Slots should be saved to the database so status and resistance are not lost at logout.