в Skill.java
public static boolean isAoeBuff(final int id) {
return (id == 1355) || (id == 1356) || (id == 1357) || (id == 1358) || (id == 1359);
}
в SkillTable.java
public Skill getInfo(int skillId, int level) {
Player player = null;
if (Skill.isAoeBuff(skillId)) {
if (player != null) {
skillId = skillId + player.getAoeBuffSpecific();
}
}
return _skills.get(getSkillHashCode(skillId, level));
}
public Skill getInfo(int skillId, final Player player) {
final int level = player.getSkillLevel(skillId);
if (level == -1) {
return null;
}
if (Skill.isAoeBuff(skillId)) {
skillId = skillId + player.getAoeBuffSpecific();
}
return getInfo(skillId, level);
}
в Player.java
public int getAoeBuffSpecific() {
return (int) calcStat(Stats.AOEBUFF_STRENGTH, 0, this, null);
}
в Stats.java
AOEBUFF_STRENGTH("aoebuffStrength", 0., 5.);
в effects Добавил EffectAurBuff.java
package l2f.gameserver.skills.effects;
import l2f.gameserver.model.Effect;
import l2f.gameserver.skills.EffectType;
import l2f.gameserver.stats.Env;
public class EffectAurBuff extends Effect {
public EffectAurBuff(Env env, EffectTemplate template) {
super(env, template);
}
@Override
protected void onStart() {
onActionTime();
super.onStart();
}
@Override
protected boolean onActionTime() {
Effect efa = _effected.getEffectList().getEffectByType(EffectType.AurBuff);
if ((efa != null) && (efa.getSkill() != getSkill())) {
efa.exit();
}
return true;
}
}
и в EffectType.java
AurBuff(EffectAurBuff.class, null, false),