Champion aura config usage.

This commit is contained in:
MobiusDev
2017-01-05 00:41:38 +00:00
parent b0f07ec958
commit 0ad29ab5fd
2 changed files with 6 additions and 2 deletions

View File

@@ -80,8 +80,9 @@ ChampionEnableVitality = False
# Default = False # Default = False
ChampionEnableInInstances = False ChampionEnableInInstances = False
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# L2J Banking System # Banking System
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# Enable/Disable Banking System # Enable/Disable Banking System

View File

@@ -1409,10 +1409,13 @@ public class L2Attackable extends L2Npc
if (Rnd.get(100) < Config.L2JMOD_CHAMPION_FREQUENCY) if (Rnd.get(100) < Config.L2JMOD_CHAMPION_FREQUENCY)
{ {
_champion = true; _champion = true;
if (Config.L2JMOD_SHOW_CHAMPION_AURA)
{
setTeam(Team.RED); setTeam(Team.RED);
} }
} }
} }
}
// Reset the rest of NPC related states // Reset the rest of NPC related states
super.onRespawn(); super.onRespawn();