I'm actually really proud of how magic is coming along. With the staff equipped, you right click to change element (currently just fire and water). Water will create a sphere around you and fire does a spray (which looks way cooler now). The water shield obviously kills the fire (this was easier to think of than find out how to code haha.. but I refrained from using the coding help section). On top of this, it remembers what element you were last in so if you unequip the staff while you're attuned to water you'll equip it with water when you take it out again.
I'm going to keep it to these two beginner elements with the attunement concept for now and add other magical items (a book and maybe a powerful one use item you will get each day). For the book I'm thinking I'll make the fire defensive (fire ring) and the water offensive (ice shards? or maybe a way to immobilise the foe. Post suggestions please! :D) The model is by Mr Nobody
I made a little video of it in action with a bonus thing at the end :)
LINK