BloodyMutt wrote:If I recall, whatever food is first in your bags gets eaten first. I may be mistaken.
BloodyMutt wrote:I know what you're talking about as I am having the same issue. I was giving you a temporary fix til they figured out what was up. To the best of my knowledge whichever food/water was in the first inventory slot is what gets eaten/drank first.
Code: Select all
spell_id = item->Click.Effect;
if
(
!IsValidSpell(spell_id) ||
casting_spell_id ||
delaytimer ||
spellend_timer.Enabled() ||
IsStunned() ||
IsFeared() ||
IsMezzed() ||
DivineAura() ||
(IsSilenced() && !IsDiscipline(spell_id)) ||
(IsAmnesiad() && IsDiscipline(spell_id)) ||
(IsDetrimentalSpell(spell_id) && !zone->CanDoCombat())
)
{
Message(13, "Error: the item effect can not be used at this time");
return;
}
Code: Select all
spell_id = item->Click.Effect;
if
(
spell_id > 0 &&
(
!IsValidSpell(spell_id) ||
casting_spell_id ||
delaytimer ||
spellend_timer.Enabled() ||
IsStunned() ||
IsFeared() ||
IsMezzed() ||
DivineAura() ||
(IsSilenced() && !IsDiscipline(spell_id)) ||
(IsAmnesiad() && IsDiscipline(spell_id)) ||
(IsDetrimentalSpell(spell_id) && !zone->CanDoCombat())
)
)
{
Message(13, "Error: the item effect can not be used at this time");
return;
}
Users browsing this forum: No registered users and 1 guest