mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Disable charm clicks at <= 0
This commit is contained in:
parent
474f59e269
commit
6b8c39d388
@ -8548,7 +8548,8 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
|
|||||||
(spells[spell_id].targettype == ST_Ring) ||
|
(spells[spell_id].targettype == ST_Ring) ||
|
||||||
(IsSilenced() && !IsDiscipline(spell_id)) ||
|
(IsSilenced() && !IsDiscipline(spell_id)) ||
|
||||||
(IsAmnesiad() && IsDiscipline(spell_id)) ||
|
(IsAmnesiad() && IsDiscipline(spell_id)) ||
|
||||||
(IsDetrimentalSpell(spell_id) && !zone->CanDoCombat())
|
(IsDetrimentalSpell(spell_id) && !zone->CanDoCombat()) ||
|
||||||
|
inst->GetExp() <= 0 // charms don't have spells when less than 0
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user