mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
[Bots] Remove unnecessary error on SetItemReuse (#3795)
This error is not necessary as it can be triggered when clicked spells have secondary effects that run through the same spell checks for clicked items but aren't actually clicked by the item. Spells that trigger other spell effects and some Bard scaling songs could trigger this after the initial click.
This commit is contained in:
parent
b3bd44cd76
commit
028ebc3a0c
@ -2765,9 +2765,6 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, in
|
|||||||
CastToBot()->SetItemReuseTimer(item->ID);
|
CastToBot()->SetItemReuseTimer(item->ID);
|
||||||
CastToBot()->SetIsUsingItemClick(false);
|
CastToBot()->SetIsUsingItemClick(false);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
GetOwner()->Message(Chat::Red, "%s says, 'Failed to set item reuse timer for %s.", GetCleanName());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsNPC()) {
|
if (IsNPC()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user