Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Jan 4, 2025
1 parent c3600d3 commit 751ec29
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions packages/data/src/characters/dendro/kinich.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,18 @@ export const GrappleLink = status(117091)
})
.on("reaction", (c, e) => e.reactionInfo.type === Reaction.Burning &&
e.caller.definition.type === "character" &&
c.of<"character">(e.caller).isMine() &&
e.caller.id !== c.self.master().id)
.do((c) => {
const nightsoul = c.self.master().hasStatus(NightsoulsBlessing);
if (nightsoul) {
c.addVariableWithMax("nightsoul", 1, 2, nightsoul);
if (c.of(nightsoul).getVariable("nightsoul") === 2) {
c.self.master().addStatus(GrapplePrepare);
}
.listenToAll()
.do((c) => {
const nightsoul = c.self.master().hasStatus(NightsoulsBlessing);
if (nightsoul) {
c.addVariableWithMax("nightsoul", 1, 2, nightsoul);
if (c.of(nightsoul).getVariable("nightsoul") === 2) {
c.self.master().addStatus(GrapplePrepare);
}
})
}
})
.done();

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/data/src/characters/pyro/arlecchino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const InvitationToABeheading = skill(13141)
const bond = c.$(`status with definition id ${BondOfLife} at opp active`);
if (bond) {
increasedValue = Math.min(4, bond.getVariable("usage"));
bond.addVariable("usage", -increasedValue);
c.consumeUsage(increasedValue, bond.state);
}
c.damage(DamageType.Physical, 2 + increasedValue);
})
Expand Down

0 comments on commit 751ec29

Please sign in to comment.