public override Task Call(Card caller, GameHandler gameHandler, ulong curPlayer, ulong enemy, ExtraEffectInfo extraInf) { var mechathun = gameHandler.players[curPlayer].shop.At(Mechathun.FindInShop(gameHandler, curPlayer)); mechathun.creatureData.attack += 20; mechathun.creatureData.health += 20; return(Task.CompletedTask); }
public override Task Call(Card caller, GameHandler gameHandler, ulong curPlayer, ulong enemy, ExtraEffectInfo extraInf) { var mechathun = gameHandler.players[curPlayer].shop.At(Mechathun.FindInShop(gameHandler, curPlayer)); gameHandler.players[curPlayer].creatureData.attack -= mechathun.creatureData.staticKeywords[StaticKeyword.Freeze]; gameHandler.players[curPlayer].creatureData.health -= mechathun.creatureData.staticKeywords[StaticKeyword.Freeze]; return(Task.CompletedTask); }
public override Task Call(Card caller, GameHandler gameHandler, ulong curPlayer, ulong enemy, ExtraEffectInfo extraInf) { var mechathun = gameHandler.players[curPlayer].shop.At(Mechathun.FindInShop(gameHandler, curPlayer)); if (mechathun.creatureData.staticKeywords[StaticKeyword.Freeze] <= 5) { gameHandler.players[curPlayer].creatureData.staticKeywords[StaticKeyword.Shields] += 24; } return(Task.CompletedTask); }
public override Task Call(Card caller, GameHandler gameHandler, ulong curPlayer, ulong enemy, ExtraEffectInfo extraInf) { int index = Mechathun.FindInShop(gameHandler, curPlayer); if (index == -1) { Mechathun.AddMechaThun(gameHandler, curPlayer); } return(Task.CompletedTask); }