diff --git a/game/cards/dm07/gladiator.go b/game/cards/dm07/gladiator.go new file mode 100644 index 00000000..6c7f94b0 --- /dev/null +++ b/game/cards/dm07/gladiator.go @@ -0,0 +1,32 @@ +package dm07 + +import ( + "duel-masters/game/civ" + "duel-masters/game/family" + "duel-masters/game/fx" + "duel-masters/game/match" + "fmt" +) + +func RondobilTheExplorer(c *match.Card) { + + c.Name = "Rondobil, the Explorer" + c.Power = 5000 + c.Civ = civ.Light + c.Family = []string{family.Gladiator} + c.ManaCost = 6 + c.ManaRequirement = []string{civ.Light} + c.TapAbility = func(card *match.Card, ctx *match.Context) { + fx.Select(card.Player, ctx.Match, card.Player, match.BATTLEZONE, + "Select creature to add to shields", 1, 1, false, + ).Map(func(x *match.Card) { + card.Player.MoveCard(x.ID, match.BATTLEZONE, match.SHIELDZONE, card.ID) + ctx.Match.ReportActionInChat( + card.Player, + fmt.Sprintf("Rondobil, the Explorer effect: %s was added to shieldzone", c.Name), + ) + }) + } + + c.Use(fx.Creature, fx.TapAbility) +} diff --git a/game/cards/repository.go b/game/cards/repository.go index f3126df2..a243d6ad 100644 --- a/game/cards/repository.go +++ b/game/cards/repository.go @@ -541,7 +541,7 @@ var DM07 = map[string]match.CardConstructor{ "4507bcbd-17f6-4035-9da5-1a6d0b41601e": nil, "ae65d4d1-78aa-4711-ba49-eafd98b358e9": dm07.RodiGaleNightGuardian, "7148214f-dc9c-4fb4-835c-cd6064e247df": nil, - "e5bb03ac-0f09-44de-8fbe-b0c7f2748e84": nil, + "e5bb03ac-0f09-44de-8fbe-b0c7f2748e84": dm07.RondobilTheExplorer, "0d273a22-1cf9-4f99-8321-e2282e855b57": dm07.AquaAgent, "7e4cdeee-0b47-4260-8ba8-3f1cf0b9ab36": nil, "0735c257-6554-4aeb-9aca-f3bed4022752": nil,