mlp-server-tools/rulebot/engine/card_test.go
Hamcha c85cd0bb8e
All checks were successful
continuous-integration/drone/push Build is passing
Start work on rulebot
2019-07-01 12:55:52 +02:00

37 lines
844 B
Go

package engine_test
import (
"git.fromouter.space/mcg/draft/mlp"
"git.fromouter.space/mcg/mlp-server-tools/rulebot/engine"
)
var cards = map[string]engine.Card{
"pr15": engine.Card{
Info: mlp.Card{
ID: "pr15",
Name: "Rainbow Dash",
Subname: "Weather Leader",
Type: "Friend",
Text: "Main Phase: Exhaust this card to ready another one of your cards.",
},
Activated: []engine.ActivatedAbility{
engine.ActivatedAbility{
Timing: engine.TimeMainPhase,
Ability: engine.Ability{
Requirements: []engine.Effect{
engine.Effect{
Type: engine.EfExhaust,
TargetType: engine.TargetThisCard,
},
},
Effects: []engine.Effect{
engine.Effect{
Type: engine.EfReady,
TargetType: engine.TargetOwnCard,
},
},
},
},
},
},
}