don't steal from sentinal on scourge card draw

This commit is contained in:
stryan 2021-10-07 12:58:08 -04:00
parent e8ea424a5e
commit e9ea79aec7
2 changed files with 1 additions and 6 deletions

5
README
View File

@ -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.

View File

@ -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?")
} }