Created
May 2, 2012 09:45
-
-
Save kana/2575590 to your computer and use it in GitHub Desktop.
yayahatokura実装妄想
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
card do | |
name '農村' | |
cost 1 | |
type :land | |
subtype nil | |
link 1 | |
text <<-'END' | |
1コイン。継承点-2。 | |
END | |
effect do | |
coin 1 | |
succession -2 | |
end | |
end | |
card do | |
name '錬金術師' | |
cost 5 | |
type :action | |
subtype nil | |
link 1 | |
text <<-'END' | |
あなたはカードを2枚引く。 | |
END | |
effect do | |
draw 2 | |
end | |
end | |
card do | |
name '交易船' | |
cost 3 | |
type :action | |
subtype :merchant | |
link 0 | |
text <<-'END' | |
あなたは、次の効果の中から1つを選ぶ。 | |
『あなたはカードを2枚引く。』 | |
『2コイン』 | |
END | |
effect do | |
choose 1, [:draw, :coin], do |mode| | |
if mode == :draw | |
draw 2 | |
end | |
if mode == :draw | |
coin 2 | |
end | |
end | |
end | |
end | |
card do | |
name '願いの泉' | |
cost 2 | |
type :action | |
subtype nil | |
link 1 | |
text <<-'END' | |
あなたの手札から好きな枚数のカードを捨てる。その後、そうして捨てたカードと同じ枚数のカードを引く。 | |
END | |
effect do | |
them = choose :any, :hand | |
discard them | |
draw them.count | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment