Some changes to make familiars less anoying to use, posted if anyone else want to use them.
Summoned familars
- Are same level as summoner (Summoner_Level + SummonerBonusLevel/2)
- Have ranged attack: 4+1 cold per level (-4 from existing), start battle at rear, lose Counterattack.
- Have slightly improved survability: +2 regen per round, +20 dodge vs ranged attacks.
nb/ Spells & focused ranged attack will still kill rapidly. Meant to stop annoying deaths, not save them from heavy focused fire.
nb2/ Should really be done via adding custom unit ability & as a proper mod (i.e. How does wolf actully use staff!), but adding items is quick and works.
CoreSpells.xml
<SpellDef InternalName="SummonFamiliar">
.....
Code: xml
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>SummonUnit</Attribute>
- <UnitClass>Familiar</UnitClass>
- <Duration>-1</Duration>
- <Calculate InternalName="Calc" ValueOwner="CastingUnit">
- <Expression><![CDATA[[Unit_GetLevel]]]></Expression>
- </Calculate>
- <Calculate InternalName="Calc2" ValueOwner="CastingUnit">
- <Expression><![CDATA[[UnitStat_BonusSummonLevel] * 0.5]]></Expression>
- </Calculate>
- <Calculate InternalName="Value">
- <Expression><![CDATA[[Calc] + [Calc2]]]></Expression>
- </Calculate>
- </GameModifier>
CoreMonsterUnitTypes.xml
<UnitType InternalName="Familiar">