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
62b4637b
Commit
62b4637b
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
update contingency
parent
7b095511
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/talents/chronomancy/chronomancy.lua
+3
-7
3 additions, 7 deletions
game/modules/tome/data/talents/chronomancy/chronomancy.lua
game/modules/tome/dialogs/talents/ChronomancyContingency.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/dialogs/talents/ChronomancyContingency.lua
with
4 additions
and
8 deletions
game/modules/tome/data/talents/chronomancy/chronomancy.lua
+
3
−
7
View file @
62b4637b
...
...
@@ -124,13 +124,9 @@ newTalent{
return
tostring
(
math.ceil
(
val
)),
fnt
end
,
activate
=
function
(
self
,
t
)
local
d
=
require
(
"mod.dialogs.talents.ChronomancyContingency"
).
new
(
self
)
game
:
registerDialog
(
d
)
local
co
=
coroutine.running
()
d
.
unload
=
function
()
coroutine.resume
(
co
,
d
.
contingecy_talent
)
end
if
not
coroutine.yield
()
then
return
nil
end
local
talent
=
d
.
contingecy_talent
local
talent
=
self
:
talentDialog
(
require
(
"mod.dialogs.talents.ChronomancyContingency"
).
new
(
self
))
if
not
talent
then
return
nil
end
return
{
talent
=
talent
,
rest_count
=
0
}
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/dialogs/talents/ChronomancyContingency.lua
+
1
−
1
View file @
62b4637b
...
...
@@ -83,7 +83,7 @@ end
function
_M
:
use
(
item
)
if
not
item
or
not
item
.
talent
then
return
end
self
.
contingecy_talent
=
item
.
talent
self
.
actor
:
talentDialogReturn
(
item
.
talent
)
game
:
unregisterDialog
(
self
)
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