mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
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:
+18
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user