L2JMobius

C6 Include Aura in Mobs Champion

junin00 · 2 · 6590

Offline junin00

  • Black Sheep
  • Heir
  • **
    • Posts: 31
For those who like it, enjoy.  :P

Code: [Select]

===================================================================================
Index: java.org.l2jmobius.Config.java
===================================================================================

public static String CHAMP_TITLE;
+ public static int CHAMPION_ENABLE_AURA;



CHAMP_TITLE = championConfig.getString("ChampionTitle", "Champion");
+ CHAMPION_ENABLE_AURA = championConfig.getInt("ChampionEnableAura", 0);
+ if ((CHAMPION_ENABLE_AURA != 0) && (CHAMPION_ENABLE_AURA != 1) && (CHAMPION_ENABLE_AURA != 2))
+ {
+ CHAMPION_ENABLE_AURA = 0;
+ }


===================================================================================
Index: java.org.l2jmobius.gameserver.network.serverpackets.NpcInfo.java
===================================================================================

- writeC(0x00); // C3 team circle 1-blue, 2-red
+ if (Config.CHAMPION_ENABLE)
+ {
+ writeC(_creature.isChampion() ? Config.CHAMPION_ENABLE_AURA : 0);
+ }
+ else
+ {
+ writeC(0x00); // C3 team circle 1-blue, 2-red
+ }

===================================================================================
Index:  dist\game\config\custom\Champion.ini
===================================================================================

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