Skip to content
Snippets Groups Projects
Commit 203d5acc authored by dg's avatar dg
Browse files

Little buff to Kryl-Feijan

git-svn-id: http://svn.net-core.org/repos/t-engine4@5103 51575b47-30f0-44d4-a5cc-537603b46e54
parent f91eadf0
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ function _M:makeMapObject(tiles, idx)
self:defineDisplayCallback()
-- Setup tint
self._mo:tint(self.tint_r, self.tint_g, self.tint_b)
self._mo:tint(self.tint_r or 1, self.tint_g or 1, self.tint_b or 1)
-- Texture 0 is always the normal image/ascii tile
local tex, texx, texy, pos_x, pos_y = tiles:get(self.display, self.color_r, self.color_g, self.color_b, self.color_br, self.color_bg, self.color_bb, self.image, self._noalpha and 255, self.ascii_outline, true)
......
......@@ -95,7 +95,7 @@ newTalent{
deactivate = function(self, t, p)
self:removeTemporaryValue("overkill", p.ov)
return true
end,
end,
info = function(self, t)
return ([[When you kill a creature, the remainer of the damage done will not be lost. Instead %d%% of it will splash in a radius 2, doing blight damage.
The damage will increase with Magic stat.]]):format(40 + self:combatTalentSpellDamage(t, 10, 90))
......@@ -124,7 +124,7 @@ newTalent{
self:removeTemporaryValue("reduce_spell_cooldown_on_hit", p.l)
self:removeTemporaryValue("reduce_spell_cooldown_on_hit_chance", p.c)
return true
end,
end,
info = function(self, t)
local l, c = t.getPower(self, t)
return ([[When you are dealt a blow that reduces your life by at least %d%% you have %d%% chances to reduce the remaining cooldown of all your spells by 1.
......
......@@ -175,6 +175,8 @@ newTalent{
end,
points = 5,
hard_cap = 5,
range = 1,
tactical = { ATTACK = 2, DEFEND = 2 },
on_pre_use = function(self, t, silent) if not self:hasShield() then if not silent then game.logPlayer(self, "You require a weapon and a shield to use this talent.") end return false end return true end,
getProperties = function(self, t)
local shield = self:hasShield()
......@@ -254,6 +256,6 @@ newTalent{
br_text = " All blocked damage heals the wielder."
end
local bt, bt_string = t.getBlockedTypes(self, t)
return ([[Raise your shield into blocking position for one turn, reducing the damage of all %s attacks by %d. If you block all of an attack's damage, the attacker will be vulnerable to a deadly counterstrike for one turn.%s%s%s]]):format(bt_string, t.getBlockValue(self, t), sp_text, ref_text, br_text)
return ([[Raise your shield into blocking position for one turn, reducing the damage of all %s attacks by %d. If you block all of an attack's damage, the attacker will be vulnerable to a deadly counterstrike (a normal attack will instead deal 200%% damage) for one turn.%s%s%s]]):format(bt_string, t.getBlockValue(self, t), sp_text, ref_text, br_text)
end,
}
......@@ -69,6 +69,9 @@ newEntity{ base="BASE_NPC_MAJOR_DEMON", define_as = "KRYL_FEIJAN",
[Talents.T_DARKNESS]={base=3, every=5, max=6},
[Talents.T_EVASION]={base=5, every=5, max=8},
[Talents.T_VIRULENT_DISEASE]={base=3, every=5, max=6},
[Talents.T_PACIFICATION_HEX]={base=5, every=5, max=8},
[Talents.T_BURNING_HEX]={base=5, every=5, max=8},
[Talents.T_BLOOD_LOCK]={base=5, every=5, max=8},
},
resolvers.sustains_at_birth(),
}
......
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