Fix some errors in comments

This commit is contained in:
Michael Cook (mackal) 2013-11-18 16:21:10 -05:00
parent 86bba4ff0e
commit 917a8ed389

View File

@ -2787,7 +2787,7 @@ int Mob::CheckStackConflict(uint16 spellid1, int caster_level1, uint16 spellid2,
// derived from http://samanna.net/eq.general/buffs.shtml // derived from http://samanna.net/eq.general/buffs.shtml
// spells 1-50: no restrictons // spells 1-50: no restrictons
// 51-65: SpellLevel/2+15 // 51-65: SpellLevel/2+15
// 66+L Group Spells 62, Single Target 61 // 66+ Group Spells 62, Single Target 61
bool Mob::CheckSpellLevelRestriction(uint16 spell_id) bool Mob::CheckSpellLevelRestriction(uint16 spell_id)
{ {
return true; return true;
@ -2804,7 +2804,7 @@ bool Client::CheckSpellLevelRestriction(uint16 spell_id)
return false; return false;
else if (GetLevel() < 61) else if (GetLevel() < 61)
return false; return false;
} else if (SpellLevel > 50) { // 51-56 } else if (SpellLevel > 50) { // 51-65
if (GetLevel() < (SpellLevel / 2 + 15)) if (GetLevel() < (SpellLevel / 2 + 15))
return false; return false;
} }