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

 

 

 

Posted

Yeah.. you better go learn some english b4 saying something.Eventhough ,why the fuck some1 wanna keep it after relog ? It looses sense since its for 5 pvp's... Whatever ,get lost.

Posted

Won't heroes become overpower like this? :P

But its a very good java mod thanks a lot Vago for sharing it with us!

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