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

(cherry picked from commit b64ef1a39adfc37380aba59de506eb394e9c664d)
This commit is contained in:
jackpoz
2022-03-13 19:31:14 +01:00
committed by Shauren
parent 540a2ec2cf
commit 015b4e4578
+1 -1
View File
@@ -816,7 +816,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);