Old one was
```
{
'@parent':"template_unit",
AIProxy:(void 0),
Armour:{
Crush:"4.0",
Hack:"4.0",
Pierce:"8.0"
},
Auras:{
'@datatype':"tokens",
_string:"units/heroes/hero_garrison units/heroes/maur_hero_chanakya_1 units/heroes/maur_hero_chanakya_2"
},
Cost:{
BuildTime:"40",
Population:"2",
PopulationBonus:"0",
Resources:{
food:"200",
metal:"200",
stone:"0",
wood:"150"
}
},
Decay:{
Active:"false",
DelayTime:"80.0",
SinkAccel:"0.0",
SinkRate:"0.01",
SinkingAnim:"false"
},
Footprint:{
Circle:{
'@radius':"1.5"
},
Height:"2.5"
},
Garrisonable:(void 0),
Guard:(void 0),
Heal:{
HP:"6",
HealableClasses:{
'@datatype':"tokens",
_string:"Human"
},
Range:"20",
Rate:"2000",
UnhealableClasses:{
'@datatype':"tokens"
}
},
Health:{
DeathType:"corpse",
IdleRegenRate:"0",
Max:"1000",
RegenRate:"0",
Undeletable:"false",
Unhealable:"false"
},
Identity:{
Civ:"maur",
Classes:{
'@datatype':"tokens",
_string:"Unit ConquestCritical Human Organic"
},
Formations:{
'@datatype':"tokens",
_string:"formations/null formations/box formations/column_closed formations/line_closed formations/column_open formations/line_open formations/flank formations/battle_line"
},
GenericName:"Acharya Chanakya",
Icon:"units/maur_hero_chanakya.png",
RequiredTechnology:"phase_city",
SpecificName:"Acharya Ch\u0101\u1E47akya",
VisibleClasses:{
'@datatype':"tokens",
_string:"Healer Hero Support"
}
},
Looter:(void 0),
Minimap:{
Type:"hero"
},
Obstruction:{
Active:"true",
BlockConstruction:"true",
BlockFoundation:"false",
BlockMovement:"true",
BlockPathfinding:"false",
DisableBlockMovement:"false",
DisableBlockPathfinding:"false",
Unit:(void 0)
},
OverlayRenderer:(void 0),
Ownership:(void 0),
Position:{
Altitude:"0",
Anchor:"upright",
Floating:"false",
TurnRate:"6.0"
},
RangeVisualization:(void 0),
ResourceGatherer:{
BaseSpeed:"1.0",
Capacities:{
food:"10",
metal:"10",
stone:"10",
wood:"10"
},
MaxDistance:"2.0",
Rates:{
treasure:"1"
}
},
Selectable:{
Overlay:{
AlwaysVisible:(void 0),
Texture:{
MainTexture:"star/256x256.png",
MainTextureMask:"star/256x256_mask.png"
}
}
},
Sound:{
SoundGroups:{
attacked:"interface/alarm/alarm_attackplayer.xml"
}
},
StatusBars:{
BarHeight:"0.333",
BarWidth:"2.0",
HeightOffset:"5.0"
},
TrainingRestrictions:{
Category:"Hero"
},
UnitAI:{
AlertReactiveLevel:"2",
CanGuard:"true",
CanPatrol:"true",
DefaultStance:"aggressive",
FleeDistance:"12.0",
FormationController:"false"
},
UnitMotion:{
FormationController:"false",
PassabilityClass:"default",
Run:{
DecayTime:"0.2",
Range:"200.0",
RangeMin:"0.0",
RegenTime:"0.1",
Speed:"12.0"
},
WalkSpeed:"9"
},
Visibility:{
AlwaysVisible:"false",
Corpse:"false",
Preview:"false",
RetainInFog:"false"
},
Vision:{
Range:"30"
},
VisionSharing:{
Bribable:"false"
},
VisualActor:{
Actor:"units/mauryans/hero_chanakya.xml",
SilhouetteDisplay:"true",
SilhouetteOccluder:"false",
VisibleInAtlasOnly:"false"
}
}
```
New one is
```
{
'@parent':"template_unit_hero_healer",
AIProxy:(void 0),
Armour:{
Crush:"4.0",
Hack:"4.0",
Pierce:"8.0"
},
Auras:{
'@datatype':"tokens",
_string:"units/heroes/hero_garrison units/heroes/maur_hero_chanakya_1 units/heroes/maur_hero_chanakya_2"
},
Cost:{
BuildTime:"40",
Population:"2",
PopulationBonus:"0",
Resources:{
food:"200",
metal:"200",
stone:"0",
wood:"150"
}
},
Decay:{
Active:"false",
DelayTime:"80.0",
SinkAccel:"0.0",
SinkRate:"0.01",
SinkingAnim:"false"
},
Footprint:{
Circle:{
'@radius':"1.5"
},
Height:"2.5"
},
Garrisonable:(void 0),
Guard:(void 0),
Heal:{
HP:"6",
HealableClasses:{
'@datatype':"tokens",
_string:"Human"
},
Range:"20",
Rate:"2000",
UnhealableClasses:{
'@datatype':"tokens"
}
},
Health:{
DeathType:"corpse",
IdleRegenRate:"0",
Max:"1000",
RegenRate:"0",
Undeletable:"false",
Unhealable:"false"
},
Identity:{
Civ:"maur",
Classes:{
'@datatype':"tokens",
_string:"Unit ConquestCritical Organic Human"
},
Formations:{
'@datatype':"tokens",
_string:"formations/null formations/box formations/column_closed formations/line_closed formations/column_open formations/line_open formations/flank formations/battle_line"
},
GenericName:"Acharya Chanakya",
Icon:"units/maur_hero_chanakya.png",
RequiredTechnology:"phase_city",
SpecificName:"Acharya Ch\u0101\u1E47akya",
VisibleClasses:{
'@datatype':"tokens",
_string:"Hero Healer Support"
}
},
Loot:{
food:"10",
metal:"25",
stone:"0",
wood:"0",
xp:"400"
},
Looter:(void 0),
Minimap:{
Type:"hero"
},
Obstruction:{
Active:"true",
BlockConstruction:"true",
BlockFoundation:"false",
BlockMovement:"true",
BlockPathfinding:"false",
DisableBlockMovement:"false",
DisableBlockPathfinding:"false",
Unit:(void 0)
},
OverlayRenderer:(void 0),
Ownership:(void 0),
Position:{
Altitude:"0",
Anchor:"upright",
Floating:"false",
TurnRate:"6.0"
},
RangeVisualization:(void 0),
ResourceGatherer:{
BaseSpeed:"1.0",
Capacities:{
food:"10",
metal:"10",
stone:"10",
wood:"10"
},
MaxDistance:"2.0",
Rates:{
treasure:"1"
}
},
Selectable:{
Overlay:{
AlwaysVisible:(void 0),
Texture:{
MainTexture:"star/256x256.png",
MainTextureMask:"star/256x256_mask.png"
}
}
},
Sound:{
SoundGroups:{
attacked:"interface/alarm/alarm_attackplayer.xml",
death:"actor/human/death/death.xml"
}
},
StatusBars:{
BarHeight:"0.333",
BarWidth:"2.0",
HeightOffset:"5.0"
},
TrainingRestrictions:{
Category:"Hero"
},
UnitAI:{
AlertReactiveLevel:"2",
CanGuard:"true",
CanPatrol:"true",
DefaultStance:"aggressive",
FleeDistance:"12.0",
FormationController:"false"
},
UnitMotion:{
FormationController:"false",
PassabilityClass:"default",
Run:{
DecayTime:"0.2",
Range:"200.0",
RangeMin:"0.0",
RegenTime:"0.1",
Speed:"12.0"
},
WalkSpeed:"9"
},
Visibility:{
AlwaysVisible:"false",
Corpse:"false",
Preview:"false",
RetainInFog:"false"
},
Vision:{
Range:"30"
},
VisionSharing:{
Bribable:"false"
},
VisualActor:{
Actor:"units/mauryans/hero_chanakya.xml",
SilhouetteDisplay:"true",
SilhouetteOccluder:"false",
VisibleInAtlasOnly:"false"
}
}
```
The diff is
```
@@ -1,5 +1,5 @@
{
- '@parent':"template_unit",
+ '@parent':"template_unit_hero_healer",
AIProxy:(void 0),
Armour:{
Crush:"4.0",
@@ -60,7 +60,7 @@
Civ:"maur",
Classes:{
'@datatype':"tokens",
- _string:"Unit ConquestCritical Human Organic"
+ _string:"Unit ConquestCritical Organic Human"
},
Formations:{
'@datatype':"tokens",
@@ -72,9 +72,16 @@
SpecificName:"Acharya Ch\u0101\u1E47akya",
VisibleClasses:{
'@datatype':"tokens",
- _string:"Healer Hero Support"
+ _string:"Hero Healer Support"
}
},
+ Loot:{
+ food:"10",
+ metal:"25",
+ stone:"0",
+ wood:"0",
+ xp:"400"
+ },
Looter:(void 0),
Minimap:{
Type:"hero"
@@ -122,7 +129,8 @@
},
Sound:{
SoundGroups:{
- attacked:"interface/alarm/alarm_attackplayer.xml"
+ attacked:"interface/alarm/alarm_attackplayer.xml",
+ death:"actor/human/death/death.xml"
}
},
StatusBars:{
```