Monday, July 13, 2009

Arena Programming


Lately I've been working on the arena programming. The arena is where two clans faces off to the last man standing. I've finished all skill functions and all functions that fills the arena DB and prepares the game. Now I can sim the top of the first round without any problems. The top is where the heroes are placed in order after an initiative roll and then chooses a skill/spell depending on what their user has set for percentages. The skill gets executed and then I move on to the next in line.


Next up is to finish where they attack eachother with their normal attacks. I have had some problems doing all this, but it all turned out well in the end. Here is a basic output from the top of a round and that is when they have used their skills, not their basic attacks. Remember, the text is not how it suppose to be. I'll work more on this later of course.

Varawen [Shadow Watch] casts scorched earth trying to damage all around him. Faragan takes 3 points of damage. Throm resists the spell. Urkk takes 3 points of damage. Maliya takes 3 points of damage. Caramyr resists the spell.

Aramir [Shadow Watch] casts prayer of protection on Dhrom.

Throm [Bloodlust] uses taunt and tries to take over agro. Akkmar , Izha now attacks Throm [Bloodlust].

Urkk [Bloodlust] goes berserk!

Maliya [Bloodlust] casts groupheal. Faragan gets healed for 1. Urkk gets healed for 1. Maliya gets healed for 1.

Izha [Shadow Watch] casts groupheal.

Dhrom [Shadow Watch] uses taunt and tries to take over agro. Throm , Maliya now attacks Dhrom [Shadow Watch].´

Akkmar [Shadow Watch] uses the ability dodge.

Caramyr [Bloodlust] casts touch of divine to heal the whole group. Faragan gets healed for 2. Urkk gets healed for 2. Maliya gets healed for 2.

Faragan [Bloodlust] casts divine aura on whole group.

No comments:

Post a Comment