I don't think thats how magic training works.................
if u spawn dag boss it leaves unlimited runes on the floor, so technically it would be free xp if the bot was able to pick it up and cast the spell. or if the bot required u to pick up the first few and made it so u wouldn't drop under xxx amount of runes thus keeping the bot from having to set up attack/spell. just a thought.