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
yutio888
Tales of MajEyal
Commits
b9a7a0e2
Commit
b9a7a0e2
authored
14 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
up
git-svn-id:
http://svn.net-core.org/repos/t-engine4@2029
51575b47-30f0-44d4-a5cc-537603b46e54
parent
e58187f4
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/Game.lua
+3
-3
3 additions, 3 deletions
game/modules/tome/class/Game.lua
game/modules/tome/class/GameState.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/class/GameState.lua
with
4 additions
and
4 deletions
game/modules/tome/class/Game.lua
+
3
−
3
View file @
b9a7a0e2
...
...
@@ -680,7 +680,7 @@ function _M:setupCommands()
if
config
.
settings
.
tome
.
cheat
then
self
.
player
:
incStat
(
"str"
,
100
)
self
.
player
:
incStat
(
"dex"
,
100
)
self
.
player
:
incStat
(
"mag"
,
100
)
self
.
player
:
incStat
(
"wil"
,
100
)
self
.
player
:
incStat
(
"cun"
,
100
)
self
.
player
:
incStat
(
"con"
,
100
)
self
.
player
:
learnTalent
(
self
.
player
.
T_HEAVY_ARMOUR_TRAINING
,
true
)
self
.
player
:
learnTalent
(
self
.
player
.
T_MASSIVE_ARMOUR_TRAINING
,
true
)
--
[[
--[[
for i, e in ipairs(self.zone.object_list) do
if e.unique and e.define_as ~= "VOICE_SARUMAN" and e.define_as ~= "ORB_MANY_WAYS_DEMON" then
local a = self.zone:finishEntity(self.level, "object", e)
...
...
@@ -690,9 +690,9 @@ function _M:setupCommands()
end
end
--]]
--[[
--
[[
for
i
=
1
,
50
do
local a = self.zone:makeEntity(self.level, "object", {type="
scroll
", ego_chance=
-10
0, add_levels=50}, nil, true)
local
a
=
self
.
zone
:
makeEntity
(
self
.
level
,
"object"
,
{
type
=
"
ammo
"
,
ego_chance
=
0
,
add_levels
=
50
},
nil
,
true
)
if
a
then
a
:
identify
(
true
)
self
.
zone
:
addEntity
(
self
.
level
,
a
,
"object"
,
self
.
player
.
x
,
self
.
player
.
y
)
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/class/GameState.lua
+
1
−
1
View file @
b9a7a0e2
...
...
@@ -157,7 +157,7 @@ function _M:generateRandart(add, base, lev)
local
powers_list
=
self
.
randart_powers
-- Setup level
lev
=
lev
or
rng
.
range
(
5
,
50
)
lev
=
lev
or
rng
.
range
(
12
,
50
)
local
oldlev
=
game
.
level
.
level
game
.
level
.
level
=
lev
...
...
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