Skip to content

Commit

Permalink
feat: add re_boss_eyi
Browse files Browse the repository at this point in the history
  • Loading branch information
S-N-O-R-L-A-X committed Oct 2, 2024
1 parent aee11e7 commit 0463c63
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,33 @@ export const skill = {
},
},

"re_boss_eyi": {
player: "phaseBegin",
filter: function (event, player) {
return player.hp === player.mapHp;
},
content: () => {
player.addTempSkill("re_boss_eyi_effect");
}
},
"re_boss_eyi_effect": {
onremove: true,
trigger: { player: 'useCard' },
filter: function (event, player) {
return event.card && event.card.name == 'sha';
},
forced: true,
content: function () {
trigger.directHit.addArray(game.players);
},
ai: {
directHit_ai: true,
skillTagFilter: function (player, tag, arg) {
return arg.card.name == 'sha';
},
},
},

"re_boss_xuzhang": {
trigger: {
source: "damageSource",
Expand Down

0 comments on commit 0463c63

Please sign in to comment.