v0.6.0
Features
Long lasting status effects.
It's now possible to implement status effects with weasel. A status effect can be inflicted with the event InflictStatus
and removed with the event ClearStatus
.
You can specify your own status effects' definition with the new associated types Potency
, Status
and StatusesAlteration
.
The new methods generate_status
and alter_statuses
in CharacterRules
let you define how statuses are created and modified.
The new methods apply_status
, update_status
and delete_status
in FightRules
let you define what are the side effects of a status.
Added the event EnvironmentRound
to simulate a round for all inanimate objects, to trigger their status updates.
Improvements to trait method names.
Renamed ActorRules
's alter
into alter_abilities
and CharacterRules
's alter
into alter_statistics
for consistency with the new alter_statuses
.
New examples.
New example, status
, to demonstrate how to define and use status effects.
Bug fixes
Event's origin is not overridden anymore by the server while processing events put into an EventQueue
.