Skip to content
Snippets Groups Projects
Commit 46e9e9eb authored by Alex Ksandra's avatar Alex Ksandra
Browse files

Missed Gar'Kul summon.

parent 6ab10f2d
No related branches found
No related tags found
1 merge request!228Damtype proc display
......@@ -3230,9 +3230,10 @@ newDamageType{
local target = game.level.map(x, y, engine.Map.ACTOR)
if not target then return end
if game.party:hasMember(src) and game.party:findMember{type="garkul spirit"} then return end
game:delayedLogDamage(src, target, 0, ("%s<%d%%%% orc summon chance>#LAST#"):format(DamageType:get(type).text_color or "#aaaaaa#", dam), false)
if not rng.percent(dam) then return end
game:delayedLogDamage(src, target, 0, ("%s<orc summon>#LAST#"):format(DamageType:get(type).text_color or "#aaaaaa#"), false)
-- Find space
local x, y = util.findFreeGrid(src.x, src.y, 5, true, {[engine.Map.ACTOR]=true})
if not x then return 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