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
9848f5ae
Commit
9848f5ae
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
rune of reflection worsk with grisly constitution
parent
2ae54751
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/data/general/objects/boss-artifacts.lua
+4
-0
4 additions, 0 deletions
game/modules/tome/data/general/objects/boss-artifacts.lua
game/modules/tome/data/talents/misc/inscriptions.lua
+9
-3
9 additions, 3 deletions
game/modules/tome/data/talents/misc/inscriptions.lua
with
13 additions
and
3 deletions
game/modules/tome/data/general/objects/boss-artifacts.lua
+
4
−
0
View file @
9848f5ae
...
...
@@ -157,6 +157,10 @@ newEntity{ base = "BASE_RUNE", define_as = "RUNE_REFLECT",
inscription_kind
=
"protect"
,
inscription_data
=
{
cooldown
=
15
,
dur
=
5
,
power
=
100
,
use_stat_mod
=
5
,
use_stat
=
"mag"
,
},
inscription_talent
=
"RUNE:_REFLECTION_SHIELD"
,
}
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/talents/misc/inscriptions.lua
+
9
−
3
View file @
9848f5ae
...
...
@@ -510,17 +510,23 @@ newInscription{
end
,
action
=
function
(
self
,
t
)
local
data
=
self
:
getInscriptionData
(
t
.
short_name
)
self
:
setEffect
(
self
.
EFF_DAMAGE_SHIELD
,
5
,
{
power
=
100
+
5
*
self
:
getMag
(),
reflect
=
100
})
local
power
=
100
+
5
*
self
:
getMag
()
if
data
.
power
and
data
.
inc_stat
then
power
=
data
.
power
+
data
.
inc_stat
end
self
:
setEffect
(
self
.
EFF_DAMAGE_SHIELD
,
data
.
dur
or
5
,
{
power
=
power
,
reflect
=
100
})
return
true
end
,
info
=
function
(
self
,
t
)
local
data
=
self
:
getInscriptionData
(
t
.
short_name
)
local
power
=
100
+
5
*
self
:
getMag
()
if
data
.
power
and
data
.
inc_stat
then
power
=
data
.
power
+
data
.
inc_stat
end
return
(
[[Activate the rune to create a protective shield absorbing and reflecting at most %d damage for %d turns.
The effect will scale with your magic stat.]]
):
format
(
100
+
5
*
self
:
getMag
(),
5
)
The effect will scale with your magic stat.]]
):
format
(
power
,
data
.
dur
or
5
)
end
,
short_info
=
function
(
self
,
t
)
local
data
=
self
:
getInscriptionData
(
t
.
short_name
)
return
(
[[absorb and reflect %d for %d turns]]
):
format
(
100
+
5
*
self
:
getMag
(),
5
)
local
power
=
100
+
5
*
self
:
getMag
()
if
data
.
power
and
data
.
inc_stat
then
power
=
data
.
power
+
data
.
inc_stat
end
return
(
[[absorb and reflect %d for %d turns]]
):
format
(
power
,
data
.
dur
or
5
)
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