Auto-translated
Here is the base code. What exactly needs to be added to make it work?
diff = GetDifficulty() + 1
UnitCastGlobalSpell(unit, SPELL_MASS_SLOW);
function DefenderUnitMove(unit)
UnitCastGlobalSpell(unit, SPELL_UNHOLY_WORD);
SummonCreature(DEFENDER, CREATURE_MUMMY, 15 * diff)
return not nil
end
function AttackerUnitDeath(unit)
SummonCreature(DEFENDER, CREATURE_GHOST, 50 * diff)
end
Added 49 seconds later
The boss, who used to be a Yeti, casts the spells.
Added 1 minute later
A random summoning point is acceptable.