Skip to content
Snippets Groups Projects
Commit 04d96091 authored by Chris Davidson's avatar Chris Davidson
Browse files

Revise Mercy

% of max life converted to flat values is basically not allowed as a mechanic now.

- Proc now deals flat damage increased by % of life lost on target
parent be0fc3a1
No related branches found
No related tags found
1 merge request!527Misc is miscellaneous
......@@ -1170,7 +1170,6 @@ newEntity{ base = "BASE_KNIFE", -- Thanks Grayswandir!
},
}
-- Fix me
newEntity{ base = "BASE_KNIFE", --Razakai's idea, slightly modified
power_source = {psionic=true},
unique = true,
......@@ -1189,9 +1188,10 @@ newEntity{ base = "BASE_KNIFE", --Razakai's idea, slightly modified
apr = 9,
physcrit = 15,
dammod = {str=0.45, dex=0.55},
special_on_hit = {desc="deals physical damage equal to 3% of the target's missing health", fct=function(combat, who, target)
special_on_hit = {desc="deals 60 physical damage increased by 1% for each 1% life the target has lost", fct=function(combat, who, target)
local tg = {type="ball", range=10, radius=0, selffire=false}
who:project(tg, target.x, target.y, engine.DamageType.PHYSICAL, (target.max_life - target.life)*0.03)
local bonus = 1 + (1 - target.life / target.max_life)
who:project(tg, target.x, target.y, engine.DamageType.PHYSICAL, 60*bonus)
end},
},
wielder = {
......
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