Jump to content

Recommended Posts

Posted

i have one problem at  L2PcInstance i get error in setHeroAura i can't make like this.... only like this it say no error setHero :/

For me everything working fine, maybe u have different package.

Posted

Maybe old Topic but SOOO Useful! Thx for the share, it helped me very much!  ;D

 

PS: U dont mind i modyfied it a bit do you? I did it so when i get 10 straight kills get hero glow and at 20 kills get normal hero. But when you die you lose aura and hero stats(if you had taken from spree) :) :P

Posted

the code works in l2jServer Freya ?

 

grr...EVERYY Code works On all Chronicles/Forks/Emulators you just have do some tweaks or adapting it etc.

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
Posted

what is worng with a code like this?:)

//at the begining
private int heroConsecutiveKillCount = 0;

//at incrisepvp
if (heroConsecutiveKillCount == 100 && !isHero() )
{this.setHero(true);}


//at dodie
heroConsecutiveKillCount = 0;

 

 

 

  • 5 weeks later...
  • 4 months later...
Posted

Maybe old Topic but SOOO Useful! Thx for the share, it helped me very much!  ;D

 

PS: U dont mind i modyfied it a bit do you? I did it so when i get 10 straight kills get hero glow and at 20 kills get normal hero. But when you die you lose aura and hero stats(if you had taken from spree) :) :P

 

Sure you can update it. Make it more complex. Make adaptions for any chronicle you need. The only thing I want is to share it as well ^^.

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...

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..