Class BuffPacket
java.lang.Object
tools.packet.BuffPacket
增益(buff)/狀態相關封包建構器。
由 CWvsContext 機械式拆分而來(P5 God class 分檔),方法簽名與封包位元組完全不變。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]cancelBuff(List<MapleBuffStat> statups) static byte[]cancelDebuff(MapleDisease mask) static byte[]cancelForeignBuff(int cid, List<MapleBuffStat> statups) static byte[]cancelForeignDebuff(int cid, MapleDisease mask) static byte[]static byte[]giveArcane(Map<Integer, Integer> statups, int duration) static byte[]giveBuff(int buffid, int bufflength, Map<MapleBuffStat, Integer> statups, MapleStatEffect effect) static byte[]giveDebuff(MapleDisease statups, int x, int skillid, int level, int duration) static byte[]giveDice(int buffid, int skillid, int duration, Map<MapleBuffStat, Integer> statups) static byte[]giveEnergyChargeTest(int bar, int bufflength) static byte[]giveEnergyChargeTest(int cid, int bar, int bufflength) static byte[]giveForeignBuff(int cid, Map<MapleBuffStat, Integer> statups, MapleStatEffect effect) static byte[]giveForeignDebuff(int cid, MapleDisease statups, int skillid, int level, int x) static byte[]giveForeignPirate(Map<MapleBuffStat, Integer> statups, int duration, int cid, int skillid) static byte[]giveHoming(int skillid, int mobid, int x) static byte[]giveMount(int buffid, int skillid, Map<MapleBuffStat, Integer> statups) static byte[]givePirate(Map<MapleBuffStat, Integer> statups, int duration, int skillid) static byte[]showMonsterRiding(int cid, Map<MapleBuffStat, Integer> statups, int buffid, int skillId)
-
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
-
showMonsterRiding
public static byte[] showMonsterRiding(int cid, Map<MapleBuffStat, Integer> statups, int buffid, int skillId) -
givePirate
-
giveForeignPirate
public static byte[] giveForeignPirate(Map<MapleBuffStat, Integer> statups, int duration, int cid, int skillid) -
giveArcane
-
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
-
cancelBuff
-
cancelDebuff
-
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
-
cancelForeignDebuff
-