美工GM 版主
文章數 : 646 注冊日期 : 2021-09-23
| 主題: [核心]新增全狀態藥水 周一 10月 04, 2021 5:20 pm | |
| } else if (itemId == 88030) { // TODO 全狀態藥水 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, 1800, L1PolyMorph.MORPH_BY_GM);
for (int i = 0; i < allBuffSkill.length; i++) { L1Skills skill = SkillsTable.getInstance().getTemplate( allBuffSkill); new L1SkillUse().handleCommands(pc, allBuffSkill, pc .getId(), pc.getX(), pc.getY(), null, skill .getBuffDuration() * 1000, L1SkillUse.TYPE_GMBUFF); } pc.getInventory().removeItem(l1iteminstance, 1); // 移除物品 | |
|