Fix SNEAK_RESTRICT Message Type

This commit is contained in:
Michael Cook (mackal) 2016-10-28 20:45:05 -04:00
parent b9fefc95e8
commit cbb7090615
2 changed files with 2 additions and 2 deletions

View File

@ -1183,7 +1183,7 @@ void Client::ActivateAlternateAdvancementAbility(int rank_id, int target_id) {
CommonBreakInvisible(); CommonBreakInvisible();
if (spells[rank->spell].sneak && (!hidden || (hidden && (Timer::GetCurrentTime() - tmHidden) < 4000))) { if (spells[rank->spell].sneak && (!hidden || (hidden && (Timer::GetCurrentTime() - tmHidden) < 4000))) {
Message_StringID(13, SNEAK_RESTRICT); Message_StringID(MT_SpellFailure, SNEAK_RESTRICT);
return; return;
} }
// Bards can cast instant cast AAs while they are casting another song // Bards can cast instant cast AAs while they are casting another song

View File

@ -658,7 +658,7 @@ bool Client::UseDiscipline(uint32 spell_id, uint32 target) {
// sneak attack discs require you to be hidden for 4 seconds before use // sneak attack discs require you to be hidden for 4 seconds before use
if (spell.sneak && (!hidden || (hidden && (Timer::GetCurrentTime() - tmHidden) < 4000))) { if (spell.sneak && (!hidden || (hidden && (Timer::GetCurrentTime() - tmHidden) < 4000))) {
Message_StringID(13, SNEAK_RESTRICT); Message_StringID(MT_SpellFailure, SNEAK_RESTRICT);
return false; return false;
} }