Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
tome
Tales of MajEyal
Commits
46e9e9eb
Commit
46e9e9eb
authored
10 years ago
by
Alex Ksandra
Browse files
Options
Downloads
Patches
Plain Diff
Missed Gar'Kul summon.
parent
6ab10f2d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!228
Damtype proc display
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/data/damage_types.lua
+2
-1
2 additions, 1 deletion
game/modules/tome/data/damage_types.lua
with
2 additions
and
1 deletion
game/modules/tome/data/damage_types.lua
+
2
−
1
View file @
46e9e9eb
...
...
@@ -3230,9 +3230,10 @@ newDamageType{
local
target
=
game
.
level
.
map
(
x
,
y
,
engine
.
Map
.
ACTOR
)
if
not
target
then
return
end
if
game
.
party
:
hasMember
(
src
)
and
game
.
party
:
findMember
{
type
=
"garkul spirit"
}
then
return
end
game
:
delayedLogDamage
(
src
,
target
,
0
,
(
"%s<%d%%%% orc summon chance>#LAST#"
):
format
(
DamageType
:
get
(
type
).
text_color
or
"#aaaaaa#"
,
dam
),
false
)
if
not
rng
.
percent
(
dam
)
then
return
end
game
:
delayedLogDamage
(
src
,
target
,
0
,
(
"%s<orc summon>#LAST#"
):
format
(
DamageType
:
get
(
type
).
text_color
or
"#aaaaaa#"
),
false
)
-- Find space
local
x
,
y
=
util
.
findFreeGrid
(
src
.
x
,
src
.
y
,
5
,
true
,
{[
engine
.
Map
.
ACTOR
]
=
true
})
if
not
x
then
return
end
...
...
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