Help with mod to let a monster join you after defeat
I am trying to make a mod that lets a monster join you after it has been defeated (just like you get gold, or an item, but in this case the monster joins your army).
I have made the following mod file, but it is not working properly. The problem is that this mod results in a game where at the start I am able to train a peasant, a pioneer, and an undefined unit without picture.
What am I doing wrong? This mod is supposed to build on the existing "GiantBlackWidow", but it appears to add a new monster instead...
- <?xml version="1.0" encoding="iso-8859-1"?>
- <UnitTypes>
- <DataChecksum NoParse="1">
- <Ignore>DisplayName,Quote,ModelPath,ModelScale,AnimationPack,MovingSfx</Ignore>
- <Translate>DisplayName,Quote</Translate>
- </DataChecksum>
- <UnitType InternalName="GiantBlackWidow">
- <Title>Spider Join</Title>
- <Liklihood>100</Liklihood>
- <ModType>CharmTarget</ModType>
- </UnitType>
- </UnitTypes>