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

test

git-svn-id: http://svn.net-core.org/repos/t-engine4@4267 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5f793cd3
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,8 @@ function _M:init(actor, x, y, w, h, bgcolor, fontname, fontsize, icon_w, icon_h)
setmetatable(self.cache, {__mode="v"})
self.icon_w, self.icon_h = icon_w, icon_h
self.tiles = Tiles.new(icon_w, icon_h, fontname or "/data/font/VeraMono.ttf", fontsize or 10, true, true)
self.tiles.use_images = true
self.tiles.force_back_color = {r=0, g=0, b=0}
local fw, fh = core.display.loadImage("/data/gfx/ui/talent_frame_ok.png"):getSize()
self.frames = {w=math.floor(fw * icon_w / 64), h=math.floor(fh * icon_h / 64), rw=icon_w / 64, rh=icon_h / 64}
......
......@@ -304,6 +304,7 @@ newEntity{ base = "BASE_HELM",
combat_armor = 6,
fatigue = 8,
inc_stats = { [Stats.STAT_STR] = 5, [Stats.STAT_CON] = 5, [Stats.STAT_WIL] = 4 },
inc_damage={ [DamageType.PHYSICAL] = 10, },
combat_physresist = 12,
combat_mentalresist = 12,
combat_spellresist = 12,
......
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