Jump to content

[Reshare] Champion Aura For L2Jfrozen


Recommended Posts

Hello Guys Sorry For Reshare i Search and i dont find For L2jfrozen Champion Aura

Lest Start 

Sorry For My English

 

 

 

 Go config/fun/champion.properties

 Find This 

 ChampionTitle = Champion

And Down Paste This

+
+# Enable aura from champion mobs
+# 0 - no aura / 1 - blue aura / 2 - red aura
+# Default = 0
+ChampionEnableAura = 0

Now Open Eclipse and Go head-src/com/l2jfrozen/Config.java

Find This

public static String L2JMOD_CHAMP_TITLE;

And Paste This

+ public static int L2JMOD_CHAMPION_ENABLE_AURA;

 Find This

L2JMOD_CHAMP_TITLE = ChampionSettings.getProperty("ChampionTitle", "Champion");

And Paste This

+   L2JMOD_CHAMPION_ENABLE_AURA = Integer.parseInt(ChampionSettings.getProperty("ChampionEnableAura", "0"));
+   if (L2JMOD_CHAMPION_ENABLE_AURA != 0 && L2JMOD_CHAMPION_ENABLE_AURA != 1 && L2JMOD_CHAMPION_ENABLE_AURA != 2) L2JMOD_CHAMPION_ENABLE_AURA = 0;

Now Go head-src/com/l2jfrozen/gameserver/network/serverpackets/NpcInfo.java

Find This And Delete

- writeC(0x00); // C3  team circle 1-blue, 2-red

and Replace This

+  if (Config.L2JMOD_CHAMPION_ENABLE)
+  {
+  writeC(_activeChar.isChampion() ? Config.L2JMOD_CHAMPION_ENABLE_AURA : 0);
+  }
+  else
+  {
+  writeC(0);
+  }

ok its ready build Sorry For My English

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

        if (Config.L2JMOD_CHAMPION_ENABLE && _activeChar.getLevel() > 60)
        {
            writeC(_activeChar.isChampion() ? 1 : 0);
        }
        else if(Config.L2JMOD_CHAMPION_ENABLE && _activeChar.getLevel() < 60)
        {
            writeC(_activeChar.isChampion() ? 2 : 0);
        }
        else
        {
        writeC(0);
        }

Link to comment
Share on other sites

  • 2 years later...

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

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