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
5282fda8
Commit
5282fda8
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
oups
parent
5124709b
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/zones/mark-spellblaze/objects.lua
+4
-4
4 additions, 4 deletions
game/modules/tome/data/zones/mark-spellblaze/objects.lua
game/modules/tome/data/zones/sandworm-lair/objects.lua
+5
-5
5 additions, 5 deletions
game/modules/tome/data/zones/sandworm-lair/objects.lua
with
9 additions
and
9 deletions
game/modules/tome/data/zones/mark-spellblaze/objects.lua
+
4
−
4
View file @
5282fda8
...
...
@@ -42,9 +42,9 @@ newEntity{
who
.
unused_stats
=
who
.
unused_stats
+
3
who
.
unused_talents
=
who
.
unused_talents
+
1
who
.
unused_generics
=
who
.
unused_generics
+
1
game
.
logPlayer
(
who
,
"You have %d stat point(s) to spend. Press
G
to use them."
,
who
.
unused_stats
)
game
.
logPlayer
(
who
,
"You have %d class talent point(s) to spend. Press
G
to use them."
,
who
.
unused_talents
)
game
.
logPlayer
(
who
,
"You have %d generic talent point(s) to spend. Press
G
to use them."
,
who
.
unused_generics
)
game
.
logPlayer
(
who
,
"You have %d stat point(s) to spend. Press
p
to use them."
,
who
.
unused_stats
)
game
.
logPlayer
(
who
,
"You have %d class talent point(s) to spend. Press
p
to use them."
,
who
.
unused_talents
)
game
.
logPlayer
(
who
,
"You have %d generic talent point(s) to spend. Press
p
to use them."
,
who
.
unused_generics
)
if
not
who
:
attr
(
"forbid_arcane"
)
then
if
who
:
knowTalentType
(
"corruption/vile-life"
)
then
...
...
@@ -57,7 +57,7 @@ newEntity{
-- Make sure a previous amulet didnt bug it out
if
who
:
getTalentTypeMastery
(
"corruption/vile-life"
)
==
0
then
who
:
setTalentTypeMastery
(
"corruption/vile-life"
,
1
)
end
game
.
logPlayer
(
who
,
"You are transformed by the corrupted heart of the Queen!."
)
game
.
logPlayer
(
who
,
"#00FF00#You gain an affinity for blight. You can now learn new Vile Life talents (press
G
)."
)
game
.
logPlayer
(
who
,
"#00FF00#You gain an affinity for blight. You can now learn new Vile Life talents (press
p
)."
)
who
:
attr
(
"drake_touched"
,
1
)
end
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/zones/sandworm-lair/objects.lua
+
5
−
5
View file @
5282fda8
...
...
@@ -45,9 +45,9 @@ You could ... consume it, should you feel mad enough or you could try to corrupt
who
.
unused_stats
=
who
.
unused_stats
+
3
who
.
unused_talents
=
who
.
unused_talents
+
1
who
.
unused_generics
=
who
.
unused_generics
+
1
game
.
logPlayer
(
who
,
"You have %d stat point(s) to spend. Press
G
to use them."
,
who
.
unused_stats
)
game
.
logPlayer
(
who
,
"You have %d class talent point(s) to spend. Press
G
to use them."
,
who
.
unused_talents
)
game
.
logPlayer
(
who
,
"You have %d generic talent point(s) to spend. Press
G
to use them."
,
who
.
unused_generics
)
game
.
logPlayer
(
who
,
"You have %d stat point(s) to spend. Press
p
to use them."
,
who
.
unused_stats
)
game
.
logPlayer
(
who
,
"You have %d class talent point(s) to spend. Press
p
to use them."
,
who
.
unused_talents
)
game
.
logPlayer
(
who
,
"You have %d generic talent point(s) to spend. Press
p
to use them."
,
who
.
unused_generics
)
if
not
who
:
attr
(
"forbid_nature"
)
then
if
who
:
knowTalentType
(
"wild-gift/harmony"
)
then
...
...
@@ -60,7 +60,7 @@ You could ... consume it, should you feel mad enough or you could try to corrupt
-- Make sure a previous amulet didnt bug it out
if
who
:
getTalentTypeMastery
(
"wild-gift/harmony"
)
==
0
then
who
:
setTalentTypeMastery
(
"wild-gift/harmony"
,
1
)
end
game
.
logPlayer
(
who
,
"You are transformed by the heart of the Queen!."
)
game
.
logPlayer
(
who
,
"#00FF00#You gain an affinity for nature. You can now learn new Harmony talents (press
G
)."
)
game
.
logPlayer
(
who
,
"#00FF00#You gain an affinity for nature. You can now learn new Harmony talents (press
p
)."
)
who
:
attr
(
"drake_touched"
,
1
)
end
...
...
@@ -84,7 +84,7 @@ newEntity{
use_simple
=
{
name
=
"drink the vile blood"
,
use
=
function
(
self
,
who
)
game
.
logPlayer
(
who
,
"#00FFFF#You drink the wyrm bile and feel forever transformed!"
)
who
.
unused_talents_types
=
who
.
unused_talents_types
+
1
game
.
log
(
"You have %d category point(s) to spend. Press
G
to use them."
,
who
.
unused_talents_types
)
game
.
log
(
"You have %d category point(s) to spend. Press
p
to use them."
,
who
.
unused_talents_types
)
local
str
,
dex
,
con
,
mag
,
wil
,
cun
=
rng
.
range
(
-
3
,
6
),
rng
.
range
(
-
3
,
6
),
rng
.
range
(
-
3
,
6
),
rng
.
range
(
-
3
,
6
),
rng
.
range
(
-
3
,
6
),
rng
.
range
(
-
3
,
6
)
who
:
incStat
(
"str"
,
str
)
if
str
>=
0
then
str
=
"+"
..
str
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