本文整理匯總了Java中tools.packet.CWvsContext.enableActions方法的典型用法代碼示例。如果您正苦於以下問題:Java CWvsContext.enableActions方法的具體用法?Java CWvsContext.enableActions怎麽用?Java CWvsContext.enableActions使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類tools.packet.CWvsContext
的用法示例。
在下文中一共展示了CWvsContext.enableActions方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: handleBuff
import tools.packet.CWvsContext; //導入方法依賴的package包/類
@Override
public void handleBuff(MapleStatEffect eff, int skill) {
switch (skill) {
case 41110008:
case 41001001: // Battoujutsu Stance
eff.info.put(MapleStatInfo.time, Integer.valueOf(2100000000));
eff.statups.put(CharacterTemporaryStat.CriticalBuff, eff.info.get(MapleStatInfo.y));
eff.statups.put(CharacterTemporaryStat.BATTOUJUTSU_STANCE, 1);
eff.statups.put(CharacterTemporaryStat.Booster, eff.info.get(MapleStatInfo.actionSpeed));
eff.statups.put(CharacterTemporaryStat.HAYATO_STANCE, eff.info.get(MapleStatInfo.prop));
CWvsContext.enableActions();
break;
case 41101003: // Military Might
eff.statups.put(CharacterTemporaryStat.Jump, eff.info.get(MapleStatInfo.jump));
eff.statups.put(CharacterTemporaryStat.Jump, eff.info.get(MapleStatInfo.u));
eff.statups.put(CharacterTemporaryStat.Speed, eff.info.get(MapleStatInfo.x));
eff.statups.put(CharacterTemporaryStat.HAYATO3, eff.info.get(MapleStatInfo.x));
eff.statups.put(CharacterTemporaryStat.HAYATO4, eff.info.get(MapleStatInfo.x));
eff.statups.put(CharacterTemporaryStat.HAYATO5, eff.info.get(MapleStatInfo.x));
break;
case 41101005: // Katana Booster
eff.statups.put(CharacterTemporaryStat.Booster, eff.info.get(MapleStatInfo.x));
break;
case 41121003: // Iron Skin,
eff.statups.put(CharacterTemporaryStat.AsrR, eff.info.get(MapleStatInfo.x));
eff.statups.put(CharacterTemporaryStat.TerR, eff.info.get(MapleStatInfo.y));
break;
case 41121005: // Akatsuki Hero
eff.statups.put(CharacterTemporaryStat.BasicStatUp, eff.info.get(MapleStatInfo.x));
break;
case 41121054: // God of Blades
//TODO - works without
break;
case 41121053: // Princess's Vow
eff.statups.put(CharacterTemporaryStat.IncMaxDamage, eff.info.get(MapleStatInfo.indieMaxDamageOver));
eff.statups.put(CharacterTemporaryStat.IndieDamR, eff.info.get(MapleStatInfo.indieDamR));
break;
default:
//System.out.println("Hayato skill not coded: " + skill);
break;
}
}