Scripts/Commands: Fix ".wp show info" showing wrong event chance values

This commit is contained in:
jackpoz
2021-08-21 14:38:27 +02:00
parent b226c88ba2
commit b64ef1a39a

View File

@@ -804,7 +804,7 @@ public:
uint32 delay = fields[2].GetUInt32();
uint32 flag = fields[3].GetUInt32();
uint32 ev_id = fields[4].GetUInt32();
uint32 ev_chance = fields[5].GetUInt32();
uint32 ev_chance = fields[5].GetUInt16();
handler->PSendSysMessage("|cff00ff00Show info: for current point: |r|cff00ffff%u|r|cff00ff00, Path ID: |r|cff00ffff%u|r", point, pathid);
handler->PSendSysMessage("|cff00ff00Show info: delay: |r|cff00ffff%u|r", delay);