Advertisement
omgfrost

ZadaForDHAndInara

Jul 29th, 2021
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. //ZADA CORRECT SYNTAX
  2. //if (board.MinionEnemy.Count !=0 && board.MinionEnemy.Count <=2 && board.MaxMana >= 5
  3. // && (board.HasCardOnBoard(Card.Cards.DMF_708)//Inara Stormcrash DMF_708
  4. // || board.HasCardInHand(Card.Cards.DMF_708)))
  5. //{
  6. // //do something
  7. //}
  8. if (board.MinionEnemy.Count !=0 && board.MinionEnemy.Count <=2 && board.MaxMana >= 5
  9. && (board.HasCardOnBoard(Card.Cards.CORE_EX1_567)//Doomhammer CORE_EX1_567
  10. || board.HasCardInHand(Card.Cards.CORE_EX1_567)))
  11.  
  12. {
  13. p = new ProfileParameters(BaseProfile.Face) { DiscoverSimulationValueThresholdPercent = -10 };
  14. // p.GlobalDefenseModifier=0;//Ignoring and going face with weapon
  15. // p.GlobalWeaponsAttackModifier=90;//Doomhammer CORE_EX1_567
  16. Bot.Log("Going face with DH if enemy minions <=2 but not 0");
  17. }
  18. //correct syntax 2 && ifs && and ||
  19. if (board.MinionEnemy.Count !=0 && board.MinionEnemy.Count <=2 && board.MaxMana >= 5
  20. && (board.HasCardOnBoard(Card.Cards.DMF_708)//Inara Stormcrash DMF_708
  21. || board.HasCardInHand(Card.Cards.DMF_708)))//Inara Stormcrash DMF_708
  22.  
  23. {
  24. p = new ProfileParameters(BaseProfile.Face) { DiscoverSimulationValueThresholdPercent = -10 };
  25. // p.GlobalDefenseModifier=0;//Ignoring and going face with weapon
  26. // p.GlobalWeaponsAttackModifier=90;//Whack-A-Gnoll Hammer DMF_705
  27. Bot.Log("Extreme SMOrc if Inara is on our board and Enemy Minions <=2 but not 0");
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement