Page 1 of 1

Counterattacking enemies!

Posted: Fri Oct 01, 2010 4:51 am
by Bob the Hamster
I just uploaded early <a href="http://hamsterrepublic.com/ohrrpgce/nightly/">nightly builds</a> where enemies can counterattack!

Enemies can counterattack specific elementals, or counterattack damage
to specific stats.

Only one counterattack can be triggered by a single attack, so if the
triggering attack has multiple elementals, only the first match matters
(but I will probably make a bitset to override that and allow multiple
counterattacks in special cases)

Right now counterattacks are all-or-nothing. I haven't decided how to
make them more conditional, or only happen a certain percent of the
time, but you can currently already fake all that with chains.

Counterattacks are always non-blocking.

Editing counterattacks is found in the enemy editor under "Attacks..."

Heroes are going to get some counterattacking support too, but I haven't decided yet how it will work.

Counterattacking is pretty basic right now, so I am open to ways to make it cooler.

Posted: Fri Oct 01, 2010 5:33 am
by Mogri
Wow, you are on a roll. Does this have anything to do with the HotOHR contest?

Posted: Fri Oct 01, 2010 6:11 am
by Bob the Hamster
Mogri wrote:Wow, you are on a roll. Does this have anything to do with the HotOHR contest?
yeah, a lot of the feature requests are battle stuff that I couldn't do without first cleaning up the battle code.

Posted: Fri Oct 01, 2010 7:58 pm
by Newbie Newtype
The Q branch continues to create the latest in innovative technology.

Posted: Fri Oct 01, 2010 7:59 pm
by JSH357
Wow! No more dumb spawn-chaining for random effects!

Posted: Sat Oct 02, 2010 9:24 am
by Baconlabs
Image