mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-28 21:21:30 +00:00
Disable charm clicks at <= 0
This commit is contained in:
parent
9f199100e5
commit
e510608a3f
@ -8545,7 +8545,8 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
|
||||
(spells[spell_id].targettype == ST_Ring) ||
|
||||
(IsSilenced() && !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