Scenario: Player must travel through a cave with several bodies of fire in the way. Player can dowse the fires with a Magic Damage Frost spell to clear the way. This is made pretty obvious by the handy Icy Spear spell tome nearby. Then I thought, after thinking I had covered all options, what if the player casts a frost cloak, this "in theory" should provide some sort of protection - if the player has this spell, I don't think I will drop it nearby. So now I've added another solution to this situation, something that a player may think about and when they get toasted think "Come on! I was wearing a frost cloak." So how do I go about achieving this? First thing is I don't know how to script this, what event, if any, do I call to check if the player has a frost cloak active? When I can do a check to see if the cloak is active I can disable all damage triggers and the player will sail through the fires unharmed AS LONG as the frost cloak is active. As soon as it ends then the player must take damage from any fire he/she encounters or cast the frost cloak again and possibly again until he/she leaves the area.
Help with this please?