Jump to content

Recommended Posts

Posted

Besides, Vago, whats the point of the return ?

public void setHeroAura (boolean heroAura)
+   {
+      isPVPHero = heroAura;
+      return;
+   }

Its a one line method, the return isn't needed since the method would return on its own.

The use of the return statement by itself is a bit nonsense since the return type is void, hence, there is no return, you are supposed to use the return statement when you want the method to stop or freeze,e.g.

if(getObjectId() == null ) return ; //avoid npes

Posted

Lol how dumb you can be? WHen you relog the aura dissapears... o.O

 

No. You lol. add my code to EnterWorld.java and then you reload the fk aura dont dissapers... o.O ( only the boot in )

Posted

If you wanna be a pernament hero .. Lol thats just dumb.Its supposed to be after restart and if you wanna be a permanent hero just write in enterworld.java this :

activeChar.setHero(true); and you're done..

Posted

oh man, you real dumb as i see... I write this code in 4 page, and you say, its inmosible, and you again post my code, and now saying its posible...

 

Look at 4 page...

 

Little fix, if you want be permenant hero after restart you must add in EnterWorld.java

 

	if (activeChar.getPvpKills() > 500)
	{
	activeChar.setHero(true);
	}

 

And thank you Vago for your hero shine code, becouse it working perfect :)

 

I don't have any to say... Out of this post...

 

 

 

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