Jump to content

mazokista

Members
  • Posts

    17
  • Joined

  • Last visited

  • Feedback

    0%

About mazokista

Profile Information

  • Gender
    Not Telling

mazokista's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. και αποτελεσματικο
  2. q are told would be a good place along with the title - '
  3. an option for several armors fall well
  4. plobema the critical error was corrected in tp?
  5. DIFF : Index: java/com/it/roberto/Config.java =================================================================== --- java/com/it/roberto/Config.java (revision 74) +++ java/com/it/roberto/Config.java (working copy) @@ -133,6 +133,8 @@ public static int CS_SUPPORT3_FEE; public static int CS_SUPPORT4_FEE; public static int TIMELIMITOFINVADE; + public static String FORBIDDEN_RAID_SKILLS; + public static FastList<Integer> FORBIDDEN_RAID_SKILLS_LIST = new FastList<Integer>(); public static boolean FWS_ENABLESINGLEPLAYER; public static int FWS_FIXINTERVALOFSAILRENSPAWN; public static int FWS_RANDOMINTERVALOFSAILRENSPAWN; @@ -886,6 +888,13 @@ InputStream is = new FileInputStream(new File(BOSSES_FILE)); bossesSettings.load(is); is.close(); + + + FORBIDDEN_RAID_SKILLS = otherSettings.getProperty("ForbiddenRaidSkills", "1064,100"); + for (String id : FORBIDDEN_RAID_SKILLS.trim().split(",")) + { + FORBIDDEN_RAID_SKILLS_LIST.add(Integer.parseInt(id.trim())); + } TIMELIMITOFINVADE = Integer.parseInt(bossesSettings.getProperty("TimeLimitOfInvade", "1800000")); FWS_ENABLESINGLEPLAYER = Boolean.parseBoolean(bossesSettings.getProperty("EnableSinglePlayer", "False")); FWS_FIXINTERVALOFSAILRENSPAWN = Integer.parseInt(bossesSettings.getProperty("FixIntervalOfSailrenSpawn", "1440")); Index: java/com/it/roberto/gameserver/skills/Formulas.java =================================================================== --- java/com/it/roberto/gameserver/skills/Formulas.java (revision 74) +++ java/com/it/roberto/gameserver/skills/Formulas.java (working copy) @@ -1596,7 +1596,8 @@ if (target.isRaid() && (type == SkillType.CONFUSION || type == SkillType.MUTE || type == SkillType.PARALYZE || type == SkillType.ROOT || type == SkillType.FEAR || type == SkillType.SLEEP - || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF)) + || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF) + || Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId())) return false; // these skills should have only 1/1000 chance on raid, now it's 0. double defence = 0; @@ -2003,7 +2004,8 @@ if (target.isRaid() && (type == SkillType.CONFUSION || type == SkillType.MUTE || type == SkillType.PARALYZE || type == SkillType.ROOT || type == SkillType.FEAR || type == SkillType.SLEEP - || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF)) + || type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF) + || Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId())) return false; // these skills should not work on RaidBoss // if target reflect this skill then the effect will fail Index: java/com/it/roberto/gameserver/templates/L2Weapon.java =================================================================== --- java/com/it/roberto/gameserver/templates/L2Weapon.java (revision 74) +++ java/com/it/roberto/gameserver/templates/L2Weapon.java (working copy) @@ -305,7 +305,7 @@ for (L2Skill skill : _skillsOnCrit) { - if (target.isRaid() && (skill.getSkillType() == SkillType.CONFUSION || skill.getSkillType() == SkillType.MUTE || skill.getSkillType() == SkillType.PARALYZE || skill.getSkillType() == SkillType.ROOT)) + if (target.isRaid() && (skill.getSkillType() == SkillType.CONFUSION || skill.getSkillType() == SkillType.MUTE || skill.getSkillType() == SkillType.PARALYZE || skill.getSkillType() == SkillType.ROOT || Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId( )))) continue; // These skills should not work on RaidBoss if (!skill.checkCondition(caster, target, true)) Index: java/config/bosses.ini =================================================================== --- java/config/bosses.ini (revision 74) +++ java/config/bosses.ini (working copy) @@ -1,3 +1,9 @@ +#-------------------------------------------# +# Bosses Configuration # +#-------------------------------------------# +# List of Skills that arent allowed on RaidBosses +ForbiddenRaidSkills = 1064,100 + #-------------- # Antharas - #--------------
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..