/script local m = UnitMana("player") c=CastSpellByName if(m >= 300) then c('Multi-Shot(Rank 4)') else c('Multi-Shot(Rank 1)') end