don't steal from sentinal on scourge card draw
This commit is contained in:
parent
e8ea424a5e
commit
e9ea79aec7
5
README
5
README
@ -1,5 +0,0 @@
|
|||||||
# Tomecraft Engine
|
|
||||||
|
|
||||||
This repo contains the core rules engine for Tomecraft.
|
|
||||||
|
|
||||||
This combined with tome_lib should let you write up the game engine for either local use or for use in a server.
|
|
@ -144,7 +144,7 @@ func OracleEffect(c *Card, g *Game) {
|
|||||||
if c.Owner == SentinalID {
|
if c.Owner == SentinalID {
|
||||||
g.CardBuffer = DeckFromCards(g.SentinalDeck.Scry(1))
|
g.CardBuffer = DeckFromCards(g.SentinalDeck.Scry(1))
|
||||||
} else if c.Owner == ScourgeID {
|
} else if c.Owner == ScourgeID {
|
||||||
g.CardBuffer = DeckFromCards(g.SentinalDeck.Scry(1))
|
g.CardBuffer = DeckFromCards(g.ScourgeDeck.Scry(1))
|
||||||
} else {
|
} else {
|
||||||
log.Println("card draw effect was played but with no owner?")
|
log.Println("card draw effect was played but with no owner?")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user