mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 00:52:18 +00:00
Renamed and moved SkillUseTypes enumeration to EQEmu::skills::SkillType; eq_dictionary work
This commit is contained in:
1 parent
615158e701
commit
71f128731f
86 files changed
+4987
-3074
No files matched your search
+3
-3
@@ -284,12 +284,12 @@ void Doors::HandleClick(Client* sender, uint8 trigger)
|
||||
}
|
||||
else if(lockpicks != nullptr)
|
||||
{
|
||||
if(sender->GetSkill(SkillPickLock))
|
||||
if (sender->GetSkill(EQEmu::skills::SkillPickLock))
|
||||
{
|
||||
if(lockpicks->GetItem()->ItemType == EQEmu::item::ItemTypeLockPick)
|
||||
{
|
||||
float modskill=sender->GetSkill(SkillPickLock);
|
||||
sender->CheckIncreaseSkill(SkillPickLock, nullptr, 1);
|
||||
float modskill = sender->GetSkill(EQEmu::skills::SkillPickLock);
|
||||
sender->CheckIncreaseSkill(EQEmu::skills::SkillPickLock, nullptr, 1);
|
||||
|
||||
Log.Out(Logs::General, Logs::Skills, "Client has lockpicks: skill=%f", modskill);
|
||||
|
||||
|
||||
Reference in new issue
Block a user