mlp-server-tools/rulebot/engine/card_test.go

38 lines
844 B
Go
Raw Normal View History

2019-07-01 10:55:38 +00:00
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,
},
},
},
},
},
},
}