Logo
Public Member Functions | Public Attributes | Properties | List of all members
Yukar.Common.Rom.Job Class Reference

Database/Occupation More...

Inheritance diagram for Yukar.Common.Rom.Job:
Yukar.Common.Rom.Placeable Yukar.Common.Rom.IDatabaseItem Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk

Public Member Functions

 Job ()
 constructor More...
 
void InitializeStatusParam (GameSettings inGameSettings)
 Initialize status parameters More...
 
override void save (BinaryWriter writer)
 keep More...
 
override void load (BinaryReader reader)
 loading More...
 
Event getSourceEvent (Catalog catalog)
 Unused More...
 
override void ChangeId (Dictionary< Guid, RomItem > inChangeIdDic)
 
List< Common.Rom.NSkill > GetLearnSkillList (Catalog inCatalog, int inLevel)
 Get a list of skills to be memorized at a specified level More...
 
List< Common.Rom.Condition > GetAvailableConditionList (Catalog inCatalog, int inLevel, bool inAll)
 Returns the state (characteristics) of the specified level More...
 
- Public Member Functions inherited from Yukar.Common.Rom.RomItem
string getCategory (string locale=null)
 Get category path More...
 
 RomItem ()
 constructor More...
 
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify, out bool setNotify)
 Get thumbnail image More...
 
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify)
 Get thumbnail image More...
 
System.Drawing.Bitmap getThumbnail ()
 Get thumbnail image More...
 
void invalidateThumbnail ()
 Disable thumbnail images More...
 
void invalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
 Disable thumbnail images More...
 
void forceInvalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
 Force regeneration of thumbnail images More...
 
virtual void save (BinaryWriter writer)
 keep More...
 
virtual void load (BinaryReader reader)
 loading More...
 
virtual void saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID)
 Export the GUID you are using (for tools) More...
 
void saveUsedGUID (BinaryWriter writer)
 Export the GUID you are using (for tools) More...
 
virtual bool initializingAfterLoading ()
 Initialization process after loading More...
 
virtual void reImport ()
 Reimport More...
 
virtual void export (string path)
 export More...
 
virtual void onCatalogCleanup ()
 Catalog release processing More...
 
virtual void onNameChanged ()
 Processing when renaming More...
 
void copyFrom (Common.Rom.RomItem src)
 Copy data from another RomItem More...
 
virtual void CheckRecourceConsistency (Catalog inCatalog)
 Consistency check (for tools) More...
 
virtual void ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic)
 Replace the Id you are using with the corresponding Rom Id More...
 
void ClearId (List< Rom.RomItem > inClearRomItemList)
 Removed rom usage in list More...
 
void Dispose ()
 
void AddUpdatecall (int count)
 Increase/decrease the thumbnail generation pending counter More...
 
void save (BinaryWriter writer)
 keep More...
 
void load (BinaryReader reader)
 loading More...
 

Public Attributes

Guid face
 Unused More...
 
Resource.Icon.Ref icon = new Resource.Icon.Ref()
 icon More...
 
Guid graphic
 Unused More...
 
Guid graphic3d
 Unused More...
 
string description = ""
 explanation More...
 
Guid scriptOnNew
 Unused More...
 
Guid attackEffect
 Unused More...
 
int level = 1
 first level More...
 
int levelGrowthRate = 2
 Growth speed (rate) More...
 
GameData.GrowthParam mpParam = new GameData.GrowthParam()
 Growth parameters (maximum MP) More...
 
GameData.GrowthParam hpParam = new GameData.GrowthParam(30, 5f, 1.01f)
 Growth parameters (maximum HP) More...
 
GameData.GrowthParam powerParam = new GameData.GrowthParam()
 Growth parameter (attack power) More...
 
GameData.GrowthParam magicParam = new GameData.GrowthParam()
 Growth parameter (magic power) More...
 
GameData.GrowthParam vitalityParam = new GameData.GrowthParam()
 Growth parameters (defense power) More...
 
GameData.GrowthParam speedParam = new GameData.GrowthParam()
 Growth parameters (quickness) More...
 
GameData.GrowthParam recoveryParam = new GameData.GrowthParam(0, 0f, 1.01f)
 Growth parameter (evasion rate) More...
 
GameData.GrowthParam dexterityParam = new GameData.GrowthParam(0, 0f, 1.01f)
 Growth parameters (accuracy rate) More...
 
GameData.GrowthParam poisonDamageReductionPercentParam = new GameData.GrowthParam(0, 0f, 1.01f)
 Growth parameters (poison damage reduction rate) More...
 
int exp = 0
 Unused More...
 
float growthRate = 2f
 Unused More...
 
int maxLevel
 maximum level More...
 
List< int > levelUpExpList = new List<int>(Common.GameData.Hero.MAX_LEVEL)
 List of experience points required to level up More...
 
List< ItemInfoavailableItems = new List<ItemInfo>()
 Items that can be used More...
 
List< SkillInfoavailableSkills = new List<SkillInfo>()
 skills to learn More...
 
- Public Attributes inherited from Yukar.Common.Rom.Placeable
Guid eventRef
 Event ID More...
 
- Public Attributes inherited from Yukar.Common.Rom.RomItem
Guid guId
 ID More...
 
String name
 name More...
 
string tags = ""
 tag More...
 
string category = ""
 category More...
 

Properties

Guid EventRef [get]
 Unused More...
 
Resource.Icon.Ref Icon [get, set]
 icon More...
 
string Description [get, set]
 explanation More...
 
Guid Graphic [get, set]
 Unused More...
 
Guid Face [get, set]
 Unused More...
 
StatusParam StatusParam = new StatusParam() [get, set]
 growth parameters More...
 
List< int > LevelUpExpList [get]
 List of experience points required to level up More...
 
List< AttributeInfoAttrDefenceList [get, set]
 Attribute resistance list More...
 
Guid AttrDefense [get, set]
 attribute More...
 
List< ConditionInfoResistantList [get, set]
 Condition tolerance list More...
 
List< AvailableConditionInfoAvailableConditionList = new List<AvailableConditionInfo>() [get, set]
 Learned characteristics list More...
 
List< AvailableSkillInfoAvailableSkillList = new List<AvailableSkillInfo>() [get, set]
 Unused More...
 
List< IAvailableInfoAvailableSkillInfoList = new List<IAvailableInfo>() [get, set]
 Available skill list More...
 
List< IAvailableInfoAvailableItemInfoList = new List<IAvailableInfo>() [get, set]
 Available item list More...
 
List< ConditionDefenceInfoConditionDefenceList = new List<ConditionDefenceInfo>() [get, set]
 Condition tolerance list More...
 
int Level [get, set]
 first level More...
 
int LevelGrowthRate [get, set]
 Growth speed (rate) More...
 
int MP [get, set]
 Initial value of MP More...
 
float MPGrowth [get, set]
 Basic MP increase value More...
 
float MPGrowthRate [get, set]
 MP growth type (increase correction value) More...
 
int HP [get, set]
 Initial HP value More...
 
float HPGrowth [get, set]
 Basic HP increase value More...
 
float HPGrowthRate [get, set]
 HP growth type (increase correction value) More...
 
int Power [get, set]
 Initial value of attack power More...
 
float PowerGrowth [get, set]
 Basic increase in attack power More...
 
float PowerGrowthRate [get, set]
 Attack power growth type (increase correction value) More...
 
int Magic [get, set]
 Initial value of magic power More...
 
float MagicGrowth [get, set]
 Basic increase in magic power More...
 
float MagicGrowthRate [get, set]
 Magic growth type (increase correction value) More...
 
int Vitality [get, set]
 Initial value of defense power More...
 
float VitalityGrowth [get, set]
 Basic increase in defense power More...
 
float VitalityGrowthRate [get, set]
 Defense power growth type (increase correction value) More...
 
int Speed [get, set]
 Initial speed value More...
 
float SpeedGrowth [get, set]
 Basic increase in speed More...
 
float SpeedGrowthRate [get, set]
 Speed growth type (increase correction value) More...
 
int Recovery [get, set]
 Initial value of evasion rate More...
 
float RecoveryGrowth [get, set]
 Basic increase in evasion rate More...
 
float RecoveryGrowthRate [get, set]
 Evasion rate growth type (increase correction value) More...
 
int Dexterity [get, set]
 Initial value of hit rate More...
 
float DexterityGrowth [get, set]
 Basic increase in accuracy More...
 
float DexterityGrowthRate [get, set]
 Accuracy growth type (increase correction value) More...
 
int PoisonDamageReductionPercent [get, set]
 Initial value of poison damage reduction rate More...
 
float PoisonDamageReductionPercentGrowth [get, set]
 Basic increase in poison damage reduction rate More...
 
float PoisonDamageReductionPercentGrowthRate [get, set]
 Growth type of poison damage reduction rate (increase correction value) More...
 
int EXP [get, set]
 Unused More...
 
int MaxLevel [get, set]
 maximum level More...
 
int AttrADefense [get, set]
 Old specifications More...
 
int AttrBDefense [get, set]
 Old specifications More...
 
int AttrCDefense [get, set]
 Old specifications More...
 
int AttrDDefense [get, set]
 Old specifications More...
 
int AttrEDefense [get, set]
 Old specifications More...
 
int AttrFDefense [get, set]
 Old specifications More...
 
int AttrGDefense [get, set]
 Old specifications More...
 
int AttrHDefense [get, set]
 Old specifications More...
 
int PoisonResistant [get, set]
 Old specifications More...
 
int SleepResistant [get, set]
 Old specifications More...
 
int ParalysisResistant [get, set]
 Old specifications More...
 
int ConfuseResistant [get, set]
 Old specifications More...
 
int FascinationResistant [get, set]
 Old specifications More...
 
int DeathResistant [get, set]
 Old specifications More...
 
int Resistant7 [get, set]
 Old specifications More...
 
int Resistant8 [get, set]
 Old specifications More...
 
Dictionary< Guid, bool > availableItemsList [get]
 Unused More...
 
- Properties inherited from Yukar.Common.Rom.RomItem
System.Drawing.Bitmap Thumbnail [get]
 thumbnail image More...
 
ThumbnailStatusType ThumbnailStatus = ThumbnailStatusType.Empty [get, set]
 Thumbnail generation status More...
 
string Name [get, set]
 Get display name More...
 
virtual int RefCount [get]
 reference count More...
 
virtual bool UseRefCount [get]
 Should I use reference counting? More...
 
Folder Parent [get, set]
 parent folder More...
 
- Properties inherited from Yukar.Common.Rom.IDatabaseItem
Guid EventRef [get]
 For common operations on database data specific event settings More...
 

Additional Inherited Members

- Public Types inherited from Yukar.Common.Rom.RomItem
enum  ThumbnailStatusType { Empty = 0 , Creating , Created , Failed }
 Thumbnail image generation status More...
 
- Static Public Member Functions inherited from Yukar.Common.Rom.RomItem
static bool reImport (List< RomItem > inRomList)
 Reimport More...
 
static void writeChunk (System.IO.BinaryWriter writer, IChunk rom)
 write chunk More...
 
static void readChunk (System.IO.BinaryReader reader, IChunk rom)
 load chunk More...
 
static void skipChunk (System.IO.BinaryReader reader)
 skip chunk More...
 
static T Clone< T > (RomItem inSrc)
 Clone RomItem More...
 
static bool equalChunk (IChunk a, IChunk b)
 Are the contents of the chunks equal? More...
 
static IChunk duplicate (IChunk rom)
 Duplicate IChunk More...
 
- Static Public Attributes inherited from Yukar.Common.Rom.RomItem
static int thumbnailWidth = 128
 Thumbnail image width (pixels) More...
 
static int thumbnailHeight = 128
 Thumbnail image height (pixels) More...
 
const char CATEGORY_SPLITTER = '\\'
 category delimiter More...
 
static CREATETHUMBNAIL createThumbnailFunction = null
 Thumbnail generation function More...
 
const int UnknownRefCount = -2000
 Constants when reference count is unknown More...
 
- Protected Member Functions inherited from Yukar.Common.Rom.RomItem
virtual void Dispose (bool disposing)
 

Detailed Description

Database/Occupation

Constructor & Destructor Documentation

◆ Job()

Yukar.Common.Rom.Job.Job ( )

constructor

Member Function Documentation

◆ ChangeId()

override void Yukar.Common.Rom.Job.ChangeId ( Dictionary< Guid, RomItem inChangeIdDic)

◆ GetAvailableConditionList()

List< Common.Rom.Condition > Yukar.Common.Rom.Job.GetAvailableConditionList ( Catalog  inCatalog,
int  inLevel,
bool  inAll 
)

Returns the state (characteristics) of the specified level

Parameters
inCatalogcatalog
inLevellevel
inAllTarget all states up to the specified level
Returns
List of states

◆ GetLearnSkillList()

List< Common.Rom.NSkill > Yukar.Common.Rom.Job.GetLearnSkillList ( Catalog  inCatalog,
int  inLevel 
)

Get a list of skills to be memorized at a specified level

Parameters
inCatalogcatalog
inLevellevel
Returns
A list of skills

◆ getSourceEvent()

Event Yukar.Common.Rom.Job.getSourceEvent ( Catalog  catalog)

Unused

◆ InitializeStatusParam()

void Yukar.Common.Rom.Job.InitializeStatusParam ( GameSettings  inGameSettings)

Initialize status parameters

Parameters
inGameSettings

◆ load()

override void Yukar.Common.Rom.Job.load ( BinaryReader  reader)
virtual

loading

Parameters
readerleader

Reimplemented from Yukar.Common.Rom.RomItem.

◆ save()

override void Yukar.Common.Rom.Job.save ( BinaryWriter  writer)
virtual

keep

Parameters
writerWriter

Reimplemented from Yukar.Common.Rom.RomItem.

Member Data Documentation

◆ attackEffect

Guid Yukar.Common.Rom.Job.attackEffect

Unused

◆ availableItems

List<ItemInfo> Yukar.Common.Rom.Job.availableItems = new List<ItemInfo>()

Items that can be used

◆ availableSkills

List<SkillInfo> Yukar.Common.Rom.Job.availableSkills = new List<SkillInfo>()

skills to learn

◆ description

string Yukar.Common.Rom.Job.description = ""

explanation

◆ dexterityParam

GameData.GrowthParam Yukar.Common.Rom.Job.dexterityParam = new GameData.GrowthParam(0, 0f, 1.01f)

Growth parameters (accuracy rate)

◆ exp

int Yukar.Common.Rom.Job.exp = 0

Unused

◆ face

Guid Yukar.Common.Rom.Job.face

Unused

◆ graphic

Guid Yukar.Common.Rom.Job.graphic

Unused

◆ graphic3d

Guid Yukar.Common.Rom.Job.graphic3d

Unused

◆ growthRate

float Yukar.Common.Rom.Job.growthRate = 2f

Unused

◆ hpParam

GameData.GrowthParam Yukar.Common.Rom.Job.hpParam = new GameData.GrowthParam(30, 5f, 1.01f)

Growth parameters (maximum HP)

◆ icon

Resource.Icon.Ref Yukar.Common.Rom.Job.icon = new Resource.Icon.Ref()

icon

◆ level

int Yukar.Common.Rom.Job.level = 1

first level

◆ levelGrowthRate

int Yukar.Common.Rom.Job.levelGrowthRate = 2

Growth speed (rate)

◆ levelUpExpList

List<int> Yukar.Common.Rom.Job.levelUpExpList = new List<int>(Common.GameData.Hero.MAX_LEVEL)

List of experience points required to level up

◆ magicParam

GameData.GrowthParam Yukar.Common.Rom.Job.magicParam = new GameData.GrowthParam()

Growth parameter (magic power)

◆ maxLevel

int Yukar.Common.Rom.Job.maxLevel

maximum level

◆ mpParam

GameData.GrowthParam Yukar.Common.Rom.Job.mpParam = new GameData.GrowthParam()

Growth parameters (maximum MP)

◆ poisonDamageReductionPercentParam

GameData.GrowthParam Yukar.Common.Rom.Job.poisonDamageReductionPercentParam = new GameData.GrowthParam(0, 0f, 1.01f)

Growth parameters (poison damage reduction rate)

◆ powerParam

GameData.GrowthParam Yukar.Common.Rom.Job.powerParam = new GameData.GrowthParam()

Growth parameter (attack power)

◆ recoveryParam

GameData.GrowthParam Yukar.Common.Rom.Job.recoveryParam = new GameData.GrowthParam(0, 0f, 1.01f)

Growth parameter (evasion rate)

◆ scriptOnNew

Guid Yukar.Common.Rom.Job.scriptOnNew

Unused

◆ speedParam

GameData.GrowthParam Yukar.Common.Rom.Job.speedParam = new GameData.GrowthParam()

Growth parameters (quickness)

◆ vitalityParam

GameData.GrowthParam Yukar.Common.Rom.Job.vitalityParam = new GameData.GrowthParam()

Growth parameters (defense power)

Property Documentation

◆ AttrADefense

int Yukar.Common.Rom.Job.AttrADefense
getset

Old specifications

◆ AttrBDefense

int Yukar.Common.Rom.Job.AttrBDefense
getset

Old specifications

◆ AttrCDefense

int Yukar.Common.Rom.Job.AttrCDefense
getset

Old specifications

◆ AttrDDefense

int Yukar.Common.Rom.Job.AttrDDefense
getset

Old specifications

◆ AttrDefenceList

List<AttributeInfo> Yukar.Common.Rom.Job.AttrDefenceList
getset

Attribute resistance list

◆ AttrDefense

Guid Yukar.Common.Rom.Job.AttrDefense
getset

attribute

◆ AttrEDefense

int Yukar.Common.Rom.Job.AttrEDefense
getset

Old specifications

◆ AttrFDefense

int Yukar.Common.Rom.Job.AttrFDefense
getset

Old specifications

◆ AttrGDefense

int Yukar.Common.Rom.Job.AttrGDefense
getset

Old specifications

◆ AttrHDefense

int Yukar.Common.Rom.Job.AttrHDefense
getset

Old specifications

◆ AvailableConditionList

List<AvailableConditionInfo> Yukar.Common.Rom.Job.AvailableConditionList = new List<AvailableConditionInfo>()
getset

Learned characteristics list

◆ AvailableItemInfoList

List<IAvailableInfo> Yukar.Common.Rom.Job.AvailableItemInfoList = new List<IAvailableInfo>()
getset

Available item list

◆ availableItemsList

Dictionary<Guid, bool> Yukar.Common.Rom.Job.availableItemsList
get

Unused

◆ AvailableSkillInfoList

List<IAvailableInfo> Yukar.Common.Rom.Job.AvailableSkillInfoList = new List<IAvailableInfo>()
getset

Available skill list

◆ AvailableSkillList

List<AvailableSkillInfo> Yukar.Common.Rom.Job.AvailableSkillList = new List<AvailableSkillInfo>()
getset

Unused

◆ ConditionDefenceList

List<ConditionDefenceInfo> Yukar.Common.Rom.Job.ConditionDefenceList = new List<ConditionDefenceInfo>()
getset

Condition tolerance list

◆ ConfuseResistant

int Yukar.Common.Rom.Job.ConfuseResistant
getset

Old specifications

◆ DeathResistant

int Yukar.Common.Rom.Job.DeathResistant
getset

Old specifications

◆ Description

string Yukar.Common.Rom.Job.Description
getset

explanation

◆ Dexterity

int Yukar.Common.Rom.Job.Dexterity
getset

Initial value of hit rate

◆ DexterityGrowth

float Yukar.Common.Rom.Job.DexterityGrowth
getset

Basic increase in accuracy

◆ DexterityGrowthRate

float Yukar.Common.Rom.Job.DexterityGrowthRate
getset

Accuracy growth type (increase correction value)

◆ EventRef

Guid Yukar.Common.Rom.Job.EventRef
get

Unused

Implements Yukar.Common.Rom.IDatabaseItem.

◆ EXP

int Yukar.Common.Rom.Job.EXP
getset

Unused

◆ Face

Guid Yukar.Common.Rom.Job.Face
getset

Unused

◆ FascinationResistant

int Yukar.Common.Rom.Job.FascinationResistant
getset

Old specifications

◆ Graphic

Guid Yukar.Common.Rom.Job.Graphic
getset

Unused

◆ HP

int Yukar.Common.Rom.Job.HP
getset

Initial HP value

◆ HPGrowth

float Yukar.Common.Rom.Job.HPGrowth
getset

Basic HP increase value

◆ HPGrowthRate

float Yukar.Common.Rom.Job.HPGrowthRate
getset

HP growth type (increase correction value)

◆ Icon

Resource.Icon.Ref Yukar.Common.Rom.Job.Icon
getset

icon

◆ Level

int Yukar.Common.Rom.Job.Level
getset

first level

◆ LevelGrowthRate

int Yukar.Common.Rom.Job.LevelGrowthRate
getset

Growth speed (rate)

◆ LevelUpExpList

List<int> Yukar.Common.Rom.Job.LevelUpExpList
get

List of experience points required to level up

◆ Magic

int Yukar.Common.Rom.Job.Magic
getset

Initial value of magic power

◆ MagicGrowth

float Yukar.Common.Rom.Job.MagicGrowth
getset

Basic increase in magic power

◆ MagicGrowthRate

float Yukar.Common.Rom.Job.MagicGrowthRate
getset

Magic growth type (increase correction value)

◆ MaxLevel

int Yukar.Common.Rom.Job.MaxLevel
getset

maximum level

◆ MP

int Yukar.Common.Rom.Job.MP
getset

Initial value of MP

◆ MPGrowth

float Yukar.Common.Rom.Job.MPGrowth
getset

Basic MP increase value

◆ MPGrowthRate

float Yukar.Common.Rom.Job.MPGrowthRate
getset

MP growth type (increase correction value)

◆ ParalysisResistant

int Yukar.Common.Rom.Job.ParalysisResistant
getset

Old specifications

◆ PoisonDamageReductionPercent

int Yukar.Common.Rom.Job.PoisonDamageReductionPercent
getset

Initial value of poison damage reduction rate

◆ PoisonDamageReductionPercentGrowth

float Yukar.Common.Rom.Job.PoisonDamageReductionPercentGrowth
getset

Basic increase in poison damage reduction rate

◆ PoisonDamageReductionPercentGrowthRate

float Yukar.Common.Rom.Job.PoisonDamageReductionPercentGrowthRate
getset

Growth type of poison damage reduction rate (increase correction value)

◆ PoisonResistant

int Yukar.Common.Rom.Job.PoisonResistant
getset

Old specifications

◆ Power

int Yukar.Common.Rom.Job.Power
getset

Initial value of attack power

◆ PowerGrowth

float Yukar.Common.Rom.Job.PowerGrowth
getset

Basic increase in attack power

◆ PowerGrowthRate

float Yukar.Common.Rom.Job.PowerGrowthRate
getset

Attack power growth type (increase correction value)

◆ Recovery

int Yukar.Common.Rom.Job.Recovery
getset

Initial value of evasion rate

◆ RecoveryGrowth

float Yukar.Common.Rom.Job.RecoveryGrowth
getset

Basic increase in evasion rate

◆ RecoveryGrowthRate

float Yukar.Common.Rom.Job.RecoveryGrowthRate
getset

Evasion rate growth type (increase correction value)

◆ Resistant7

int Yukar.Common.Rom.Job.Resistant7
getset

Old specifications

◆ Resistant8

int Yukar.Common.Rom.Job.Resistant8
getset

Old specifications

◆ ResistantList

List<ConditionInfo> Yukar.Common.Rom.Job.ResistantList
getset

Condition tolerance list

◆ SleepResistant

int Yukar.Common.Rom.Job.SleepResistant
getset

Old specifications

◆ Speed

int Yukar.Common.Rom.Job.Speed
getset

Initial speed value

◆ SpeedGrowth

float Yukar.Common.Rom.Job.SpeedGrowth
getset

Basic increase in speed

◆ SpeedGrowthRate

float Yukar.Common.Rom.Job.SpeedGrowthRate
getset

Speed growth type (increase correction value)

◆ StatusParam

StatusParam Yukar.Common.Rom.Job.StatusParam = new StatusParam()
getset

growth parameters

◆ Vitality

int Yukar.Common.Rom.Job.Vitality
getset

Initial value of defense power

◆ VitalityGrowth

float Yukar.Common.Rom.Job.VitalityGrowth
getset

Basic increase in defense power

◆ VitalityGrowthRate

float Yukar.Common.Rom.Job.VitalityGrowthRate
getset

Defense power growth type (increase correction value)