2017-09-16 02:50:32 +01:00
|
|
|
require ("global")
|
|
|
|
require ("ally")
|
|
|
|
|
|
|
|
function onSpawn(ally)
|
2017-10-11 14:46:24 +01:00
|
|
|
ally:SetMaxHP(69420)
|
|
|
|
ally:SetHP(ally:GetMaxHP())
|
2017-10-11 19:23:40 +01:00
|
|
|
ally.isAutoAttackEnabled = false;
|
2017-10-11 14:46:24 +01:00
|
|
|
ally.neutral = false
|
2017-10-11 19:23:40 +01:00
|
|
|
ally:SetMod(modifiersGlobal.Speed, 0)
|
2017-10-05 18:37:51 +01:00
|
|
|
end
|
2017-09-16 02:50:32 +01:00
|
|
|
|
|
|
|
function onCombatTick(ally, target, tick, contentGroupCharas)
|
2017-10-05 18:37:51 +01:00
|
|
|
allyGlobal.onCombatTick(ally, target, tick, contentGroupCharas)
|
2017-10-11 14:46:24 +01:00
|
|
|
end
|
|
|
|
|
2017-12-08 00:58:39 -06:00
|
|
|
function tryAggro(ally, contentGroupCharas)
|
|
|
|
allyGlobal.tryAggro(ally, contentGroupCharas)
|
|
|
|
end
|
|
|
|
|
2017-10-11 14:46:24 +01:00
|
|
|
function onRoam(ally, contentGroupCharas)
|
|
|
|
ally.detectionType = 0xFF
|
|
|
|
ally.isMovingToSpawn = false
|
|
|
|
ally.neutral = false
|
|
|
|
ally.animationId = 0
|
2017-12-08 00:58:39 -06:00
|
|
|
--allyGlobal.onCombatTick(ally, contentGroupCharas)
|
2017-12-08 02:08:13 -06:00
|
|
|
end
|