Toggles are not supposed to have modified duration.

Contributed by ver.
This commit is contained in:
MobiusDevelopment
2022-01-17 03:32:38 +00:00
parent 87878357f2
commit cd29cc9e6e
25 changed files with 25 additions and 48 deletions

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -258,7 +258,7 @@ public abstract class DocumentBase
if (attrs.getNamedItem("time") != null)
{
time = Integer.decode(getValue(attrs.getNamedItem("time").getNodeValue(), template));
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(((Skill) template).getId()))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(((Skill) template).getId()) && !((Skill) template).isToggle())
{
if (((Skill) template).getLevel() < 100)
{

View File

@@ -258,7 +258,7 @@ public abstract class DocumentBase
if (attrs.getNamedItem("time") != null)
{
time = Integer.decode(getValue(attrs.getNamedItem("time").getNodeValue(), template));
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(((Skill) template).getId()))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(((Skill) template).getId()) && !((Skill) template).isToggle())
{
if (((Skill) template).getLevel() < 100)
{

View File

@@ -236,7 +236,7 @@ public class Skill implements IIdentifiable
_abnormalLevel = set.getInt("abnormalLevel", 0);
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -247,7 +247,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -237,7 +237,7 @@ public class Skill implements IIdentifiable
_abnormalLevel = set.getInt("abnormalLevel", 0);
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -248,7 +248,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -239,7 +239,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -250,7 +250,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -238,7 +238,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -249,7 +249,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -239,7 +239,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -250,7 +250,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -239,7 +239,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -250,7 +250,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));

View File

@@ -239,7 +239,7 @@ public class Skill implements IIdentifiable
_abnormalType = set.getEnum("abnormalType", AbnormalType.class, AbnormalType.NONE);
_subordinationAbnormalType = set.getEnum("subordinationAbnormalType", AbnormalType.class, AbnormalType.NONE);
int abnormalTime = set.getInt("abnormalTime", 0);
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id))
if (Config.ENABLE_MODIFY_SKILL_DURATION && Config.SKILL_DURATION_LIST.containsKey(_id) && (_operateType != SkillOperateType.T))
{
if ((_level < 100) || (_level > 140))
{
@@ -250,7 +250,6 @@ public class Skill implements IIdentifiable
abnormalTime += Config.SKILL_DURATION_LIST.get(_id);
}
}
_abnormalTime = abnormalTime;
_isAbnormalInstant = set.getBoolean("abnormalInstant", false);
parseAbnormalVisualEffect(set.getString("abnormalVisualEffect", null));