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
30fbd255
Commit
30fbd255
authored
5 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Revert "High Peak levels become smaller towards the end (but keep the same number of foes inside)"
This reverts commit
f5ff2dc3
.
parent
0caf02a7
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/class/Object.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/class/Object.lua
game/modules/tome/data/zones/high-peak/zone.lua
+1
-17
1 addition, 17 deletions
game/modules/tome/data/zones/high-peak/zone.lua
with
2 additions
and
18 deletions
game/modules/tome/class/Object.lua
+
1
−
1
View file @
30fbd255
...
...
@@ -2098,7 +2098,7 @@ function _M:getTextualDesc(compare_with, use_actor)
for
_
,
data
in
ipairs
(
v
[
field
]
and
(
v
[
field
].
talent_on_mind
or
{})
or
{})
do
if
data
.
talent
then
local
tid
=
data
.
talent
if
not
talents
[
tid
]
or
talents
[
tid
][
1
]
~=
data
.
chance
or
talents
[
tid
][
2
]
~=
data
.
level
then
desc
:
add
({
"color"
,
"RED"
},
(
"Talent on hit(
nature
): %s (%d%% chance level %d)."
):
format
(
self
:
getTalentFromId
(
tid
).
name
,
data
.
chance
,
data
.
level
),
{
"color"
,
"LAST"
},
true
)
desc
:
add
({
"color"
,
"RED"
},
(
"Talent on hit(
mindpower
): %s (%d%% chance level %d)."
):
format
(
self
:
getTalentFromId
(
tid
).
name
,
data
.
chance
,
data
.
level
),
{
"color"
,
"LAST"
},
true
)
else
talents
[
tid
][
3
]
=
true
end
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/zones/high-peak/zone.lua
+
1
−
17
View file @
30fbd255
...
...
@@ -61,7 +61,7 @@ return {
{
type
=
"undead"
,
subtype
=
"giant"
,
random_boss
=
{
rank
=
3
.
5
,
loot_quantity
=
2
,}},
{
type
=
"horror"
,
random_boss
=
{
rank
=
3
.
5
,
loot_quantity
=
2
,}},
},
nb_npc
=
{
35
,
4
0
},
nb_npc
=
{
20
,
3
0
},
},
object
=
{
class
=
"engine.generator.object.Random"
,
...
...
@@ -187,23 +187,7 @@ return {
},
},
},
[
5
]
=
{
width
=
50
,
height
=
75
,
},
[
6
]
=
{
width
=
40
,
height
=
65
,
},
[
7
]
=
{
width
=
40
,
height
=
55
,
},
[
8
]
=
{
width
=
40
,
height
=
40
,
},
[
9
]
=
{
width
=
35
,
height
=
35
,
},
[
10
]
=
{
width
=
30
,
height
=
30
,
generator
=
{
map
=
{
down
=
"PORTAL_BOSS"
,
...
...
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