H7TownUnitConverter¶
Class in MMH7Game · MMH7Game.H7TownUnitConverter · perobjectconfig
Object › H7TownBuilding › H7TownUnitConverter
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAbilityRestrictions | array<H7BaseAbility> | protected |
mBuildingNeededForUpgradedConversion | H7TownBuilding | protected |
mConversionRate | float | protected |
mCostMultiplier | float | protected |
mCreature | H7Creature | protected |
mOmittedCreatures | array<H7Creature> | protected |
mUpgradedCreature | H7Creature | protected |
Functions¶
| Name | Declaration |
|---|---|
CanConvert | function bool CanConvert(H7Creature Creature) |
ConvertCreature | function ConvertCreature(H7BaseCreatureStack Stack) |
GetBaseCreature | function H7Creature GetBaseCreature() |
GetConvertedCreatureAmount | function int GetConvertedCreatureAmount(H7BaseCreatureStack Stack) |
GetConvertingCost | function int GetConvertingCost(H7BaseCreatureStack Stack) |
GetUpgradedCreature | function H7Creature GetUpgradedCreature() |
GetUpgradedDwelling | function H7TownBuilding GetUpgradedDwelling() |