mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Spells like flame_lick were not requiring flame lick. Noexpend for
flame lick was not working. Also fixed a log message with arguments reversed.
This commit is contained in:
parent
bf93d72a43
commit
46d7019909
@ -1164,12 +1164,14 @@ void Mob::CastedSpellFinished(uint16 spell_id, uint32 target_id, uint16 slot,
|
||||
}
|
||||
else if (!bard_song_mode)
|
||||
{
|
||||
int noexpend;
|
||||
for(int t_count = 0; t_count < 4; t_count++) {
|
||||
component = spells[spell_id].components[t_count];
|
||||
if (component == -1)
|
||||
noexpend = spells[spell_id].NoexpendReagent[t_count];
|
||||
if (component == -1 || noexpend == component)
|
||||
continue;
|
||||
component_count = spells[spell_id].component_counts[t_count];
|
||||
Log.Out(Logs::Detail, Logs::Spells, "Spell %d: Consuming %d of spell component item id %d", spell_id, component, component_count);
|
||||
Log.Out(Logs::Detail, Logs::Spells, "Spell %d: Consuming %d of spell component item id %d", spell_id, component_count, component);
|
||||
// Components found, Deleting
|
||||
// now we go looking for and deleting the items one by one
|
||||
for(int s = 0; s < component_count; s++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user