//加入全狀態藥水 import l1j.server.server.model.skill.L1BuffUtil; //加入全狀態藥水end
//TODO 全狀態藥水 by 雷奇曼 else if (itemId == 330029) { int[] allBuffSkill = {LIGHT, DECREASE_WEIGHT, PHYSICAL_ENCHANT_DEX, MEDITATION, PHYSICAL_ENCHANT_STR, BLESS_WEAPON, BERSERKERS, IMMUNE_TO_HARM, ADVANCE_SPIRIT,REDUCTION_ARMOR, BOUNCE_ATTACK, SOLID_CARRIAGE, ENCHANT_VENOM, BURNING_SPIRIT, VENOM_RESIST, DOUBLE_BRAKE, UNCANNY_DODGE, DRESS_EVASION, GLOWING_AURA, BRAVE_AURA, RESIST_MAGIC, CLEAR_MIND, ELEMENTAL_PROTECTION, AQUA_PROTECTER, BURNING_WEAPON, IRON_SKIN, EXOTIC_VITALIZE, WATER_LIFE, ELEMENTAL_FIRE, SOUL_OF_FLAME, ADDITIONAL_FIRE }; L1BuffUtil.haste(pc, 3600 * 1000); L1BuffUtil.brave(pc, 3600 * 1000); L1PolyMorph.doPoly(pc, 5641, 7200, L1PolyMorph.MORPH_BY_GM); for (int i = 0; i < allBuffSkill.length; i++) { L1Skills skill = SkillsTable.getInstance().getTemplate( allBuffSkill[i]); new L1SkillUse().handleCommands(pc, allBuffSkill[i], pc.getId(), pc.getX(), pc.getY(), null, skill .getBuffDuration() * 1000, L1SkillUse.TYPE_GMBUFF); } pc.getInventory().removeItem(l1iteminstance, 1); }// 移除物品 //end 全狀態藥水 |