mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-28 00:57:15 +00:00
Doors::HandleClick and remove #EQDEBUG check, convert log
This commit is contained in:
+1
-3
@@ -290,9 +290,7 @@ void Doors::HandleClick(Client* sender, uint8 trigger)
|
|||||||
float modskill=sender->GetSkill(SkillPickLock);
|
float modskill=sender->GetSkill(SkillPickLock);
|
||||||
sender->CheckIncreaseSkill(SkillPickLock, nullptr, 1);
|
sender->CheckIncreaseSkill(SkillPickLock, nullptr, 1);
|
||||||
|
|
||||||
#if EQDEBUG>=5
|
Log.Out(Logs::General, Logs::Skills, "Client has lockpicks: skill=%f", modskill);
|
||||||
Log.Out(Logs::General, Logs::None, "Client has lockpicks: skill=%f", modskill);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if(GetLockpick() <= modskill)
|
if(GetLockpick() <= modskill)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user