Broadcast damage from map hazard
Fix taking damage from map hazard not showing to other players.
This commit is contained in:
@@ -2663,6 +2663,9 @@ public class MaplePacketCreator {
|
|||||||
mplew.writeShort(SendOpcode.DAMAGE_PLAYER.getValue());
|
mplew.writeShort(SendOpcode.DAMAGE_PLAYER.getValue());
|
||||||
mplew.writeInt(cid);
|
mplew.writeInt(cid);
|
||||||
mplew.write(skill);
|
mplew.write(skill);
|
||||||
|
if (skill == -3) {
|
||||||
|
mplew.writeInt(0);
|
||||||
|
}
|
||||||
mplew.writeInt(damage);
|
mplew.writeInt(damage);
|
||||||
if(skill != -4) {
|
if(skill != -4) {
|
||||||
mplew.writeInt(monsteridfrom);
|
mplew.writeInt(monsteridfrom);
|
||||||
|
|||||||
Reference in New Issue
Block a user