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

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.

View File

@ -233,6 +233,8 @@
#define CORPSE_DECAY_NOW 1227 //This corpse is waiting to expire.
#define CORPSE_ITEM_LOST 1228 //Your items will no longer stay with you when you respawn on death. You will now need to return to your corpse for your items.
#define CORPSE_EXP_LOST 1229 //You will now lose experience when you die.
#define FLICKERS_PALE_LIGHT 1230 //Your %1 flickers with a pale light.
#define SPARKLES 1236 //Your %1 sparkles.
#define SURNAME_REJECTED 1374 //Your new surname was rejected. Please try a different name.
#define DUEL_DECLINE 1383 //%1 has declined your challenge to duel to the death.
#define DUEL_ACCEPTED 1384 //%1 has already accepted a duel with someone else.
@ -375,6 +377,7 @@
#define GROUP_INVITEE_SELF 12270 //12270 You cannot invite yourself.
#define NOT_IN_CONTROL 12368 //You do not have control of yourself right now.
#define ALREADY_CASTING 12442 //You are already casting a spell!
#define SHIMMERS_BRIEFLY 12444 //Your %1 shimmers briefly.
#define SENSE_CORPSE_NOT_NAME 12446 //You don't sense any corpses of that name.
#define SENSE_CORPSE_NONE 12447 //You don't sense any corpses.
#define SCREECH_BUFF_BLOCK 12448 //Your immunity buff protected you from the spell %1!