mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 13:32:17 +00:00
Converted SkillType typedef enumeration to SkillUseTypes enumeration
This commit is contained in:
1 parent
3e6be197e6
commit
e3805d5920
43 files changed
+1119
-949
No files matched your search
+3
-3
@@ -292,12 +292,12 @@ void Doors::HandleClick(Client* sender, uint8 trigger)
|
||||
}
|
||||
else if(lockpicks != nullptr)
|
||||
{
|
||||
if(sender->GetSkill(PICK_LOCK))
|
||||
if(sender->GetSkill(SkillPickLock))
|
||||
{
|
||||
if(lockpicks->GetItem()->ItemType == ItemTypeLockPick)
|
||||
{
|
||||
float modskill=sender->GetSkill(PICK_LOCK);
|
||||
sender->CheckIncreaseSkill(PICK_LOCK, nullptr, 1);
|
||||
float modskill=sender->GetSkill(SkillPickLock);
|
||||
sender->CheckIncreaseSkill(SkillPickLock, nullptr, 1);
|
||||
|
||||
#if EQDEBUG>=5
|
||||
LogFile->write(EQEMuLog::Debug, "Client has lockpicks: skill=%f", modskill);
|
||||
|
||||
Reference in new issue
Block a user