mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-29 18:42:18 +00:00
Warning fixes, general cleanup (#5053)
This commit is contained in:
1 parent
435224631f
commit
491b1edd12
107 files changed
+1279
-1542
No files matched your search
@@ -82,8 +82,8 @@ void bot_command_pickpocket(Client *c, const Seperator *sep)
|
||||
}
|
||||
|
||||
// Setup variables for calcs
|
||||
bool steal_skill = my_bot->GetSkill(EQ::skills::SkillPickPockets);
|
||||
bool steal_chance = steal_skill * 100 / (5 * over_level + 5);
|
||||
uint16 steal_skill = my_bot->GetSkill(EQ::skills::SkillPickPockets);
|
||||
int steal_chance = steal_skill * 100 / (5 * over_level + 5);
|
||||
|
||||
// Determine whether to steal money or an item.
|
||||
uint32 money[6] = {
|
||||
|
||||
Reference in new issue
Block a user