Jump to content

Start Super Haste admin


Recommended Posts

People come here makes a contribution but mine.

Mod Administrator born with super rod

MOD DONE PRA L2JFROZEN.

 

Index: config/functions/access.properties
===================================================================

GMStartupInvulnerable = True
+
+# Add Super Haste skill on GM login.
+GMStartupSuperHaste = True


Index: trunk/gameserver/head-src/com/l2jfrozen/Config.java
===================================================================
public static boolean GM_STARTUP_INVISIBLE;
+public static boolean GM_SUPER_HASTE;

GM_STARTUP_INVULNERABLE = Boolean.parseBoolean(AccessSettings.getProperty("GMStartupInvulnerable", "true"));
+GM_SUPER_HASTE = Boolean.parseBoolean(AccessSettings.getProperty("GMStartupSuperHaste", "False"));


Index: trunk/gameserver/head-src/com/l2jfrozen/network/clientpackets/enterword.java
====================================================================
if (Config.GM_STARTUP_INVULNERABLE && AdminCommandAccessRights.getInstance().hasAccess("admin_invul", activeChar.getAccessLevel()))
activeChar.setIsInvul(true);

+if(Config.GM_SUPER_HASTE)
+SkillTable.getInstance().getInfo(7029, 4).getEffects(activeChar, activeChar);

 

 

Note: those who do not use L2JFrozen

 

basic correctness

 

+ if(Config.GM_SUPER_HASTE)
+{
+               SkillTable.getInstance().getInfo(7029, 4).getEffects(activeChar, activeChar);
+}

 

 

Creditos : RevL2jbr , LovePako

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...