Exactly as easy. I published the framework for free on these forums (you can't see, because you don't have a subscription).
There's even support for Wand (Shoot) and Auto Shot in there, which requires more work.
If you have a fightclass that evaluates fast, you can also get stuck wanding forever and unable to cast spells inbetween, as wanding blocks them.