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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...