Hi, i used the replace units to morph heroes, like druid to bear, or druid to cat, but when the druid morphs from 1 to another unit his mana and health gets completely restored, i tried to correcting it with triggers, but nothing always get full restored :S is any way i used this trigger but doesnt works
Code:
Forma sombras Copiar
Acontecimientos
Unidad - A unit Inicia el efecto de una habilidad
Condiciones
(Unit-type of (Triggering unit)) Igual a Sacerdote Forma de las sombras
(Ability being cast) Igual a Forma normal
Acciones
Unidad - Replace (Triggering unit) with a Sacerdote Sombras using El anciano familiar de la unidad life and mana
Héroe - Set (Triggering unit) Hero-level to 40, Ocultar level-up graphics
Unidad - Set life of (Triggering unit) to (Percentage life of (Last replaced unit))
Unidad - Set mana of (Triggering unit) to (Percentage mana of (Last replaced unit))