Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tying status effects to magic shield & treating magic shield as a resource (i.e. HP/MP) #1854

Open
MannajaX opened this issue Apr 26, 2023 · 0 comments

Comments

@MannajaX
Copy link

Having trouble tying magic shield with a return damage effect. this could be done by having magic shield depend on an invisible resource (shield_health).

This way you can check for shield health > 0 to do all sort of things (return effect that lasts for as long as the shield holds).
You can also regen shield if it's a resource, to have another layer of defense in your game.

@dorkster dorkster changed the title mage_shield Tying status effects to magic shield & treating magic shield as a resource (i.e. HP/MP) Apr 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants