七界遗物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.hero.HeroAttributeEnum;
|
||||
import com.ljsd.jieling.logic.hero.HeroLogic;
|
||||
import com.ljsd.jieling.tools.Utils;
|
||||
import com.ljsd.jieling.util.FightDataUtil;
|
||||
import com.ljsd.jieling.util.MonsterUtil;
|
||||
import config.*;
|
||||
|
@ -169,7 +170,9 @@ public class SevenWorldFightHandler implements IFightEventProcesor {
|
|||
if (positions[2] == 0 || positions[2] == scHero.getProfession()){
|
||||
// 角色位置验证
|
||||
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 buff;
|
||||
private int[] buff;
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
@ -54,7 +54,7 @@ public class SQijieHolyConfig implements BaseConfig {
|
|||
return position;
|
||||
}
|
||||
|
||||
public int getBuff() {
|
||||
public int[] getBuff() {
|
||||
return buff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue