package cfvbaibai.cardfantasy.engine.skill;

import cfvbaibai.cardfantasy.GameUI;
import cfvbaibai.cardfantasy.data.Skill;
import cfvbaibai.cardfantasy.data.SkillType;
import cfvbaibai.cardfantasy.engine.CardInfo;
import cfvbaibai.cardfantasy.engine.EntityInfo;
import cfvbaibai.cardfantasy.engine.SkillResolver;

public class NoEffect {
    public static boolean isSkillBlocked(SkillResolver resolver, Skill cardSkill, Skill attackSkill, EntityInfo attacker, CardInfo defender) {
        if (attackSkill.getType() == SkillType.虚弱 ||
            attackSkill.getType() == SkillType.战争怒吼 ||
            attackSkill.getType() == SkillType.死亡印记 ||
            attackSkill.getType() == SkillType.魔力法阵 ||
            attackSkill.getType() == SkillType.沉默 ||
            attackSkill.getType() == SkillType.大地之盾 ||
            attackSkill.getType() == SkillType.裂伤 ||
            attackSkill.getType() == SkillType.时光倒流 ||
            attackSkill.getType() == SkillType.圣光洗礼 ||
            attackSkill.getType() == SkillType.森林沐浴 ||
            attackSkill.getType() == SkillType.蛮荒威压 ||
            attackSkill.getType() == SkillType.地狱同化) {
            GameUI ui = resolver.getStage().getUI();
            ui.useSkill(defender, attacker, cardSkill, true);
            ui.blockSkill(attacker, defender, cardSkill, attackSkill);
            return true;
        } else {
            return false;
        }
    }
}

@@ -796,24 +796,77 @@
 ype.%E5%A4%A7%E5%9C%B0%E4%B9%8B%E7%9B%BE %7C%7C%0A
+            attackSkill.getType() == SkillType.%E4%B8%80%E9%97%AA %7C%7C%0A
             

Fix issue that 一闪 can make 魔王魔神 faint