C# Text RPG Project: Part 3

Okay, so no complete battle system yet… but I have some very nice screenshots to show!

Here is the complete class diagram thus far.

As you can see I have added in StatusEffects, before this all Characters had Boolean flags for things like Poisoned, Frozen, Stunned, etc. However now all Characters have 3 StatusEffects (which are all null by default) that can be assigned to specific buffs or debuffs when the time calls for it. StatusEffects also manage the duration (turns in battle mode) of the effect.

Both Spellbook and Inventory are implemented as Lists as well as just about all the methods they will need. Below is a test of the inventory, where the player is given 4 items and they are shown in the side inventory (as well as in more detail when the player inputs /inv in PlayMode), from there they can also select a specific item to view all it’s details and use/equip it if it has that option.

3 thoughts on “C# Text RPG Project: Part 3

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>