updated casting_spells.rb and fixed a bug with welding