http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=998

--- Comment #1 from Bob the Hamster <[email protected]> 2014-07-07 
11:00:54 PDT ---
So I was thinking about how to fix this one.

My first instinct was to implement a battle_evalherotags() sub that just checks
the alive/dead tag based on the temporary in-battle stats

It would be fairly simple, and it would work...

But as I thought more about it, I think that approach would cause problems in
the future.

Eventually, I do plan to make it so that battles can be non-blocking of
scripts, just like how menus gained the ability to be non-blocking of scripts.

This would pave the way for battlescripting, but it also means that things
could be happening on the map at the same time as battle.

So perhaps a better plan would be to update the hero's out-of-battle HP each
time an attack completes, rather than just once at the end of the battle.

This should not result in any change to existing games, but it makes it very
easy to run evalherotags() inside battle.

In general, synchronization of heroes in-battle and out-of-battle is going to
be a very important part of the transition to supporting battlescripting, so I
want to solve this bug in a way that works in that direction.

-- 
Configure bugmail: 
http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to