more util
This commit is contained in:
parent
1606a2953b
commit
596291bbf8
@ -141,12 +141,10 @@ func OracleEffect(c *Card, g *Game) {
|
||||
case 1:
|
||||
c.Power = c.Power + 1
|
||||
case 2:
|
||||
if c.Owner == SentinalID {
|
||||
g.CardBuffer = DeckFromCards(g.SentinalDeck.Scry(1))
|
||||
} else if c.Owner == ScourgeID {
|
||||
g.CardBuffer = DeckFromCards(g.ScourgeDeck.Scry(1))
|
||||
} else {
|
||||
if c.Owner != SentinalID || c.Owner != ScourgeID {
|
||||
log.Println("card draw effect was played but with no owner?")
|
||||
} else {
|
||||
g.CardBuffer = DeckFromCards(g.GetDeck(c.Owner).Scry(1))
|
||||
}
|
||||
g.CanDraw = true
|
||||
g.HasDrawn = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user