Only one going through in Developer Help
|
|
Code:
proc Activate(mob/User) if(ismob(User)) return 1 if(src.Element=="Fire" && User.FireMastery<1000) User.FireMastery++ if(src.Element=="Water" && User.WaterMastery<1000) User.WaterMastery++ if(src.Element=="Lightning" && User.LightningMastery<1000) User.LightningMastery++ if(src.Element=="Earth" && User.EarthMastery<1000) User.EarthMastery++ if(src.Element=="Wind" && User.WindMastery<1000) User.WindMastery++
|
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?
|