mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
RoF+ - Added the "Your race, class, or deity cannot use this item." message since it no longer exists in the eqstr_us.txt file.
This commit is contained in:
parent
ac09636a73
commit
179f47dbe3
@ -274,8 +274,16 @@ bool Mob::CastSpell(uint16 spell_id, uint16 target_id, uint16 slot,
|
|||||||
database.SetHackerFlag(CastToClient()->AccountName(), CastToClient()->GetCleanName(), "Clicking race/class restricted item with an invalid class");
|
database.SetHackerFlag(CastToClient()->AccountName(), CastToClient()->GetCleanName(), "Clicking race/class restricted item with an invalid class");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (CastToClient()->GetClientVersion() >= EQClientRoF)
|
||||||
|
{
|
||||||
|
// Line 181 in eqstr_us.txt was changed in RoF+
|
||||||
|
Message(15, "Your race, class, or deity cannot use this item.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
Message_StringID(13, CANNOT_USE_ITEM);
|
Message_StringID(13, CANNOT_USE_ITEM);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return(false);
|
return(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user