Jump to content
  • 0

aggression


Question

Posted

aggresion and hate of tanks works on characters without flag, so when you are killing riadboss, you attract all peoples around you. I tried to fix it in stats/skill, but i think its java bug.

11 answers to this question

Recommended Posts

  • 0
Posted

aggresion and hate of tanks works on characters without flag, so when you are killing riadboss, you attract all peoples around you. I tried to fix it in stats/skill, but i think its java bug.

u use a preconfigured pack?

  • 0
Posted

first of all show your skills xml id 28

second which pack you use?

 

 

I think it's from java....

 

Has nothing to do with Skill from XML.

 

<skill id="28" levels="49" name="Aggression"  enchantLevels1="30" enchantLevels2="30" >
 <table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>
 <enchant1 name="magicLvl" val="#enchantMagicLvl"/>
 <enchant2 name="magicLvl" val="#enchantMagicLvl"/>
 <table name="#mpConsume">
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0
 </table>
 <table name="#ench2MpConsume">
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0
 </table>
 <table name="#magicLvl">
 22 23 24 26 27 28 30 31 32 34
 35 36 38 39 40 41 42 43 44 45
 46 47 48 49 50 51 52 53 54 55
 56 57 58 59 60 61 62 63 64 65
 66 67 68 69 70 71 72 73 74
 </table>
 <table name="#power">
  655.0  679.0  703.0  752.0  777.0  803.0  855.0  882.0  909.0  965.0
  993.0 1021.0 1078.0 1107.0 1136.0 1166.0 1195.0 1224.0 1254.0 1283.0
 1312.0 1342.0 1371.0 1400.0 1428.0 1457.0 1485.0 1513.0 1541.0 1568.0
 1595.0 1621.0 1647.0 1672.0 1697.0 1721.0 1745.0 1768.0 1790.0 1811.0
 1831.0 1851.0 1870.0 1888.0 1905.0 1921.0 1936.0 1950.0 1963.0
 </table>
 <table name="#ench1Power">
 2008 2054 2099 2145 2190 2236 2281 2327 2372 2418
 2463 2509 2554 2600 2645 2691 2736 2782 2827 2873
 2918 2964 3009 3055 3100 3146 3191 3237 3282 3328
 </table>
 <table name="#castRange">
 400 400 400 400 400 400 400 400 400 400
 400 400 600 600 600 600 600 600 600 600
 600 600 600 600 600 600 600 600 600 600
 600 600 600 800 800 800 800 800 800 800
 800 800 800 800 800 800 800 800 800
 </table>
 <table name="#effectRange">
  900  900  900  900  900  900  900  900  900  900
  900  900 1100 1100 1100 1100 1100 1100 1100 1100
 1100 1100 1100 1100 1100 1100 1100 1100 1100 1100
 1100 1100 1100 1300 1300 1300 1300 1300 1300 1300
 1300 1300 1300 1300 1300 1300 1300 1300 1300
 </table>
 <set name="mpConsume" val="#mpConsume"/>
 <set name="magicLvl" val="#magicLvl"/>
 <set name="power" val="#power"/>
 <set name="target" val="TARGET_ONE"/>
  <set name="reuseDelay" val="22000"/>
 <set name="hitTime" val="1200"/>
 <set name="coolTime" val="200" />
 <set name="skillType" val="AGGDAMAGE"/>
 <set name="operateType" val="OP_ACTIVE"/>
 <set name="castRange" val="#castRange"/>
 <set name="effectRange" val="#effectRange"/>
 <enchant1 name="power" val="#ench1Power"/>
 <enchant2 name="mpConsume" val="#ench2MpConsume"/>
 <for>
   <effect count="1" name="TargetMe" time="1" val="0"/>
 </for>
</skill>

 

 

  • 0
Posted

Check your L2Skill class

 

Find public final boolean isPvpSkill(), your skill should to be type AGGDAMAGE .. so add it in this condition

  • 0
Posted

case BETRAY:
case AGGDAMAGE:
return true;

 

I'm Sorry for D-Posting but still doesn't work. can u use aggro on Non flagged ppl.

If you said that it doesn't work try to find checkPvpSkill method from l2pcinstance and check it ...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock