![]() ![]() Mage. Maybe MageSpellsList and ClericSpellsList should be a subclass of Spell ? My goal is to use castSpell("spell name here") and let castSpell do the job, by using a good OOD, rather than writing a specific method for each spell (and without duplicate code between mage and Cleric) Maybe using a "SpellCaster" interface with some methods like castSpell and showSpellbook, so Mage and Cleric will implement the interface?. If a target knows youre casting this spell, it can fail the saving throw voluntarily if. You can also check out our special page on Moon Magic. See Status Effects for all status buildups and other effects applied to your character. This page includes a list of all Weapons, Shields, and Armor which posses special properties that affect your characters Stats or combat performance. ![]() The target must make a Wisdom saving throw, which is modified by how well you know the target and the sort of physical connection you have to it. List of over 16,000 real magic spells, from love spells to health spells. Equipment with Special Effects in Elden Ring. What would be a good object oriented design for dealing with spells (the solution shouldn't include Effects class, I can deal with that later) ? You can see and hear a particular creature you choose that is on the same plane of existence as you. and I also have Effects class(casting a spell should use it). MageSpellsList and ClericSpellsList are another classes and both have lists of class Spell. As status, but you can also cast a limited selection of spells through the link, as if you were touching the target. I also have a Spell class, with some info (like spell name, mana cost etc). Mage and cleric(as for now, cleric doesn't have mana, but it might change) are both spell-casters. Character has some subclasses (like mage, fighter, rogue, cleric). I have Character, which is an abstract class. ![]() Now I work on spells, and I need some OOD guidance. I work on my first Java project, which is a basic roleplaying game. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |