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

rat tiles :)

git-svn-id: http://svn.net-core.org/repos/t-engine4@5324 51575b47-30f0-44d4-a5cc-537603b46e54
parent 15605ada
No related branches found
No related tags found
No related merge requests found
......@@ -1210,7 +1210,7 @@ function _M:setupCommands()
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
-- self:registerDialog(require("mod.dialogs.DownloadCharball").new())
local f, err = loadfile("/data/general/events/old-battle-field.lua")
local f, err = loadfile("/data/general/events/rat-lich.lua")
print(f, err)
setfenv(f, setmetatable({level=self.level, zone=self.zone}, {__index=_G}))
print(pcall(f))
......
......@@ -282,6 +282,7 @@ newEntity{ base = "BASE_NPC_MAJOR_DEMON",
newEntity{ base = "BASE_NPC_MAJOR_DEMON",
name = "General of Urh'Rok", --Give actual name?
color=colors.DARK_RED, unique=true,
resolvers.nice_tile{image="invis.png", add_mos = {{image="npc/demon_major_general_of_urh_rok.png", display_h=2, display_y=-1}}},
desc = [[This massive form, sheathed in dark flames, stands tall above a legion of lesser demons. In his hands he holds a massive blacked battleaxe, flames dancing around the blades.]],
level_range = {40, nil}, exp_worth = 1,
rarity = 50,
......@@ -302,7 +303,7 @@ newEntity{ base = "BASE_NPC_MAJOR_DEMON",
melee_project = {[DamageType.FIRE]=resolvers.mbonus(25, 35)},
knockback_immune = 1,
summon = {
{type="demon", number=2, hasxp=false},
},
......
......@@ -151,6 +151,7 @@ newEntity{ base = "BASE_NPC_UNDEAD_RAT",
newEntity{ base = "BASE_NPC_UNDEAD_RAT",
name = "gigantic bone rat", color=colors.LIGHTGREY,
desc = [[This massive beast appears to be a rat composed of countless bones fused together.]],
resolvers.nice_tile{image="invis.png", add_mos = {{image="npc/undead_rodent_gigantic_bone_rat.png", display_h=2, display_y=-1}}},
level_range = {14, nil}, exp_worth = 1,
rarity = 6,
max_life = resolvers.rngavg(60,80),
......
game/modules/tome/data/gfx/shockbolt/npc/demon_major_general_of_urh_rok.png

12.2 KiB

game/modules/tome/data/gfx/shockbolt/npc/undead_rodent_ghoulish_rat.png

8.37 KiB

game/modules/tome/data/gfx/shockbolt/npc/undead_rodent_gigantic_bone_rat.png

11.9 KiB

game/modules/tome/data/gfx/shockbolt/npc/undead_rodent_rat_lich.png

9.14 KiB

game/modules/tome/data/gfx/shockbolt/npc/undead_rodent_spectral_rat.png

10.6 KiB

game/modules/tome/data/gfx/shockbolt/npc/undead_rodent_vampire_rat.png

8.03 KiB

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