Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
c478d2bb
Commit
c478d2bb
authored
Apr 19, 2022
by
Deucе
👌🏾
Browse files
Fix STR gain after defeating a trainer.
You get str_gained, not str. :(
parent
4f8f844f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xtrn/lord/lord.js
xtrn/lord/lord.js
+2
-2
No files found.
xtrn/lord/lord.js
View file @
c478d2bb
...
...
@@ -15060,11 +15060,11 @@ function turgons()
sln('');
player.hp_max += trainer.hp_gained;
player.hp = player.hp_max;
player.str += trainer.str;
player.str += trainer.str
_gained
;
player.def += trainer.def;
player.level += 1;
lw('`2 You receive `0'+pretty_int(trainer.hp_gained)+'`2 hitpoints,');
lw(' `0'+pretty_int(trainer.str)+'`2 strength');
lw(' `0'+pretty_int(trainer.str
_gained
)+'`2 strength');
lln(' and `0'+pretty_int(trainer.def)+'`2 defense points!');
sln('');
lln(' `%YOU ARE NOW LEVEL '+pretty_int(player.level)+'.');
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment