mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Add remove option to list for ^blockedbuffs / ^blockedpetbuffs
This commit is contained in:
@@ -164,10 +164,11 @@ void bot_command_blocked_buffs(Client* c, const Seperator* sep)
|
|||||||
c->Message(
|
c->Message(
|
||||||
Chat::Yellow,
|
Chat::Yellow,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"{} says, '{} [#{}] is currently blocked.'",
|
"{} says, '{} [#{}] is currently blocked. [{}]'",
|
||||||
bot_iter->GetCleanName(),
|
bot_iter->GetCleanName(),
|
||||||
spells[blocked_buff.spell_id].name,
|
spells[blocked_buff.spell_id].name,
|
||||||
blocked_buff.spell_id
|
blocked_buff.spell_id,
|
||||||
|
Saylink::Silent(fmt::format("^blockedbuffs remove {}", blocked_buff.spell_id),"Remove")
|
||||||
).c_str()
|
).c_str()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -401,10 +402,11 @@ void bot_command_blocked_pet_buffs(Client* c, const Seperator* sep)
|
|||||||
c->Message(
|
c->Message(
|
||||||
Chat::Yellow,
|
Chat::Yellow,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"{} says, '{} [#{}] is currently blocked for my pet.'",
|
"{} says, '{} [#{}] is currently blocked for my pet. [{}]'",
|
||||||
bot_iter->GetCleanName(),
|
bot_iter->GetCleanName(),
|
||||||
spells[blocked_buff.spell_id].name,
|
spells[blocked_buff.spell_id].name,
|
||||||
blocked_buff.spell_id
|
blocked_buff.spell_id,
|
||||||
|
Saylink::Silent(fmt::format("^blockedpetbuffs remove {}", blocked_buff.spell_id), "Remove")
|
||||||
).c_str()
|
).c_str()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user