Broadcast damage from map hazard

Fix taking damage from map hazard not showing to other players.
This commit is contained in:
Ronan Lana
2021-05-18 18:16:46 -03:00
parent 654d461da5
commit 458de52dbc

View File

@@ -2663,6 +2663,9 @@ public class MaplePacketCreator {
mplew.writeShort(SendOpcode.DAMAGE_PLAYER.getValue());
mplew.writeInt(cid);
mplew.write(skill);
if (skill == -3) {
mplew.writeInt(0);
}
mplew.writeInt(damage);
if(skill != -4) {
mplew.writeInt(monsteridfrom);