Class BuffPacket

java.lang.Object
tools.packet.BuffPacket

public class BuffPacket extends Object
增益(buff)/狀態相關封包建構器。

CWvsContext 機械式拆分而來(P5 God class 分檔),方法簽名與封包位元組完全不變。

  • Constructor Details

    • BuffPacket

      public BuffPacket()
  • Method Details

    • giveDice

      public static byte[] giveDice(int buffid, int skillid, int duration, Map<MapleBuffStat, Integer> statups)
    • giveHoming

      public static byte[] giveHoming(int skillid, int mobid, int x)
    • giveMount

      public static byte[] giveMount(int buffid, int skillid, Map<MapleBuffStat, Integer> statups)
    • showMonsterRiding

      public static byte[] showMonsterRiding(int cid, Map<MapleBuffStat, Integer> statups, int buffid, int skillId)
    • givePirate

      public static byte[] givePirate(Map<MapleBuffStat, Integer> statups, int duration, int skillid)
    • giveForeignPirate

      public static byte[] giveForeignPirate(Map<MapleBuffStat, Integer> statups, int duration, int cid, int skillid)
    • giveArcane

      public static byte[] giveArcane(Map<Integer,Integer> statups, int duration)
    • giveEnergyChargeTest

      public static byte[] giveEnergyChargeTest(int bar, int bufflength)
    • giveEnergyChargeTest

      public static byte[] giveEnergyChargeTest(int cid, int bar, int bufflength)
    • giveBuff

      public static byte[] giveBuff(int buffid, int bufflength, Map<MapleBuffStat, Integer> statups, MapleStatEffect effect)
    • giveDebuff

      public static byte[] giveDebuff(MapleDisease statups, int x, int skillid, int level, int duration)
    • cancelBuff

      public static byte[] cancelBuff(List<MapleBuffStat> statups)
    • cancelDebuff

      public static byte[] cancelDebuff(MapleDisease mask)
    • cancelHoming

      public static byte[] cancelHoming()
    • giveForeignBuff

      public static byte[] giveForeignBuff(int cid, Map<MapleBuffStat, Integer> statups, MapleStatEffect effect)
    • giveForeignDebuff

      public static byte[] giveForeignDebuff(int cid, MapleDisease statups, int skillid, int level, int x)
    • cancelForeignBuff

      public static byte[] cancelForeignBuff(int cid, List<MapleBuffStat> statups)
    • cancelForeignDebuff

      public static byte[] cancelForeignDebuff(int cid, MapleDisease mask)