Ok. Thank you
But his coco profile is still sus
uhhhh is it hero.properties or hero properties same with monster
This Code wont work!
def championAct(data):
champion = data.champion;
while True:
en = champion.findNearestEnemy()
e = hero.findNearestEnemy()
if e and e.pos.x < 134:
if e.pos.x > 100:
champion.moveTo("g")
champion.moveTo("h")
if e and e.pos.x < 100:
if e.pos.x > 70:
champion.moveTo("f")
champion.moveTo("e")
if e and e.pos.x < 70:
if e.pos.x > 40:
champion.moveTo("c")
champion.moveTo("d")
if e and e.pos.x < 40:
champion.moveTo("a")
champion.moveTo("b")
if en:
champion.attack(en)
if champion.isReady("special"):
champion.special()
Same-problem here. ![]()
champion.moveTo doesn’t work right. GAAH!
1 Like
No problems for me with this code. Any errors or what you mean doesn’t work?
What you mean doesn’t work? Code examples or some errors. Nothing was changed in last week from the logic side
Hi @mercurym! Do you mean that the champion only move to h, e, d, b? I will create 2 champion functions to individually control the ranger and the mage if this is the case.
Just a warning – this topic for the feedback and bugs. If you have problems with your code and need advice, then please welcome to other topics. Next time going to suspend.
1 Like