I’m gonna pm whoever helps me, im not going to put it here.
Does anyone know how to properly use the “summon” ability? I can’t seem to use it right. My mana just goes up and up towards endgame.
Just a theory but maybe you are summoning stuff but your farms are producing it back real fast
Is it worth it placing two ice towers across from each other or should I put only one?
I don’t think that is the case because my mana isn’t going down and my score is not increasing.
I personally don’t do that. I do every other tile (ex: D, E, H). I will never have one next to the other.
I’ve seen a lot of people doing the same thing as you, so I think your strategy is a good strategy.
Yeah, just got up to #3 on the board with it. Weird because I only lose to #2 (malpsy) in reality, but it still gives JOKER the win when I play him. I have the same health, more mana, and more score than him at the end though.
Your recommendation worked :
Glad it worked! If you need anything else let me know. I’m also available on Discord often if u wanna talk or anything like that.
Congrats! (20 chars)
And by the way you can use another account to test your code, so that your score does not fall when you try different strategies.
Why my tower wont level up:
for i in range(12):
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("farm", "a")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("farm", "b")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("farm", "c")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("ice", "d")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("farm", "e")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("farm", "f")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("farm", "g")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("farm", "h")
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.sell("c")
for i in range(13):
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 15:
hero.ability("shockwave")
hero.build("ice", "c")
hero.sell("a")
for i in range(10):
hero.build("archer", "a")
hero.sell("b")
for i in range(10):
hero.build("archer", "b")
for i in range(5):
e = hero.findNearestEnemy()
if e and e.distanceTo(hero) < 20:
hero.ability("shockwave")
hero.build("archer", "a")
hero.build("archer", "b")
hero.build("ice", "c")
hero.build("farm", "d")
hero.build("farm", "e")
hero.build("farm", "f")
hero.build("farm", "g")
hero.build("farm", "h")
hero.sell("e")
for i in range(10):
hero.build("ice", "e")
hero.sell("f")
for i in range(10):
hero.build("ice", "f")
hero.sell("g")
for i in range(10):
hero.build("ice", "g")
hero.sell("h")
for i in range(10):
hero.build("ice", "h")
while True:
hero.build("archer", "a")
hero.build("archer", "b")
hero.build("ice", "c")
hero.build("ice", "d")
hero.build("ice", "e")
hero.build("ice", "f")
hero.build("ice", "g")
hero.build("ice", "h")
# hero.sell("d")
# hero.sell("f")
# hero.sell("b")
# hero.sell("e")
# hero.sell("g")
# while True:
# e = hero.findNearestEnemy()
# if e and e.distanceTo(hero) < 20:
# hero.ability("shockwave")
# hero.build("archer", "a")
# hero.build("archer", "b")
# hero.build("ice", "c")
# hero.build("cannon", "d")
# hero.build("farm", "e")
# hero.build("ice", "f")
# hero.build("ice", "g")
# hero.build("farm", "h")
Not an expert on for loops, but what I do is use something called cycles.
For instance,
while cycles < 8:
hero.build("farm", "a")
(insert other towers/functions below)
cycles += 1
Just do something for different types of cycles. Much easier to manage in the long run. I personally don’t have a definition for what a cycle is either as it changes often, I just use a variable
Turns out for this instance, the only way I’ve found to use hero.summon is to use the “hero.mana”
for the amount to summon. Numbers do not work for me
I mainly just use if hero.time and other if statements, I keep my code simple and strategic.
That’s always a good thing to do, but you will have to play very defensive because top players including myself will always be scanning for weak defense and punishing those who use it.
Can you tell me more about the cycles strategy and how it works please?