Please accept my patch

For cloudrip siege, raised dead minions attack you flower. All I did as to change the flowers team from neutral to humans.

2 Likes

This topic isn’t necessary. Please don’t spam topics.

4 Likes

Well @milton.jinich, I wouldn’t say this is spam. This sounds like a very good patch. I had found this error very annoying.
However, no-one on this forum (except for Nick, who isn’t here very often) can accept patches. It normally takes a while for them to be accepted, but it does normally happen eventually (if they think it’s a good patch, of course.) So there’s not that much point posting it here.
Thank you very much for the fix though, I hope it does get accepted.
Danny

7 Likes

Thank you so much. 20 chars

1 Like

Sorry, I’ve rejected the patch as it can break a level. Flowers have superteam: humans, so need to dig into raiseDead spell to understand why they attack flowers :thinking:

4 Likes

I always thought that it’s a special complication for Cloudrip Siege, maybe we shouldn’t use raise-dead in the level? :thinking:

1 Like

Yeah. Only problem, I can’t command the friendly warlocks i summon.

You probably shouldn’t either. Its cheating.

How do you summon warlocks? It’s impossible. You can’t command ogres.

He edited a boss star.

Who? (20 characters) It’s unfair to change items!

1 Like

RangerGrant.
2 0characrrs.

He isn’t an admin, he can’t accept a patch where he command warlocks.

You shouldn’t hack, summoning warlocks is impossible. If you changed an item, you can be banned in game. Try completing levels without cheating.

1 Like

dude its only for his own current level besides theres no way that the mods will accept that as some player might try to abuse it and might cause problems with enemy side warlocks

I DID NOT USE HACK! I USED THE THANG EDITOR.

I used thang editor. I already comeplete all free levels. I just use it for brawls. Also, I used thang editor. You can do it too. CodeCombat - Coding games to learn Python and JavaScript

You still shouldn’t cheat.

I mean is it cheating? I mean it is also quite hard to code.

This is my code for my catapults alone.
def blowup():
friends = hero.findFriends()
for friend in friends:
if friend.type == “catapult”:

        catapults = hero.findByType("catapult", hero.findEnemies())
        catapult = friend.findNearest(catapults)
        if catapult and len(catapults) > 0:
            hero.command(friend, "attack",catapult)
        if len(catapults) == 0:
            warlocks  = hero.findByType("warlock", hero.findEnemies())
            warlock = friend.findNearest(warlocks)
            if warlock and len(warlocks) > 0:
                hero.command(friend, "attack", warlock)
            if len(warlocks) == 0:
                witches  = hero.findByType("witch", hero.findEnemies())
                witch = friend.findNearest(witches)
                if witch and len(witches) > 0:
                    hero.command(friend, "attack", witch)
                if len(witches) == 0:
                    chiefs  = hero.findByType("chieftain", hero.findEnemies())
                    chief = friend.findNearest(chiefs)
                if chief and len(chiefs) > 0:
                    hero.command(friend, "attack", chief)
                    witches  = hero.findByType("shaman", hero.findEnemies())
                    witch = friend.findNearest(witches)
                    if witch and len(witches) > 0:
                        hero.command(friend, "attack", witch)
                else:
                    enemies = hero.findEnemies()
                    enemy = friend.findNearest(enemies)
                    if enemy:
                        hero.command(friend, "attack", enemy)