mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-02 23:40:26 +00:00
Warning fixes, general cleanup (#5053)
This commit is contained in:
@@ -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