fix: 光环

This commit is contained in:
unanmed 2024-03-09 22:20:31 +08:00
parent 7c645cccee
commit fe7fa332e2
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
{
"greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[27]},
"redSlime": {"name":"红头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[16,18],"value":10},
"greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[25],"hpBuff":100,"atkBuff":100,"defBuff":100,"haloSquare":true,"haloRange":2},
"redSlime": {"name":"红头怪","hp":1000,"atk":200,"def":200,"money":0,"exp":0,"point":0,"special":[16,18],"value":10},
"blackSlime": {"name":"青头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"slimelord": {"name":"怪王","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":[1,9]},
"bat": {"name":"小蝙蝠","hp":100,"atk":120,"def":0,"money":2,"exp":0,"point":0,"special":[1]},

View File

@ -29,7 +29,7 @@ main.floors.sample1=
[151, 0,151,151, 0, 87, 0,152,152,152, 85,153,153],
[ 0, 0, 0,151, 0, 0, 0,152,152,221, 0,221,153],
[ 0, 0, 0,151, 0, 0, 0,121, 0, 0, 0, 0,153],
[151, 0,151,151, 0,153,153,153,153,153,153,153,153],
[151, 0,151,151,202,153,153,153,153,153,153,153,153],
[ 0, 0, 0, 0,201, 0, 0,164, 0, 0,163, 0, 0],
[ 1, 1, 1, 1, 0, 20, 0, 0, 0,162, 0,161, 0],
[ 1, 0,123, 1, 0, 20,124, 0,121, 0,122, 0,126],

View File

@ -1112,9 +1112,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
// 施加光环
col.applyHalo(type, range, this, (e, enemy) => {
e.atkBuff += enemy.atkBuff ?? 0;
e.defBuff += enemy.defBuff ?? 0;
e.hpBuff += enemy.hpBuff ?? 0;
e.atkBuff += enemy.enemy.atkBuff ?? 0;
e.defBuff += enemy.enemy.defBuff ?? 0;
e.hpBuff += enemy.enemy.hpBuff ?? 0;
});
// 向已施加的光环列表中添加
this.providedHalo.add(25);