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

Merge branch 'WorldArtifactPowerDescriptions' into 'master'

World artifact power descriptions

Updated on use descriptions for several World Artifacts and added some log messages.

Changed Umbraphage's damage calculation to actually care about it's charge level (slight nerf).

Fixed a bug with Butcher that could cause its rampage not to activate on damage.  Now benefits from Charm Mastery.

Stormlash's AOE effect is correctly centered on the target, rather than the user.

DamageType.LITE now reduces the unlit value of grids with darkness if it can't remove them. (Fixes a possible abusable bug with Umbraphage.)

Updated the tooltip for the Invisibility effect.
parents 6bfec59d b7fe42c2
No related branches found
No related tags found
No related merge requests found
......@@ -909,13 +909,12 @@ newDamageType{
projector = function(src, x, y, type, dam, state)
state = state or {}
useImplicitCrit(src, state)
-- Dont lit magically unlit grids
-- Counter magical unlite level before lighting grids
local g = game.level.map(x, y, Map.TERRAIN+1)
if g and g.unlit then
if g.unlit <= dam then game.level.map:remove(x, y, Map.TERRAIN+1)
else return end
else g.unlit = g.unlit - dam return end -- Lite wears down darkness
end
game.level.map.lites(x, y, true)
end,
}
......
This diff is collapsed.
......@@ -264,7 +264,7 @@ newEffect{
newEffect{
name = "INVISIBILITY", image = "effects/invisibility.png",
desc = "Invisibility",
long_desc = function(self, eff) return ("Improves/gives invisibility (power %d)."):format(eff.power) end,
long_desc = function(self, eff) return ("Improves/gives invisibility (power %d), reducing damage dealt by %d%%%s."):format(eff.power, eff.penalty*100, eff.regen and " and preventing healing and life regeneration" or "") end,
type = "magical",
subtype = { phantasm=true },
status = "beneficial",
......
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