You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: