mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-18 19:41:30 +00:00
Added Client:UseLiveBlockedMessage rule
This commit is contained in:
parent
02ec76d2aa
commit
9a010a90a9
@ -1,5 +1,10 @@
|
|||||||
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
|
== 06/28/2016
|
||||||
|
Noudess: Resurrection effects now block certain buffs like on live.
|
||||||
|
Noudess: Added message about why spells are blocked (rule based)
|
||||||
|
Noudess: Added new rule: Client:UseLiveBlockedMessage
|
||||||
|
|
||||||
== 06/13/2016 ==
|
== 06/13/2016 ==
|
||||||
Noudess: Changes personal faction earned min/max to -2000/2000 from -3000/1200
|
Noudess: Changes personal faction earned min/max to -2000/2000 from -3000/1200
|
||||||
|
|
||||||
|
|||||||
@ -665,6 +665,7 @@ RULE_CATEGORY_END()
|
|||||||
|
|
||||||
RULE_CATEGORY(Client)
|
RULE_CATEGORY(Client)
|
||||||
RULE_BOOL(Client, UseLiveFactionMessage, false) // Allows players to see faction adjustments like Live
|
RULE_BOOL(Client, UseLiveFactionMessage, false) // Allows players to see faction adjustments like Live
|
||||||
|
RULE_BOOL(Client, UseLiveBlockedMessage, false) // Allows players to see faction adjustments like Live
|
||||||
RULE_CATEGORY_END()
|
RULE_CATEGORY_END()
|
||||||
|
|
||||||
#undef RULE_CATEGORY
|
#undef RULE_CATEGORY
|
||||||
|
|||||||
@ -3118,7 +3118,7 @@ int Mob::AddBuff(Mob *caster, uint16 spell_id, int duration, int32 level_overrid
|
|||||||
if (ret == -1) { // stop the spell
|
if (ret == -1) { // stop the spell
|
||||||
Log.Out(Logs::Detail, Logs::Spells, "Adding buff %d failed: stacking prevented by spell %d in slot %d with caster level %d",
|
Log.Out(Logs::Detail, Logs::Spells, "Adding buff %d failed: stacking prevented by spell %d in slot %d with caster level %d",
|
||||||
spell_id, curbuf.spellid, buffslot, curbuf.casterlevel);
|
spell_id, curbuf.spellid, buffslot, curbuf.casterlevel);
|
||||||
if (caster->IsClient()) {
|
if (caster->IsClient() && RuleB(Client, UseLiveBlockedMessage)) {
|
||||||
caster->Message(13, "Your %s did not take hold on %s. (Blocked by %s.)", spells[spell_id].name, this->GetName(), spells[curbuf.spellid].name);
|
caster->Message(13, "Your %s did not take hold on %s. (Blocked by %s.)", spells[spell_id].name, this->GetName(), spells[curbuf.spellid].name);
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user