[Misc]
MagicImmunesResistDamage=1
MagicImmunesResistThorns=0
MagicImmunesResistLeech=0
MagicImmunesResistUltimates=0
CycloneStasis=0
DepCheckAlias=1
MassTeleportCluster=1
DarkSummoningCluster=1
TownPortalCluster=1
AmuletOfRecallCluster=1
MorphLandClosest=1
MorphAlternateDisable=0
InvulnSummonDispelDamage=1
ConstructionDamageRefundPenalty=1
UpgradeDamageRefundPenalty=0
AllowMultiBounce=1
EnsnareIsMagic=0
WebIsMagic=0
IllusionsGetAttackBonus=0
IllusionsGetAttackSpeedBonus=0
IllusionsGetMoveSpeedBonus=0
IllusionsGetDefenseBonus=0
IllusionsCanRestoreLife=0
IllusionsCanRestoreMana=0
IllusionsBestowAuras=0
IllusionsGetAutocast=0
InvisibleUnitsBestowAuras=0
PolymorphedUnitsBestowAuras=0
BurrowedUnitsBestowAuras=0
AnimatedUnitsBestowAuras=0
FlyingHeroesBestowAuras=0
MoveSpeedBonusesStack=1
DrainUsesEtheralBonus=0
DrainTransfersLife=0
DrainTransfersMana=0
DrainGivesBonusLife=0
DrainGivesBonusMana=0
EtherealDamageBonusAlly=1
CanDeactivateAvatar=0
CanDeactivateAvengerForm=0
CanDeactivateBarkskin=1
CanDeactivateBearForm=1
CanDeactivateBladestorm=0
CanDeactivateBurrow=1
CanDeactivateCallToArms=1
CanDeactivateChemicalRage=0
CanDeactivateCorporealForm=1
CanDeactivateDefend=1
CanDeactivateDivineShield=1
CanDeactivateImmolation=1
CanDeactivateManaFlare=0
CanDeactivateManaShield=1
CanDeactivateMetamorphosis=0
CanDeactivateRavenForm=1
CanDeactivateRoboGoblin=1
CanDeactivateStoneForm=1
CanDeactivateSubmerge=1
CanDeactivateWindWalk=0
RelativeUpgradeCost=1
DefendDeflection=0
ItemSaleAggroRange=0
UnitSaleAggroRange=0
AbilSaleAggroRange=0
AbolishMagicDispelSmart=0
UpgradeInProgressIdChange=1

GlobalExperience=1
MaxLevelHeroesDrainExp=1
BuildingKillsGiveExp=0

DisplayEnemyInventory=1
DisplayBuildingStatus=0

// Max revival cost of a hero
HeroMaxReviveCostGold=700
HeroMaxReviveCostLumber=0
HeroMaxReviveTime=150

// Max awaken (tavern) cost of a hero
HeroMaxAwakenCostGold=1400
HeroMaxAwakenCostLumber=350

// Hero Revive & Awaken returning stats
HeroReviveManaStart=1
HeroReviveManaFactor=0.0
HeroReviveLifeFactor=1.0
HeroAwakenManaStart=0
HeroAwakenManaFactor=0.0
HeroAwakenLifeFactor=0.5

// the distance at which heroes still gain XP for dying units
HeroExpRange=1200

// factors for calculating the cost, time to revive a hero
// goldRevivalCost = originalCost * (ReviveBaseFactor + (ReviveLevelFactor*(level-1)))
//	but not exceeding originalCost * ReviveMaxFactor
// lumberRevivalCost = originalCost * (ReviveBaseLumberFactor + (ReviveLumberLevelFactor*(level-1)))
//	but not exceeding originalCost * ReviveMaxFactor
// revivalTime = originalTime * level * ReviveTimeFactor
//	but not exceeding originalTime * ReviveMaxTimeFactor
ReviveBaseFactor=.40
ReviveLevelFactor=.10
ReviveBaseLumberFactor=0
ReviveLumberLevelFactor=0
ReviveMaxFactor=4.0
ReviveTimeFactor=0.65
ReviveMaxTimeFactor=2.0

AwakenBaseFactor=.80
AwakenLevelFactor=.20
AwakenBaseLumberFactor=.80
AwakenLumberLevelFactor=.20
AwakenMaxFactor=8.0

// Note: Maps saved with a Reign of Chaos version of the editor will use 25 for the
//  min unit speed value since it wasn't increased to 150 until Frozen Throne.
MinUnitSpeed=150
MaxUnitSpeed=400
MinBldgSpeed=25
MaxBldgSpeed=400

FrostMoveSpeedDecrease=0.5
FrostAttackSpeedDecrease=0.25

// Experience & Level Information
//
MaxHeroLevel=10
MaxUnitLevel=20
NeedHeroXP=200
GrantHeroXP=100,120,160,220,300
GrantNormalXP=25
HeroFactorXP=80,70,60,50,0
SummonedKillFactor=0.5
StrAttackBonus=1.0
StrHitPointBonus=25
StrRegenBonus=0.05
IntManaBonus=15
IntRegenBonus=0.05
AgiDefenseBonus=0.30
AgiDefenseBase=-2
AgiMoveBonus=0
AgiAttackSpeedBonus=0.02

// Formula constants for hero levels beyond the tables...
// The three constants are used to define a table as:
//
// f(x) = A*f(x-1) + B*x + C
//
// where A,B,C are the constants given below
//
NeedHeroXPFormulaA=1
NeedHeroXPFormulaB=100
NeedHeroXPFormulaC=0
GrantHeroXPFormulaA=1
GrantHeroXPFormulaB=0
GrantHeroXPFormulaC=100
GrantNormalXPFormulaA=1
GrantNormalXPFormulaB=5
GrantNormalXPFormulaC=5

// Hero ability level skip
// The required hero level for a given ability level is:
//
// baseReq + levelSkip*abilityLevel
//

HeroAbilityLevelSkip=2

// Hero Inventory Items
DropItemRange=100
GiveItemRange=150
PickupItemRange=150
PawnItemRange=300
PawnItemRate=0.50

// combat related entries
CallForHelp=600
CreepCallForHelp=600
DefenseArmor=0.06

// Damage bonus lists: SMALL, MEDIUM, LARGE, FORT, NORMAL, HERO, DIVINE, NONE
DamageBonusNormal=1.00,1.50,1.00,0.70,1.00,1.00,0.05,1.00
DamageBonusPierce=2.00,0.75,1.00,0.35,1.00,0.50,0.05,1.50
DamageBonusSiege=1.00,0.50,1.00,1.50,1.00,0.50,0.05,1.50
DamageBonusMagic=1.25,0.75,2.00,0.35,1.00,0.50,0.05,1.00
DamageBonusChaos=1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00
DamageBonusSpells=1.00,1.00,1.00,1.00,1.00,0.75,0.05,1.00
DamageBonusHero=1.00,1.00,1.00,0.50,1.00,1.00,0.05,1.00

// Ethereal Damage bonus values: NORMAL, PIERCE, SIEGE, MAGIC, CHAOS, SPELLS, HERO
EtherealDamageBonus=0,0,0,1.66,0,1.66,0
EtherealHealBonus=1.66

// After a unit has strayed 'GuardDistance' from where it started,
// that unit begins thinking about heading back to its start position.
// If the unit has move 'GuardDistance' away from "home" at any time 
// and spends 'GuardReturnTime' seconds chasing a target without getting
// attacked by anyone, the unit indeed turns around and heads home.
// If a creep goes beyond 'MaxGuardDistance' then it always returns home
// regardless of who's attacking it.
//
GuardDistance=600
MaxGuardDistance=1000
GuardReturnTime=5.0

// refund rates
ConstructionRefundRate=0.75	// for cancelled construction
ResearchRefundRate=1.0		// for cancelled research of spells or unit improvements
ReviveRefundRate=1.0		// for cancelled hero revival
TrainRefundRate=1.0		// currently applied regardless of location in queue
UpgradeRefundRate=0.75		// for a cancelled structure upgrade

ConstructionLifeDrainRate=10.0	// hp per second drained when building construction is halted

MissDamageReduction=0.5