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

(cherry picked from commit b64ef1a39a)
This commit is contained in:
jackpoz
2021-08-21 14:38:27 +02:00
committed by Shauren
parent 540a2ec2cf
commit 015b4e4578

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);