change this part of the code, don't modify SpellInfo fields in scripts