Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dm 08 add turbo rush cards #308

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

jyotiskaghosh
Copy link
Contributor

@jyotiskaghosh jyotiskaghosh commented Dec 13, 2024

dependent on #307

Also add Sol Galla.

@jyotiskaghosh jyotiskaghosh mentioned this pull request Jan 21, 2025
c.ManaCost = 7
c.ManaRequirement = []string{civ.Fire}

c.Use(fx.Creature, fx.DragonEvolution, fx.Triplebreaker, fx.WheneverThisAttacks(fx.ManaBurnX(2)))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacks -> When(AttackConfirmed, ....) if the my #315 PR will get approved first

fx.Creature,
fx.When(fx.TurboRushCondition, func(card *match.Card, ctx *match.Context) { turboRush = true }),
fx.When(fx.EndOfMyTurn, func(card *match.Card, ctx *match.Context) { turboRush = false }),
fx.When(func(c *match.Card, ctx *match.Context) bool { return turboRush }, fx.WheneverThisAttacks(fx.OpponentDiscardsHand)),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacks -> When(AttackConfirmed, ....) if the my #315 PR will get approved first

fx.When(fx.TurboRushCondition, func(card *match.Card, ctx *match.Context) { turboRush = true }),
fx.When(fx.EndOfMyTurn, func(card *match.Card, ctx *match.Context) { turboRush = false }),
fx.When(func(c *match.Card, ctx *match.Context) bool { return turboRush },
fx.When(fx.WheneverThisAttacksAndIsntBlocked, fx.DestroyOpponentCreature(true, match.DestroyedByMiscAbility))),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacks -> When(AttackConfirmed, ....) if the my #315 PR will get approved first

fx.Creature,
fx.When(fx.TurboRushCondition, func(card *match.Card, ctx *match.Context) { turboRush = true }),
fx.When(fx.EndOfMyTurn, func(card *match.Card, ctx *match.Context) { turboRush = false }),
fx.When(func(c *match.Card, ctx *match.Context) bool { return turboRush }, fx.WheneverThisAttacks(fx.DestroyOpCreatureXPowerOrLess(4000, match.DestroyedByMiscAbility))),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacks -> When(AttackConfirmed, ....) if the my #315 PR will get approved first

fx.Creature,
fx.When(fx.TurboRushCondition, func(card *match.Card, ctx *match.Context) { turboRush = true }),
fx.When(fx.EndOfMyTurn, func(card *match.Card, ctx *match.Context) { turboRush = false }),
fx.When(func(c *match.Card, ctx *match.Context) bool { return turboRush }, fx.WheneverThisAttacks(fx.ShowXShields(2))),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacks -> When(AttackConfirmed, ....) if the my #315 PR will get approved first

fx.Creature,
fx.When(fx.TurboRushCondition, func(card *match.Card, ctx *match.Context) { turboRush = true }),
fx.When(fx.EndOfMyTurn, func(card *match.Card, ctx *match.Context) { turboRush = false }),
fx.When(func(c *match.Card, ctx *match.Context) bool { return turboRush }, fx.WheneverThisAttacks(fx.SearchDeckTakeXCards(1))),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacks -> When(AttackConfirmed, ....) if the my #315 PR will get approved first

fx.When(fx.TurboRushCondition, func(card *match.Card, ctx *match.Context) { turboRush = true }),
fx.When(fx.EndOfMyTurn, func(card *match.Card, ctx *match.Context) { turboRush = false }),
fx.When(func(c *match.Card, ctx *match.Context) bool { return turboRush },
fx.When(fx.WheneverThisAttacksAndIsntBlocked, func(card *match.Card, ctx *match.Context) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacksAndIsntBlocked -> When(Battle,...) + block check if the my #315 PR will get approved first

c.ManaCost = 6
c.ManaRequirement = []string{civ.Darkness}

c.Use(fx.Creature, fx.Doublebreaker, fx.WheneverThisAttacks(func(card *match.Card, ctx *match.Context) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WheneverThisAttacks -> When(AttackConfirmed, ....) if the my #315 PR will get approved first

@@ -764,3 +790,15 @@ func Blocked(card *match.Card, ctx *match.Context) bool {
}
return false
}

func WheneverThisAttacksAndIsntBlocked(card *match.Card, ctx *match.Context) bool {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually ok implemented, just the name is confusing as it starts with "WheneverThisAttacks"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants