L2JMobius

C4 Blessed Scrolls Escape dont work (CH, Castle, Normal)

emilianoify · 4 · 860

Offline emilianoify

  • Heir
  • **
    • Posts: 35
  • Try first after ask for help
Hello all,

I think this is an Error, because in C4 the blessed scroll is faster casted, here is slowly so i change the scrollofscape.java

To Change:

This:
   // C4 adjustment.
      if ((escapeSkill == 2036) || (escapeSkill == 2177) || (escapeSkill == 2178))
      {
         escapeSkill = 2013;
      }

For this:

final int escapeSkill = (itemId == 1538) || (itemId == 5858) || (itemId == 5859) || (itemId == 3958) || (itemId == 10130) ? 2036 : 2013;
      
Download here:

https://www.mediafire.com/file/6999hzjfqe1lbqq/ScrollOfEscape.java/file



Offline emilianoify

  • Heir
  • **
    • Posts: 35
  • Try first after ask for help
Yes, just C4, C6 looks fine

Im working in C4. Too much work because formulas and others features are like C5+ for example we have this comments:

// After C4 nobles make 4% more dmg in PvP.
      if ((attacker instanceof Player) && ((Player) attacker).isNoble() && ((target instanceof Player) || (target instanceof Summon)))
      {
         damage *= 1.04;
      }

// In C5 summons make 10 % less dmg in PvP.
      if ((attacker instanceof Summon) && (target instanceof Player))
      {
         damage *= 0.9;
      }


So im trying fix this and other skills like sleep, C4 sleep is fast casted, C5+ is slowly.