mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
[Commands] Cleanup #showbuffs Command (#3439)
* [Commands] Cleanup #showbuffs Command # Notes - Cleaned up messages and logic. - Removed unnecessary itembonuses/spellbonuses stuff. - Removed `Mob::ShowBuffList` as it's just a copy of this method. * Update mob.cpp * Further cleanup. * Update mob.cpp * Update mob.cpp
This commit is contained in:
@@ -8531,17 +8531,6 @@ void Client::ExpeditionSay(const char *str, int ExpID) {
|
||||
|
||||
}
|
||||
|
||||
void Client::ShowNumHits()
|
||||
{
|
||||
uint32 buffcount = GetMaxTotalSlots();
|
||||
for (uint32 buffslot = 0; buffslot < buffcount; buffslot++) {
|
||||
const Buffs_Struct &curbuff = buffs[buffslot];
|
||||
if (IsValidSpell(curbuff.spellid) && curbuff.hit_number)
|
||||
Message(0, "You have %d hits left on %s", curbuff.hit_number, GetSpellName(curbuff.spellid));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
int Client::GetQuiverHaste(int delay)
|
||||
{
|
||||
const EQ::ItemInstance *pi = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user