Tuesday, June 16, 2009

Prioritize

We heard a lot of people saying it is hard to select the right unit in a group. Throwing a heal on the wrong unit can be very uncool and could well be a losing move in your strategy. Of course we found this problem way early in the development of the game :)

That's the reason why we implemented a priority system that will choose the right guy from a group when you throw a spell on a bunch of fighters. It's quite subtle and it is time to explain this a bit more! When you select a spell and then throw it on a group of units, every spell will go through a set of rules to decide which unit was intended by the player. It will always choose the best unit from a strategic point of view. This is done to overcome miss clicks.

Below you can see the decision flow chart of an lightning bolt when it is targeted on multiple units.

“best unit”in this chart means the unit with the highest attack priority number. Every unit has a number giving it a priority. For instance the priority of the swordsman is lower than the priority of the rocketeer, the opposing team will hit the rocketeer instead of the swordsman if they are both in range. Although their amount of remaining hitpoints is also counted for, so units will try to kill the most efficient enemy first.

11 comments:

Pim said...

Good thinking guys ! miss clicking is one of the worst things that can happen when youre in a big fight :O

Ps: i own you guys im first muhahahahahaha :O!

Anonymous said...

too confusing

Jeff said...

Haha, I thought something like this was going on... sometimes my friends would complain and I'd be like "You know what, I think something is going on."

Awesome post, thanks for the picture and explanation. :)

RvDv said...

Is there an error in this picture?

When i hit a group with a zen/necro master in it, and i can kill one instantaniously it will not kill this one? But instead it will hit the one with the most hitpoints??

I think the two choices should be swapped or V and X should be swapped in this choice

Gr RvDv

Fabian said...

"When i hit a group with a zen/necro master in it, and i can kill one instantaniously it will not kill this one? But instead it will hit the one with the most hitpoints??"

It will hit the necro/zen master which will be killed instantly. But if there is a choice between two instant killable necro/zen master than the necro/zen master with the most hp will be hit, and thus have the most effect.

example:
If I can kill a zen master with 60 hitpoints or a zen master with 10 hitpoints and my lightning does 70 damage then I want to hit the zen master with 60 hp.

RvDv said...

Sorry your right, the picture is correct nice...

Gr RvDv

Anonymous said...

ive got the magic in me now!

Mario64a said...

Anonymous said...
ive got the magic in me now!


Hallalua :P

dead said...

this website is dead

Mario64a said...

This site is not dead, just check the forum, it's very alife there.

bookmarking said...

Bleach Sword Says:

Your article is amazing I got an effective knowledge from you article. I want to read more about your other articles on Swords