Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- writeShort(SPAWN_MONSTER);
- writeInt(mob->getId());
- write(1); // 1 = Control normal, 5 = Control none
- writeInt(mob->getMobId());
- // monster status
- writeBytes("00000000000000000000000000000000000000000000000000C0070000000000880000000000000000FC030000000000000000FC030000000000000000FC030000000000000000FC0300000000");
- //
- writeShort(mob->getPos_x());
- writeShort(mob->getPos_y());
- write(mob->getStance());
- writeShort(0); // FH
- writeShort(mob->getFoothold()); // Origin FH
- write(spawnType); // -3 summon by mob -2 = new spawn; -1 = old mob
- if (from != 0) {
- writeInt(from);
- }
- write(0xFF); // carnival team
- writeLongLong(0);
- write(0xFF);
Add Comment
Please, Sign In to add comment