Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Otowa Kotori
Tales of MajEyal
Commits
f370b401
Commit
f370b401
authored
14 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
desc
git-svn-id:
http://svn.net-core.org/repos/t-engine4@1531
51575b47-30f0-44d4-a5cc-537603b46e54
parent
95306c5b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/class/Object.lua
+4
-1
4 additions, 1 deletion
game/modules/tome/class/Object.lua
with
4 additions
and
1 deletion
game/modules/tome/class/Object.lua
+
4
−
1
View file @
f370b401
...
...
@@ -203,13 +203,16 @@ function _M:getTextualDesc()
desc
:
add
((
"%d Power [Range %0.2f] (%s), %d Attack, %d Armor Penetration, Crit %d%%"
):
format
(
self
.
combat
.
dam
or
0
,
self
.
combat
.
damrange
or
1
.
1
,
table.concat
(
dm
,
','
),
self
.
combat
.
atk
or
0
,
self
.
combat
.
apr
or
0
,
self
.
combat
.
physcrit
or
0
),
true
)
desc
:
add
(
"Damage type: "
..
DamageType
:
get
(
self
.
combat
.
damtype
or
DamageType
.
PHYSICAL
).
name
,
true
)
if
self
.
combat
.
range
then
desc
:
add
(
"Firing range: "
..
self
.
combat
.
range
,
true
)
end
desc
:
add
(
true
)
if
self
.
combat
.
talent_on_hit
then
for
tid
,
data
in
pairs
(
self
.
combat
.
talent_on_hit
)
do
desc
:
add
((
"Talent on hit(melee): %d%% chance %s (level %d)."
):
format
(
data
.
chance
,
self
:
getTalentFromId
(
tid
).
name
,
data
.
level
),
true
)
end
end
if
self
.
combat
.
no_stealth_break
then
desc
:
add
(
"When used from stealth a simple attack with it will not break stealth."
,
true
)
end
end
local
desc_wielder
=
function
(
w
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment