Skip to content
Snippets Groups Projects
Commit ebefa099 authored by dg's avatar dg
Browse files

Mummified Egg-sac of Ungole summons are now working with Summoner's talents,...

Mummified Egg-sac of Ungole summons are now working with Summoner's talents, summon control can affect them, they gain passives from the user and such


git-svn-id: http://svn.net-core.org/repos/t-engine4@4717 51575b47-30f0-44d4-a5cc-537603b46e54
parent db2fd0ff
No related branches found
No related tags found
No related merge requests found
......@@ -796,25 +796,16 @@ newEntity{
until not e.unique and e.rarity
local spider = game.zone:finishEntity(game.level, "actor", e)
spider.make_escort = nil
spider.silent_levelup = true
spider.faction = who.faction
spider.ai = "summoned"
spider.ai_real = "dumb_talented_simple"
spider.summoner = who
spider.summon_time = 10
-- Add to the party
if self.player then
spider.remove_from_party_on_death = true
game.party:addMember(spider, {
control="no",
type="summon",
title="Summon",
orders = {target=true, leash=true, anchor=true, talents=true},
})
end
game.zone:addEntity(game.level, spider, "actor", x, y)
game.level.map:particleEmitter(x, y, 1, "slime")
local setupSummon = getfenv(who:getTalentFromId(who.T_SPIDER).action).setupSummon
setupSummon(who, spider, x, y)
game:playSoundNear(who, "talents/slime")
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment