00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 #ifdef __cplusplus
00024 
00025 #  ifndef OGS_CCLASSES_PALADIN_H
00026 #    define OGS_CCLASSES_PALADIN_H
00027 
00028 #    include <vector>
00029 
00030 #    include <ogs/core/CClass.h>
00031 #    include <ogs/core/Die.h>
00032 #    include <ogs/core/Experience.h>
00033 #    include <ogs/core/Saves.h>
00034 #    include <ogs/magic/Types.h>
00035 #    include <ogs/cclasses/Namespace.h>
00036 
00037 OGS_BEGIN_CCLASSES_NAMESPACE
00038 
00058 class Paladin: public ogs::core::CClass {
00059   public:
00063     static const ogs::core::Die::Sides HIT_DIE = ogs::core::Die::d10;
00064 
00069     static const ogs::core::Skill::Points SKILL_RATE = 2;
00070 
00071     Paladin (ogs::core::XP::Level xpLevel = 1);
00072 
00073     bool attachObject (ogs::support::Object& object);
00074     bool detachObject ();
00075 
00076     ogs::magic::SpellCounts getSpellsPerDay () const;
00077 
00078   private:
00079     ogs::core::Feats _feats;
00080 
00081     class ogs::core::Creature;
00082     void addProficiency (ogs::core::Creature& creature,
00083                          ogs::core::Feat* featPtr);
00084 
00085     void addProficiencies ();
00086     void removeProficiencies ();
00087     void addDivineGrace ();
00088     void removeDivineGrace ();
00089 };
00090 
00091 OGS_END_CCLASSES_NAMESPACE
00092 
00093 #  endif 
00094 
00095 #endif 
00096