There is a variety to focus messages

I'm not 100% sure these are classic, but Tit+ at least.
I was able to verify these messages -- crap ton more though.
This commit is contained in:
Michael Cook (mackal)
2015-05-29 00:40:34 -04:00
parent e588af2e79
commit 36de3879f8
2 changed files with 21 additions and 2 deletions
+18 -2
View File
@@ -5394,8 +5394,24 @@ int16 Client::GetFocusEffect(focusType type, uint16 spell_id) {
if(UsedItem && rand_effectiveness && focus_max_real != 0)
realTotal = CalcFocusEffect(type, UsedFocusID, spell_id);
if (realTotal != 0 && UsedItem)
Message_StringID(MT_Spells, BEGINS_TO_GLOW, UsedItem->Name);
if (realTotal != 0 && UsedItem) {
// there are a crap ton more of these, I was able to verify these ones though
uint32 string_id = BEGINS_TO_GLOW;
switch (type) {
case focusSpellHaste:
string_id = SHIMMERS_BRIEFLY;
break;
case focusManaCost:
string_id = FLICKERS_PALE_LIGHT;
break;
case focusSpellDuration:
string_id = SPARKLES;
break;
default:
break;
}
Message_StringID(MT_Spells, string_id, UsedItem->Name);
}
}
//Check if spell focus effect exists for the client.