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

undead zone

git-svn-id: http://svn.net-core.org/repos/t-engine4@1164 51575b47-30f0-44d4-a5cc-537603b46e54
parent 53ccdc14
No related branches found
No related tags found
No related merge requests found
......@@ -523,6 +523,8 @@ function _M:physicalCrit(dam, weapon, target)
chance = chance - target:getTalentLevel(target.T_MASSIVE_ARMOUR_TRAINING) * 1.5
end
chance = util.bound(chance, 0, 100)
print("[PHYS CRIT %]", chance)
if rng.percent(chance) then
dam = dam * 1.5
......
......@@ -114,12 +114,12 @@ newEntity{
}
newEntity{ base = "BASE_NPC_BONE_GIANT", define_as = "HALF_BONE_GIANT",
name = "Half-Finished Bone Giant", color=colors.LIGHT_UMBER, unique=true,
name = "Half-Finished Bone Giant", color=colors.VIOLET, unique=true,
desc = [[A towering creature, made from the bones of hundreds of dead bodies. It is covered by an unholy aura.
This specimen look like it was hastily assembled and is not really complete yet.]],
level_range = {7, nil}, exp_worth = 1,
rank = 4,
max_life = resolvers.rngavg(100,120),
max_life = resolvers.rngavg(100,120), life_rating = 14,
combat_armor = 20, combat_def = 0,
on_melee_hit = {[DamageType.BLIGHT]=resolvers.mbonus(5, 2)},
melee_project = {[DamageType.BLIGHT]=resolvers.mbonus(5, 2)},
......
......@@ -46,7 +46,7 @@ return {
actor = {
class = "engine.generator.actor.Random",
nb_npc = {20, 30},
gardian = "HALF_BONE_GIANT", guardian_level = 1,
guardian = "HALF_BONE_GIANT", guardian_level = 1,
},
object = {
class = "engine.generator.object.Random",
......
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