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

It is possible to finish the mage apprentice quest by offeringthe staff of...

It is possible to finish the mage apprentice quest by offeringthe staff of destruction even if archmages are not unlocked


git-svn-id: http://svn.net-core.org/repos/t-engine4@1493 51575b47-30f0-44d4-a5cc-537603b46e54
parent 01806b11
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ end
can_offer_angmar = function(self, who)
if self.nb_collect >= 15 then return end
-- Only works after mages are unlocked
if not profile.mod.allow_build.mage then return end
-- if not profile.mod.allow_build.mage then return end
for inven_id, inven in pairs(who.inven) do
for item, o in ipairs(inven) do
......
......@@ -1655,7 +1655,7 @@ newEffect{
local a = math.rad(rng.range(0+i*angle_diff,angle_diff+i*angle_diff))
local tx = x + math.floor(math.cos(a) * tg.radius)
local ty = y + math.floor(math.sin(a) * tg.radius)
game.level.map:particleEmitter(x, y, tg.radius, "lightning", {radius=tg.radius, grids=grids, tx=tx-x, ty=ty-y, nb_particles=25, life=8})
game.level.map:particleEmitter(x, y, tg.radius, "lightning", {radius=tg.radius, grids=grids, tx=tx-x, ty=ty-y, nb_particles=12, life=4})
end
game:playSoundNear(self, "talents/lightning")
......
No preview for this file type
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