Jump to content

Question

Posted

I'm currently making a system for pk protection for below 76 characters.To complete this system i need to mess with AOE attacks(both skills and normal aoe hits).Where i can edit that kind of stuff?(for BOTH aoe hits)

Thanks

7 answers to this question

Recommended Posts

  • 0
Posted

first of all you must know each AoE'S skill name, then by pressing in game alt+g a search bar will apear. after this put the name of skill ther and press Search Skill, then you have the id so you go to gameserver>data>stats>skills and you edit the skill's .xml you need ;)

  • 0
Posted

Thanks but i don't want to edit the type or something else from the .xml

Since i'm not clear enough i'll re-explain with an example.

Earthquake skill is an aoe skill.The type of this skill is TARGET_AURA.I want to make all TARGET_AURA skills not to hit players above 76.

I want to make the same for simple pole attacks.Which java files i have to edit?(and which methods if it's possible)

  • 0
Posted

first of all you must know each AoE'S skill name, then by pressing in game alt+g a search bar will apear. after this put the name of skill ther and press Search Skill, then you have the id so you go to gameserver>data>stats>skills and you edit the skill's .xml you need ;)

jesus man, if you have got no idea about something, just dont post

 

yeah... you  should search at l2jserver.com for a sure answer !

he can ask here, its not big deal

 

now on topic, checkUseMagicConditions in L2PcInstance is an answer, anything else? :)

  • 0
Posted

 

now on topic, checkUseMagicConditions in L2PcInstance is an answer, anything else? :)

thanks that will do the trick for skills.now i need the place for normal aoe attacks.An example:

Player A is below 76 level and flagged(below 76 players can hit other players of their level).Player B is a warlord above 76 level and he is farming.Player A gets in Player's B target area and get hit by pole normal attack.I want to disable that.

  • 0
Posted

I'm not good in java but maybe in .java files.

 

An idea : if attackedplayerlvl< 76

return

else

player take damages.

 

But dunno where put this kind of code.

  • 0
Posted

I'm not good in java but maybe in .java files.

 

An idea : if attackedplayerlvl< 76

return

else

player take damages.

 

But dunno where put this kind of code.

I know how to code it but i don't know the place ;) that's what i'm asking

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