Skip to content

Commit

Permalink
Merge pull request #276 from DanieloV/add-RondobilTheExplorer-dm07
Browse files Browse the repository at this point in the history
Add Rondobil the explorer dm07
  • Loading branch information
sindreslungaard authored Oct 5, 2024
2 parents e091302 + 81b93d2 commit 055c34d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions game/cards/dm07/gladiator.go
Original file line number Diff line number Diff line change
@@ -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)
}
2 changes: 1 addition & 1 deletion game/cards/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 055c34d

Please sign in to comment.