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
Compare Revisions
4f8f844f38f103e3f1ca4a4cee215b14f214c1d7...c478d2bbc9fcd93984e851e60efd95c4168f0feb
Commits (1)
Fix STR gain after defeating a trainer.
· c478d2bb
Deucе
authored
Apr 19, 2022
You get str_gained, not str. :(
c478d2bb
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)+'.');
...
...