DB/CreatureFamily: Difference between revisions
Jump to navigation
Jump to search
Смердокрыл (talk | contribs) (Added pet food values for ease) |
mNo edit summary |
||
Line 1: | Line 1: | ||
==0.5.3.3368== | |||
struct CreatureFamilyRec { | struct CreatureFamilyRec { | ||
uint32_t m_ID; | uint32_t m_ID; | ||
Line 8: | Line 6: | ||
float m_maxScale; | float m_maxScale; | ||
uint32_t m_maxScaleLevel; | uint32_t m_maxScaleLevel; | ||
{{Type/foreign_key|table=SkillLine}} m_skillLine[2]; | |||
}; | }; | ||
== | ==Unknown, apparently between alpha and end of vanilla== | ||
Note that the comments are highly likely absolute bogus and stem from an very early time of modding. | |||
== | struct CreatureFamilyRec { | ||
uint32_t m_ID; | |||
float m_minScale; // {{Unverified|movement or attack speed modifier?}} | |||
uint32_t m_minScaleLevel; // {{Unverified|iRefID_[[PetPersonality.dbc|PetPersonality]] Integer Base data columns 11-19.}} | |||
float m_maxScale; // {{Unverified|movement or attack speed modifier?}} | |||
uint32_t m_maxScaleLevel; // {{Unverified|is player controlled?}} | |||
{{Type/foreign_key|table=SkillLine}} m_skillLine[2]; // {{Unverified|second one: is tameable?}} | |||
{{Type/foreign_key_mask|table=ItemPetFood}} m_petFoodMask; | |||
{{Type|langstringref}} m_name_lang; | |||
{{Type|stringref}} m_iconFile; // "Interface\Icons\Ability_[a-z_]" | |||
}; | |||
==1.12.1.5875, 3.3.5.12340, 6.0.1.18179== | |||
struct CreatureFamilyRec { | struct CreatureFamilyRec { | ||
uint32_t m_ID; | uint32_t m_ID; | ||
Line 55: | Line 31: | ||
float m_maxScale; | float m_maxScale; | ||
uint32_t m_maxScaleLevel; | uint32_t m_maxScaleLevel; | ||
{{Type/foreign_key|table=SkillLine}} m_skillLine[2]; | |||
{{Type/foreign_key_mask|table=ItemPetFood}} m_petFoodMask; | |||
uint32_t m_petTalentType; | uint32_t m_petTalentType; | ||
uint32_t m_categoryEnumID; | uint32_t m_categoryEnumID; | ||
{{ | {{Type|langstringref}} m_name_lang; | ||
{{ | {{Type|stringref}} m_iconFile; // "Interface\Icons\Ability_[a-z_]" | ||
}; | }; | ||
==Pet Food Mask== | ==Pet Food Mask== |
Revision as of 17:33, 1 January 2020
0.5.3.3368
struct CreatureFamilyRec { uint32_t m_ID; float m_minScale; uint32_t m_minScaleLevel; float m_maxScale; uint32_t m_maxScaleLevel; foreign_keyⁱ<uint32_t, &SkillLineRec::m_ID> m_skillLine[2]; };
Unknown, apparently between alpha and end of vanilla
Note that the comments are highly likely absolute bogus and stem from an very early time of modding.
struct CreatureFamilyRec { uint32_t m_ID; float m_minScale; // movement or attack speed modifier?ᵘ uint32_t m_minScaleLevel; // iRefID_PetPersonality Integer Base data columns 11-19.ᵘ float m_maxScale; // movement or attack speed modifier?ᵘ uint32_t m_maxScaleLevel; // is player controlled?ᵘ foreign_keyⁱ<uint32_t, &SkillLineRec::m_ID> m_skillLine[2]; // second one: is tameable?ᵘ foreign_key_maskⁱ<uint32_t, &ItemPetFoodRec::m_ID> m_petFoodMask; langstringrefⁱ m_name_lang; stringrefⁱ m_iconFile; // "Interface\Icons\Ability_[a-z_]" };
1.12.1.5875, 3.3.5.12340, 6.0.1.18179
struct CreatureFamilyRec { uint32_t m_ID; float m_minScale; uint32_t m_minScaleLevel; float m_maxScale; uint32_t m_maxScaleLevel; foreign_keyⁱ<uint32_t, &SkillLineRec::m_ID> m_skillLine[2]; foreign_key_maskⁱ<uint32_t, &ItemPetFoodRec::m_ID> m_petFoodMask; uint32_t m_petTalentType; uint32_t m_categoryEnumID; langstringrefⁱ m_name_lang; stringrefⁱ m_iconFile; // "Interface\Icons\Ability_[a-z_]" };
Pet Food Mask
Hex Decimal Food 0x001 1 Meat 0x002 2 Fish 0x004 4 Cheese 0x008 8 Bread 0x010 16 Fungus 0x020 32 Fruit 0x040 64 Raw meat 0x080 128 Raw fish 0x100 256 Mechanical parts(?)