What's the best way to handle environmental spells?

Hi everyone,

I've been thinking about adding more puzzles to my game and since the main theme is being a mage I'm considering adding skills that would do something in combat but, more importantly, could be also used outside combat on some events. An example would be a freezing spell that would deal damage but would also be able to freeze water outside combat so that it can be walked on.

What's the best way to handle this? 

I've been thinking about just making the spell's target an event that would have a conditional branch checking if the skill has been learned, but I don't see a 'skill' check. I've also been thinking about just making it an item like a scroll and then just checking if it's in the inventory, but that seems convoluted. 

In any case, how would you do it?

Thanks.
Actually, there is an "Actor - Skill learned" conditional branch... VX Ace, right?
Ugh, I can't believe I couldn't see it.

Really silly of me.

Thanks.
Sure thing. 😉
Hey Crab.

You may also want to check out Yanfly's Button Common Events for this. I have a similar situation where some skills are useable on map. Depending on how many, you may want to assign them their own buttons =)

Here is the link: http://yanflychannel.wordpress.com/rmvxa/field-scripts/button-common-events/

~ Dinhbat

Original thread: https://forums.rpgmakerweb.com/threads/whats-the-best-way-to-handle-environmental-spells.25475/