currentSoul = maxSoul = 0;
currentDiscipilne.SetPoint(0, 0, 0, 0, 0);
- savings.armor = 10;
- savings.evasion = 10;
- savings.volition = 10;
+ savings.Set(10, 10, 10);
for(statID = 0; statID < CS_MAX; statID++)
{
AC Creature::GetArmorSaving(void)
{
- return savings.armor;
+ return savings.GetArmor();
}
EV Creature::GetEvasionSaving(void)
{
- return savings.evasion;
+ return savings.GetEvasion();
}
VO Creature::GetVolitionSaving(void)
{
- return savings.volition;
+ return savings.GetVolition();
}
SOUL Creature::GetCurrentSoul(void)
*/
class SavingTable
{
-public:
+private:
BASE_STATUS armor; /*!< \91\95\8db\83Z\81[\83u\92l */
BASE_STATUS evasion; /*!< \89ñ\94ð\83Z\81[\83u\92l */
BASE_STATUS volition; /*!< \88Ó\8ev\83Z\81[\83u\92l */
+public:
+
/*!
* @brief SavingTable\83N\83\89\83X\82Ì\83R\83\93\83X\83g\83\89\83N\83^
* @param x X\8dÀ\95W