Jump to content

[Share]Hero Effect For New Players.

Recommended Posts

Hello members of maxcheaters.

I came back from ban and i want to share something.

I do not think there is something similar and I told him to build one.

Is a simple code.


Is a hero system effect for new players.

On starting the new player have Hero Aura.

When the player get exp/level, lost hero status after restart.


Based L2J Server IL.


ChampionRewardItemQty = 1
+# Hero System                   
+HeroAuraSystem = True
Index: sf/l2j/config.java
    public static int L2JMOD_CHAMPION_REWARD_QTY;
+  public static boolean			HERO_AURA_SYSTEM;

                L2JMOD_CHAMPION_REWARD_QTY            = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemQty", "1"));
+              HERO_AURA_SYSTEM = Boolean.parseBoolean(L2JModSettings.getProperty("HeroAuraSystem", "false"));
Index: sf/l2j/gameserver/clientpackets/EnterWorld.java
	activeChar.sendPacket(new QuestList());

+		if (Config.HERO_AURA_SYSTEM)
+	       {
+	        	if (activeChar.getExp() <= 0)
+	           activeChar.setHero(true);
+	            activeChar.sendMessage("[Auto Messenger]: You get Hero Aura until restart");
+	}


Link to comment
Share on other sites

This code isn't for effect, but for hero status.


Also, learn to make patch. Gz!

How status. and when the player get exp/level will lose it.

Link to comment
Share on other sites



this is setting you hero, when you obtain exp.

if (activeChar.getExp() <= 0)




When a new player has logged is hero. Without to get exp.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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

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