MovingBlocks
Add stun effect to AlterationEffects module
Terasology has an AlterationEffects module that implements a basic set of status effects (buffs and debuffs) that can alter a player's base state in some fashion. These include health regeneration, mobility increases, damage reduction, poison status, etc.
Your task is to add a stun or paralyze effect to this module. To clarify, any entity inflicted with this status will temporarily not be able to move for a specified duration of time. Other speed effects should not overwrite this stun. Moreover, if an entity gets stunned again while stunned, just don't apply the new stun effect. Keep the original time as-is.
Definition of 'Done'
- A pull request is submitted to the AlterationEffects module containing the stun effect. Feel free to add your GitHub nickname to the list of authors in the module.txt file.
Where to start?
- Download a copy of the AlterationEffects module using
gradlew fetchModuleAlterationEffects
, create a new branch, and start from there. - Check out the other alteration effects. In particular, pay attention to how AlterationEffects.java, EffectsAuthoritySystem.java, and the speed effects are designed.
Task tags
Students who completed this task
Isaac