Hello, I need help on Clash of Clones. I have tried many different heroes and equipment and different codes. But for some reason, my hero is not attacking the enemy hero. Please help. This is my code
while True:
enemy = hero.findNearestEnemy()
flag = hero.findFlag("black")
if enemy:
if enemy.type != "sand-yak":
hero.attack(enemy)
My hero: Naria Of The Leaf
Equipment: Programmaticon III, Wolf Pup, Thornpick, Twilight Glasses, Sapphire Sense Stone, Tarnished Copper B…, Advanced Flags, Trap Belt, Gilt Wristwatch, Emperor’s Gloves,
Precision Rifle, Riveted Dragonscale Helment, Riveted Dragonscale Armor, Knightfire Charge, and the Boots of Leaping.
If anyone know what equipment/ hero I should use, please tell me. And if anyone could help me on my code, I would be ever so grateful.