sbuller / divided-posterity

An online multiplayer browser based bonanza.
4 stars 0 forks source link

Combat message point of view #24

Closed frazazel closed 15 years ago

frazazel commented 15 years ago

Templates must be used more extensively to allow messages to be viewed from multiple points of view. (eg. "You strike him a glancing blow." vs. "She strikes him a glancing blow." vs. "They strike you a glancing blow.")

Corollary: Combat messages need not be specific in who does the action. (ie. no more "you hit" action, rather "attack hits")

frazazel commented 15 years ago

Update: new |pronoun and |conj filters work. All that remains is to intelligently set who has pov (point of view) as stuff is rendered.

frazazel commented 15 years ago

Done. Point of view is now passed to the transmogrify function in the form of a combatant. Each Hero in the battle gets eir own combat message, with point of view where appropriate.