七界遗物buf修改
parent
a10e1988ec
commit
f69e502d39
|
@ -17,6 +17,7 @@ import com.ljsd.jieling.logic.help.HelpHero;
|
||||||
import com.ljsd.jieling.logic.help.HelpHeroLogic;
|
import com.ljsd.jieling.logic.help.HelpHeroLogic;
|
||||||
import com.ljsd.jieling.logic.hero.HeroAttributeEnum;
|
import com.ljsd.jieling.logic.hero.HeroAttributeEnum;
|
||||||
import com.ljsd.jieling.logic.hero.HeroLogic;
|
import com.ljsd.jieling.logic.hero.HeroLogic;
|
||||||
|
import com.ljsd.jieling.tools.Utils;
|
||||||
import com.ljsd.jieling.util.FightDataUtil;
|
import com.ljsd.jieling.util.FightDataUtil;
|
||||||
import com.ljsd.jieling.util.MonsterUtil;
|
import com.ljsd.jieling.util.MonsterUtil;
|
||||||
import config.*;
|
import config.*;
|
||||||
|
@ -169,7 +170,9 @@ public class SevenWorldFightHandler implements IFightEventProcesor {
|
||||||
if (positions[2] == 0 || positions[2] == scHero.getProfession()){
|
if (positions[2] == 0 || positions[2] == scHero.getProfession()){
|
||||||
// 角色位置验证
|
// 角色位置验证
|
||||||
if (positions[3] == 0 || positions[3] == pos){
|
if (positions[3] == 0 || positions[3] == pos){
|
||||||
list.add(holyConfig.getBuff());
|
for (int buff : holyConfig.getBuff()) {
|
||||||
|
list.add(buff);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class SQijieHolyConfig implements BaseConfig {
|
||||||
|
|
||||||
private int[] position;
|
private int[] position;
|
||||||
|
|
||||||
private int buff;
|
private int[] buff;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
|
@ -54,7 +54,7 @@ public class SQijieHolyConfig implements BaseConfig {
|
||||||
return position;
|
return position;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getBuff() {
|
public int[] getBuff() {
|
||||||
return buff;
|
return buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue