It uses your strength bonus to determine how hard it can hit or sure, there's people saying it uses your mage bonus to determine how accurately it hits.. but it's not fully confirmed.
I'd say you're better off using a zammy book.. because you can just go get another one for free.