loudsmilestudios/TetraForce

Invulnerability not working as originally coded

Closed this issue · 4 comments

Game Version:

Master Branch

Issue description:

Invulnerability should occur after player is injured, giving 60 ticks of no damage, this however does not occur. This feature should also be usable with enemy logic / behaviors- which that does not seem to be the case.

Possibly broken during PvP meddling. This could be a good place to start, but at this moment, unsure.

Steps to reproduce:

Walk into an enemy consecutive times while still flashing.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This can be fixed by having the player connect to the options loaded function.

Then update a value on the player and make a peer call to update that value on all machines.

Finally, the entity damage function should use that variable when determine whether the player will process that damage.

Within the recent changes by @Elginive, it now requires the full implementation of the player PvP Toggle again

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.