A Project for Chronicle 4 based on L2JServer.


    How to make raidbosses debuffable

    Share

    SunRise

    Posts : 12
    Join date : 2018-01-10

    How to make raidbosses debuffable

    Post  SunRise on 17th January 2018, 13:27

    Hello.

    I'm testing raidbosses on my server and got a question

    Tried to debuff raidbosses with gloom, surrenders and etc, but it didn't work

    Any ideas?
    avatar
    Karakan

    Posts : 471
    Join date : 2013-10-04

    Re: How to make raidbosses debuffable

    Post  Karakan on 18th January 2018, 21:15

    Check "Formulas.java"

    Look for "if (target.isRaid())"

    SunRise

    Posts : 12
    Join date : 2018-01-10

    Re: How to make raidbosses debuffable

    Post  SunRise on 19th January 2018, 13:30

    Karakan wrote:Check "Formulas.java"

    Look for "if (target.isRaid())"

    Seems like worked, thank you very much.

    Don't you know, why this case was there?
    avatar
    Karakan

    Posts : 471
    Join date : 2013-10-04

    Re: How to make raidbosses debuffable

    Post  Karakan on 19th January 2018, 15:09

    Because back in the days Debuffs didn't work on raids.
    Well theoretically they did....but chances were like 1 out of 1000.

    SunRise

    Posts : 12
    Join date : 2018-01-10

    Re: How to make raidbosses debuffable

    Post  SunRise on 19th January 2018, 21:35

    Karakan wrote:Because back in the days Debuffs didn't work on raids.
    Well theoretically they did....but chances were like 1 out of 1000.

    Really strange

    When I used to play on C4 PTS, debuffs worked quiet good
    avatar
    Karakan

    Posts : 471
    Join date : 2013-10-04

    Re: How to make raidbosses debuffable

    Post  Karakan on 19th January 2018, 22:35

    Root,Stun,Paralyze and Fear should never work on any Boss.

    SunRise

    Posts : 12
    Join date : 2018-01-10

    Re: How to make raidbosses debuffable

    Post  SunRise on 20th January 2018, 09:37

    Karakan wrote:Root,Stun,Paralyze and Fear should never work on any Boss.

    Yes, but surrenders, gloom, vortexes and slow should work

    Something like this:

    Code:

    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))
                return false; // these skills should not work on RaidBoss
    avatar
    Karakan

    Posts : 471
    Join date : 2013-10-04

    Re: How to make raidbosses debuffable

    Post  Karakan on 20th January 2018, 16:30

    Alternatively...
    You could remove the core part and use the skill 4045.

    Since all raids bosses allready got that skill in their skill lists...and its easier to adjust certain vulnerabilities.

    Just make sure its not to easy to kill raids. Cool

    Code:

    <skill id="4045" levels="1" name="Resist Full Magic Attack">
      <set name="power" val="0.0"/>
      <set name="target" val="TARGET_SELF"/>
      <set name="skillType" val="BUFF"/>
      <set name="operateType" val="OP_PASSIVE"/>
      <set name="castRange" val="-1"/>
      <set name="effectRange" val="-1"/>
      <for>
        <mul order="0x30" stat="cancelVuln" val="0.1"/>  
        <mul order="0x30" stat="confusionVuln" val="0.1"/>
        <mul order="0x30" stat="debuffVuln" val="0.1"/>
        <mul order="0x30" stat="derangementVuln" val="0.0"/>
       <mul order="0x30" stat="bleedVuln" val="0.1" />
       <mul order="0x30" stat="paralyzeVuln" val="0.1" />
       <mul order="0x30" stat="poisonVuln" val="0.1"/>
       <mul order="0x30" stat="rootVuln" val="0.1" />
       <mul order="0x30" stat="sleepVuln" val="0.1" />
       <mul order="0x30" stat="stunVuln" val="0.1" />
      </for>
    </skill>


    Regards.

    SunRise

    Posts : 12
    Join date : 2018-01-10

    Re: How to make raidbosses debuffable

    Post  SunRise on 21st January 2018, 08:53

    Thank you very much, it's quiet useful idea

    But I can't see anywhere weaknessVuln to increase/decrease chance of successful weakness (surrender to ...) chance

    Does it depends only on m.def?
    avatar
    Karakan

    Posts : 471
    Join date : 2013-10-04

    Re: How to make raidbosses debuffable

    Post  Karakan on 21st January 2018, 14:15

    Code:

      <for>
        <effect count="1" name="Debuff" time="15" val="0">
          <mul order="0x30" stat="earthVuln" val="#Tab-earthVuln"/>
        </effect>
      </for>

    Those are also debuffs.
    So "debuffVuln" should do the trick.

    SunRise

    Posts : 12
    Join date : 2018-01-10

    Re: How to make raidbosses debuffable

    Post  SunRise on 21st January 2018, 17:16

    Karakan wrote:
    Code:

      <for>
        <effect count="1" name="Debuff" time="15" val="0">
          <mul order="0x30" stat="earthVuln" val="#Tab-earthVuln"/>
        </effect>
      </for>

    Those are also debuffs.
    So "debuffVuln" should do the trick.

    Oh, didn't notice, thanks

    Sponsored content

    Re: How to make raidbosses debuffable

    Post  Sponsored content


      Current date/time is 23rd October 2018, 17:21