Index: gameserver/head-src/com/l2jfrozen/Config.java
===================================================================
--- gameserver/head-src/com/l2jfrozen/Config.java
+++ gameserver/head-src/com/l2jfrozen/Config.java
@@ -886,6 +886,8 @@
public static boolean ALLOW_QUAKE_SYSTEM;
public static boolean ENABLE_ANTI_PVP_FARM_MSG;
+ /** Aio Heroes Character */
+ public static boolean ADD_HERO_AIO_EFFECT;
public static long CLICK_TASK;
// ============================================================
@@ -1883,6 +1885,8 @@
ALLOW_QUAKE_SYSTEM = Boolean.parseBoolean(otherSettings.getProperty("AllowQuakeSystem", "False"));
ENABLE_ANTI_PVP_FARM_MSG = Boolean.parseBoolean(otherSettings.getProperty("EnableAntiPvpFarmMsg", "False"));
+ /** Aio Heroes Character */
+ ADD_HERO_AIO_EFFECT = Boolean.parseBoolean(otherSettings.getProperty("AioHeroesCharacter", "True"));
}
catch (final Exception e)
{
e.printStackTrace();
throw new Error("Failed to Load " + OTHER + " File.");
}
Index: gameserver/config/head/other.properties
===================================================================
--- gameserver/config/head/other.properties
+++ gameserver/config/head/other.properties
@@ -145,4 +145,8 @@
# Aio Buffers can speak to Class Master?
AllowAioUseClassMaster = False
+
+#This feature if true,give to all Aio Hero Status
+#Default:True
+AioHeroesCharacter = True
+
Index: gameserver/head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java
===================================================================
--- gameserver/head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java
+++ gameserver/head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java
@@ -680,7 +690,14 @@
if (Config.CLAN_LEADER_COLORED == 1)
activeChar.getAppearance().setNameColor(Config.CLAN_LEADER_COLOR);
else
activeChar.getAppearance().setTitleColor(Config.CLAN_LEADER_COLOR);
}
+
+ if(Config.ADD_HERO_AIO_EFFECT && activeChar.isAio())
+ {
+ if( activeChar.getAioEndTime() >= 1)
+
+ activeChar.setHero(true);
+
+ activeChar.sendMessage("[Hero System Pra Aio]:");
+ }
+
if (Config.ALLOW_AIO_NCOLOR && activeChar.isAio())
activeChar.getAppearance().setNameColor(Config.AIO_NCOLOR);
Index: gameserver/head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminAio.java
===================================================================
--- gameserver/head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminAio.java
+++ gameserver/head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminAio.java
@@ -270,6 +280 @@
GmListTable.broadcastMessageToGMs("GM " + activeChar.getName() + " remove Aio stat of player " + _playername);
+_player.setHero(false);
_player.sendMessage("Now You are not an Aio..");