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
3604f122
Commit
3604f122
authored
8 years ago
by
Chris Davidson
Browse files
Options
Downloads
Patches
Plain Diff
Add a 3x power point multiplier to rare items
Double the point gain bonus of a failed ego application
parent
aae46188
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!400
Items misc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/class/GameState.lua
+2
-2
2 additions, 2 deletions
game/modules/tome/class/GameState.lua
with
2 additions
and
2 deletions
game/modules/tome/class/GameState.lua
+
2
−
2
View file @
3604f122
...
...
@@ -606,7 +606,7 @@ function _M:generateRandart(data)
else
-- no ego found: increase budget for random powers to compensate
local
xpoints
=
gr_ego
and
8
or
5
print
((
" ** no ego found (+%d points)"
):
format
(
xpoints
))
points
=
points
+
xpoints
points
=
points
+
(
xpoints
*
2
)
end
end
-- o.egos = nil o.egos_chance = nil o.force_ego = nil
...
...
@@ -1520,7 +1520,7 @@ function _M:entityFilterPost(zone, level, type, e, filter)
end
-- Drop
for
i
=
1
,
data
.
nb_rares
do
-- generate rares as weak (1 ego) randarts
local
fil
=
{
lev
=
lev
,
egos
=
1
,
greater_egos_bias
=
1
,
forbid_power_source
=
b
.
not_power_source
,
local
fil
=
{
lev
=
lev
,
egos
=
1
,
greater_egos_bias
=
0
,
power_points_factor
=
3
,
forbid_power_source
=
b
.
not_power_source
,
base_filter
=
{
no_tome_drops
=
true
,
ego_filter
=
{
keep_egos
=
true
,
ego_chance
=-
1000
},
special
=
function
(
e
)
return
(
not
e
.
unique
and
e
.
randart_able
)
and
(
not
e
.
material_level
or
e
.
material_level
>=
1
)
and
true
or
false
...
...
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