Skip to content
Snippets Groups Projects
Commit c9fd9e71 authored by DarkGod's avatar DarkGod
Browse files

fix morrigor, again, because pure is a bad person ;)

parent 2c0b5dad
No related branches found
No related tags found
No related merge requests found
......@@ -3871,7 +3871,7 @@ newEntity{ base = "BASE_LONGSWORD", define_as="MORRIGOR",
physcrit = 7,
dammod = {str=0.6, mag=0.6},
special_on_hit = {desc="deal magical damage", fct=function(combat, who, target)
local tg = {type="ball", range=0, radius=0, selffire=false}
local tg = {type="ball", range=1, radius=0, selffire=false}
who:project(tg, target.x, target.y, engine.DamageType.ARCANE, who:getMag()*0.5)
who:project(tg, target.x, target.y, engine.DamageType.DARKNESS, who:getMag()*0.5)
end},
......
......@@ -404,8 +404,9 @@ newTalent{
no_npc_use = true,
action = function(self, t)
local o = self:findInAllInventoriesBy("define_as", "MORRIGOR")
self:onTakeoff(o, true)
self:onWear(o, true)
o.use_talent=nil
o.power_regen=nil
o.max_power=nil
return true
end,
info = function(self, t)
......
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