Fix MGB not always turning off and make it work for discs

This commit is contained in:
Michael Cook (mackal)
2015-10-14 16:36:38 -04:00
parent 98bc7f0ccd
commit efeb80cc8b
3 changed files with 16 additions and 6 deletions
+1 -4
View File
@@ -626,10 +626,7 @@ bool Client::UseDiscipline(uint32 spell_id, uint32 target) {
return(false);
}
if(GetEndurance() > spell.EndurCost) {
SetEndurance(GetEndurance() - spell.EndurCost);
TryTriggerOnValueAmount(false, false, true);
} else {
if(GetEndurance() < spell.EndurCost) {
Message(11, "You are too fatigued to use this skill right now.");
return(false);
}