if(src.Element=="Fire" && User.FireMastery<1000)
if(src.Element=="Water" && User.WaterMastery<1000)
if(src.Element=="Lightning" && User.LightningMastery<1000)//only one going through.
if(src.Element=="Earth" && User.EarthMastery<1000)
if(src.Element=="Wind" && User.WindMastery<1000)
Problem description: For some reason, when I use a Lightning skill, the players 'LightningMastery' increases, yet when I use any other element, their masteries don't. I've been trying to find out what's wrong for the past hour but I really can't find an issue. I've checked everywhere. All the skills have their elements set properly so it's not that. Any suggestions?