|
Você não é registrado, por favor registre-se para ter acesso ao conteúdo completo. Caso seja registrado, efetue login. Esqueceu sua senha? Clique aqui Recomendamos o uso do Mozilla Firefox para uma melhor visualização. |
|
| Início | Postados Hoje | Marcar Fóruns Como Lidos | Álbums | Banidos | SE Team | Medalhas |
|
|||||||
| Registrar | Loteria VIP | Staff SE | Regras do fórum | Membros | Arcade | Pesquisar | Postados Hoje | Marcar Fóruns Como Lidos | Experience |
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|
![]() |
|
|
LinkBack | Ferramentas do Tópico | Modos de Exibição |
|
|
|
|
#1 (permalink) |
|
Membro - Veterano
![]() Registrado em: Dec 2009
Posts: 1,335
Agradeceu: 490
Agradecido 803 Vezes em 427 Posts
Nome Real: Roberto
|
Creditos : L2JServer Código:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Index: Trunk/L2JStep_CORE/config/l2jmods.properties
====================================================================
--- Trunk/L2JStep_CORE/config/l2jmods.properties (revision 2)
+++ Trunk/L2JStep_CORE/config/l2jmods.properties (revision 50)
@@ -153,6 +153,12 @@
+# Enable to modify skill reuse data
+EnableModifySkillReuse = false
+# Skill reuse list
+# Format : skillid,newDelayTime;skillid,newDelayTime2....
+SkillReuseList =
+
Index: Trunk/L2JStep_CORE/java/com/l2jstep/Config.java
====================================================================
--- Trunk/L2JStep_CORE/java/com/l2jstep/Config.java (revision 2)
+++ Trunk/L2JStep_CORE/java/com/l2jstep/Config.java (revision 50)
@@ -585,6 +585,8 @@
public static int NOBLE_CUSTOM_ITEM_ID;
public static boolean ALLOW_NOBLE_CUSTOM_ITEM;
public static boolean ACTIVE_SUB_NEEDED_TO_USE_NOBLE_ITEM;
+ public static boolean ENABLE_MODIFY_SKILL_REUSE;
+ public static Map<Integer, Integer> SKILL_REUSE_LIST;
public static int NOBLE_CUSTOM_LEVEL;
public static boolean ALLOW_HERO_CUSTOM_ITEM;
public static int HERO_CUSTOM_ITEM_ID;
@@ -954,6 +956,35 @@
DUEL_SPAWN_X = Integer.parseInt(*********.getProperty("PartyDuelSpawnX", "149319"));
DUEL_SPAWN_Y = Integer.parseInt(*********.getProperty("PartyDuelSpawnY", "46710"));
DUEL_SPAWN_Z = Integer.parseInt(*********.getProperty("PartyDuelSpawnZ", "-3413"));
+ ENABLE_MODIFY_SKILL_REUSE = Boolean.parseBoolean(*********.getProperty("EnableModifySkillReuse", "false"));
+ // Create Map only if enabled
+ if (ENABLE_MODIFY_SKILL_REUSE)
+ {
+ SKILL_REUSE_LIST = new FastMap<Integer, Integer>();
+ String[] propertySplit;
+ propertySplit = *********.getProperty("SkillReuseList", "").split(";");
+ for (String skill : propertySplit)
+ {
+ String[] skillSplit = skill.split(",");
+ if (skillSplit.length != 2)
+ {
+ System.out.println("[SkillReuseList]: invalid config property -> SkillReuseList \"" + skill + "\"");
+ } else
+ {
+ try
+ {
+ SKILL_REUSE_LIST.put(Integer.valueOf(skillSplit[0]), Integer.valueOf(skillSplit[1]));
+ } catch (NumberFormatException nfe)
+ {
+ if (!skill.equals(""))
+ {
+ System.out.println("[SkillReuseList]: invalid config property -> SkillList \"" + skillSplit[0] + "\"" + skillSplit[1]);
+ }
+ }
+ }
+ }
+ }
+
ALT_DISABLE_RAIDBOSS_PETRIFICATION = Boolean.parseBoolean(*********.getProperty("DisableRaidBossPetrification", "False"));
ALT_NEW_SPAWN = Boolean.parseBoolean(*********.getProperty("Customspawn", "False"));
ALT_NEW_SPAWN_X = Integer.parseInt(*********.getProperty("CustomSpawnX", ""));
Index: Trunk/L2JStep_CORE/java/com/l2jstep/gameserver/model/L2Skill.java
====================================================================
--- Trunk/L2JStep_CORE/java/com/l2jstep/gameserver/model/L2Skill.java (revision 2)
+++ Trunk/L2JStep_CORE/java/com/l2jstep/gameserver/model/L2Skill.java (revision 50)
@@ -27,6 +27,7 @@
import javolution.text.TextBuilder;
import javolution.util.FastList;
+import com.it.br.Config;
import com.it.br.gameserver.GeoData;
import com.it.br.gameserver.datatables.HeroSkillTable;
import com.it.br.gameserver.datatables.SkillTable;
@@ -504,8 +505,16 @@
_isDebuff = set.getBool("isDebuff", false);
_hitTime = set.getInteger("hitTime", 0);
_coolTime = set.getInteger("coolTime", 0);
- //_skillInterruptTime = set.getInteger("hitTime", _hitTime / 2);
- _reuseDelay = set.getInteger("reuseDelay", 0);
+ if (Config.ENABLE_MODIFY_SKILL_REUSE && Config.SKILL_REUSE_LIST.containsKey(_id))
+ {
+ if ( Config.DEBUG )
+ _log.info("*** Skill " + _name + " (" + _level + ") changed reuse from " + set.getInteger("reuseDelay", 0) + " to " + Config.SKILL_REUSE_LIST.get(_id) + " seconds.");
+ _reuseDelay = Config.SKILL_REUSE_LIST.get(_id);
+ }
+ else
+ {
+ _reuseDelay = set.getInteger("reuseDelay", 0);
+ }
_buffDuration = set.getInteger("buffDuration", 0);
_skillRadius = set.getInteger("skillRadius", 80);
_targetType = set.getEnum("target", SkillTargetType.class);
|
|
|
| Os Seguintes 2 Usuários disseram Obrigado(a) para Mazokista por gostarem deste post : |
C.Bartowski (17-09-2010), tx300 (30-01-2011)
|
| Links Patrocinados |
|
|
#3 (permalink) |
|
Membro - Major
![]() Registrado em: Sep 2009
Posts: 143
Agradeceu: 47
Agradecido 98 Vezes em 26 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Nome Real: Robson
|
Esse MOD creio que funcione da seguinte forma:
Tipo heroic miracle demora 20 min pra carregar nos guerreiros, mas como os magos tem muito Cash Speed que influencia no delay das Skill o heroic miracle ira carrega com 8 min ou menos, esse mod deixa global tipo 20 min pra guerreiro e 20 min pra mago, independente do Cash Speed, creio que seja assim :D |
|
|
|
| O seguinte membro ao lado disse Obrigado(a) a : rob1089 por gostar deste Post : |
{ADM}-Fenex (18-10-2010)
|
![]() |
| Ferramentas do Tópico | |
| Modos de Exibição | |
|
|