Skip to content

Commit

Permalink
also don't reactivate skeleaxe if skeleaxe poisoned
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Nov 2, 2024
1 parent f4b66e8 commit d220d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rs/src/skill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1855,7 +1855,7 @@ impl Skill {
Skill::bonesharpen => {
ctx.setSkill(t, Event::Cast, &[Skill::reinforce]);
ctx.set(t, Stat::cast, 0);
if card::IsOf(ctx.get(t, Stat::card), card::Skeleton) {
if ctx.get(c, Stat::poison) <= 0 && card::IsOf(ctx.get(t, Stat::card), card::Skeleton) {
ctx.set(c, Stat::casts, 1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/rs/src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl<'a> SkillThing<'a> {
}
Skill::bloodmoon => Cow::from("Aquatic creatures gain \"Gain 1:8 when it attacks.\"\nGolems gain \"Damage dealt by this card also reduces the defender's maxHP.\"\nNocturnal creatures gain \"Heal yourself equal to the damage dealt by this card.\""),
Skill::bolsterintodeck => Cow::from("Add 3 copies of target creature on top of your deck"),
Skill::bonesharpen => Cow::from("Replace your own target creature's skills with \"0: Combine with target creature, giving strength, HP, & poison counters\"\nIf target is skeleton, reactivated"),
Skill::bonesharpen => Cow::from("Replace your own target creature's skills with \"0: Combine with target creature, giving strength, HP, & poison counters\"\nIf not poisoned & target is skeleton, reactivated"),
Skill::boneyard => {
Cow::from(format!("Whenever a creature which isn't a Skeleton dies, summon a {} Skeleton", if self.upped() { "2|2" } else { "1|1" }))
}
Expand Down

0 comments on commit d220d37

Please sign in to comment.