Zechnophobe
Strategy Lich
See if you follow me here.
Spirit Guide
Strength 0
Move 2
Has "Enhance Unit"
Permanent invisibility.
Enhance unit ability
Works basically the same as as a Great General, in that it gives experience to units in the stack. However, in this case the XP given is equal to the caster's XP. Units that receive XP in this fashion gain the "Guided" promotion, which prevents them from getting more XP in the future.
A spirit guide unit is created when a unit with the spirit guide promotion dies. It has XP equal to half the unit that died to create it. You then move it to a tile with units you want to enhance, and then pop it to give those units XP.
This removes the current random implementation, but doesn't require complicated code trying to find 'the closest unit'.
Spirit Guide
Strength 0
Move 2
Has "Enhance Unit"
Permanent invisibility.
Enhance unit ability
Works basically the same as as a Great General, in that it gives experience to units in the stack. However, in this case the XP given is equal to the caster's XP. Units that receive XP in this fashion gain the "Guided" promotion, which prevents them from getting more XP in the future.
A spirit guide unit is created when a unit with the spirit guide promotion dies. It has XP equal to half the unit that died to create it. You then move it to a tile with units you want to enhance, and then pop it to give those units XP.
This removes the current random implementation, but doesn't require complicated code trying to find 'the closest unit'.