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

Bosses get a few more HP

git-svn-id: http://svn.net-core.org/repos/t-engine4@3041 51575b47-30f0-44d4-a5cc-537603b46e54
parent 92e12804
No related branches found
No related tags found
No related merge requests found
......@@ -630,9 +630,9 @@ function _M:getRankLifeAdjust(value)
if self.rank == 1 then return value * (level_adjust - 0.2)
elseif self.rank == 2 then return value * (level_adjust - 0.1)
elseif self.rank == 3 then return value * (level_adjust + 0.1)
elseif self.rank == 3.5 then return value * (level_adjust + 0.3)
elseif self.rank == 4 then return value * (level_adjust + 0.3)
elseif self.rank >= 5 then return value * (level_adjust + 0.5)
elseif self.rank == 3.5 then return value * (level_adjust + 1)
elseif self.rank == 4 then return value * (level_adjust + 2)
elseif self.rank >= 5 then return value * (level_adjust + 3)
else return 0
end
end
......
......@@ -119,8 +119,9 @@ newTalent{
require = undeads_req4,
points = 5,
cooldown = 25,
tactical = { ATTACK = 1, DEFEND = 1 },
tactical = { ATTACK = 1, HEAL = 1 },
range=1,
requires_target = true,
action = function(self, t)
local duration = self:getTalentLevel(t) / 2 + 4
local radius = 3
......
......@@ -48,6 +48,7 @@ newTalent{
cooldown = 15,
tactical = { ATTACK = 2 },
range = 1,
requires_target = true,
action = function(self, t)
local x, y = self.x, self.y
if game.level.map(x, y, game.level.map.TRAP) then
......
......@@ -86,7 +86,7 @@ newEntity{ base="BASE_NPC_CORRUPTED_HORROR", define_as = "SLIMY_CRAWLER",
It seems to come from the digestive system of the mouth.]],
level_range = {4, nil}, exp_worth = 0,
max_life = 80, life_rating = 10, fixed_rating = true,
movement_speed = -0.5,
movement_speed = 0.2,
size_category = 1,
combat = { dam=resolvers.mbonus(25, 15), damtype=DamageType.SLIME, dammod={str=1} },
......
......@@ -60,12 +60,12 @@ newEntity{ define_as = "DRAEBOR",
resolvers.talents{
[Talents.T_SUMMON]=1,
[Talents.T_FLAME]=5,
[Talents.T_BLOOD_GRASP]=5,
[Talents.T_WILDFIRE]=5,
[Talents.T_FLAME]={base=5, every=5, max=8},
[Talents.T_BLOOD_GRASP]={base=5, every=5, max=8},
[Talents.T_WILDFIRE]={base=5, every=5, max=8},
[Talents.T_PHASE_DOOR]=2,
[Talents.T_CURSE_OF_VULNERABILITY]=5,
[Talents.T_BONE_SHIELD]=3,
[Talents.T_CURSE_OF_VULNERABILITY]={base=5, every=5, max=8},
[Talents.T_BONE_SHIELD]={base=3, every=10, max=5},
},
resolvers.sustains_at_birth(),
......
......@@ -71,20 +71,20 @@ newEntity{ define_as = "THE_MASTER",
resolvers.talents{
[Talents.T_SUMMON]=1,
[Talents.T_HEAVY_ARMOUR_TRAINING]=1,
[Talents.T_MANA_POOL]=1,
[Talents.T_CONGEAL_TIME]=2,
[Talents.T_MANATHRUST]=4,
[Talents.T_FREEZE]=4,
[Talents.T_PHASE_DOOR]=2,
[Talents.T_STRIKE]=3,
[Talents.T_STAMINA_POOL]=1,
[Talents.T_WEAPONS_MASTERY]=3,
[Talents.T_STUNNING_BLOW]=1,
[Talents.T_RUSH]=4,
[Talents.T_SPELL_SHIELD]=4,
[Talents.T_BLINDING_SPEED]=4,
[Talents.T_PERFECT_STRIKE]=3,
[Talents.T_HEAVY_ARMOUR_TRAINING]={base=1, every=5, max=5},
[Talents.T_CONGEAL_TIME]={base=2, every=5, max=5},
[Talents.T_MANATHRUST]={base=4, every=5, max=8},
[Talents.T_FREEZE]={base=4, every=5, max=8},
[Talents.T_PHASE_DOOR]=2,
[Talents.T_STRIKE]={base=3, every=5, max=7},
[Talents.T_WEAPONS_MASTERY]={base=3, every=4, max=7},
[Talents.T_STUNNING_BLOW]={base=1, every=5, max=5},
[Talents.T_RUSH]={base=4, every=5, max=8},
[Talents.T_SPELL_SHIELD]={base=4, every=5, max=8},
[Talents.T_BLINDING_SPEED]={base=4, every=5, max=8},
[Talents.T_PERFECT_STRIKE]={base=3, every=5, max=7},
},
resolvers.sustains_at_birth(),
......@@ -150,17 +150,17 @@ newEntity{ define_as = "PALE_DRAKE",
resolvers.talents{
[Talents.T_SUMMON]=1,
[Talents.T_WILDFIRE]=5,
[Talents.T_WILDFIRE]={base=5, every=5, max=8},
[Talents.T_FLAME]=5,
[Talents.T_FLAMESHOCK]=5,
[Talents.T_INFERNO]=5,
[Talents.T_MANATHRUST]=5,
[Talents.T_FLAME]={base=5, every=5, max=8},
[Talents.T_FLAMESHOCK]={base=5, every=5, max=8},
[Talents.T_INFERNO]={base=5, every=5, max=8},
[Talents.T_MANATHRUST]={base=5, every=5, max=8},
[Talents.T_CURSE_OF_DEATH]=5,
[Talents.T_CURSE_OF_VULNERABILITY]=5,
[Talents.T_BONE_SPEAR]=5,
[Talents.T_DRAIN]=5,
[Talents.T_CURSE_OF_DEATH]={base=5, every=5, max=8},
[Talents.T_CURSE_OF_VULNERABILITY]={base=5, every=5, max=8},
[Talents.T_BONE_SPEAR]={base=5, every=5, max=8},
[Talents.T_DRAIN]={base=5, every=5, max=8},
[Talents.T_PHASE_DOOR]=2,
},
......
......@@ -55,17 +55,17 @@ newEntity{ define_as = "UKLLMSWWIK",
resolvers.drops{chance=100, nb=10, {tome={money=1}} },
resolvers.talents{
[Talents.T_WEAPON_COMBAT]=5,
[Talents.T_KNOCKBACK]=3,
[Talents.T_WEAPON_COMBAT]={base=5, every=5, max=10},
[Talents.T_KNOCKBACK]={base=3, every=5, max=8},
[Talents.T_ICE_STORM]=4,
[Talents.T_FREEZE]=3,
[Talents.T_ICE_STORM]={base=4, every=5, max=8},
[Talents.T_FREEZE]={base=3, every=5, max=7},
[Talents.T_ICE_CLAW]=5,
[Talents.T_ICY_SKIN]=5,
[Talents.T_ICE_BREATH]=5,
[Talents.T_LIGHTNING_BREATH]=5,
[Talents.T_POISON_BREATH]=5,
[Talents.T_ICE_CLAW]={base=5, every=5, max=8},
[Talents.T_ICY_SKIN]={base=5, every=5, max=8},
[Talents.T_ICE_BREATH]={base=5, every=5, max=8},
[Talents.T_LIGHTNING_BREATH]={base=5, every=5, max=8},
[Talents.T_POISON_BREATH]={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