summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-12-14 19:53:52 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-12-23 11:52:55 -0800
commit98225193b93906351dfe2ad594a390997e301584 (patch)
tree6ffab1b1bc435ad17a2b1351699f8aac43e231d3 /src
parentafc52a3e6a8dd275d48a5e21cb15086b3ec63b5b (diff)
downloadtmwa-98225193b93906351dfe2ad594a390997e301584.tar.gz
tmwa-98225193b93906351dfe2ad594a390997e301584.tar.bz2
tmwa-98225193b93906351dfe2ad594a390997e301584.tar.xz
tmwa-98225193b93906351dfe2ad594a390997e301584.zip
Make a formatter for lex files
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.cpp b/src/map/skill.cpp
index 3fdd45d..5c8ba09 100644
--- a/src/map/skill.cpp
+++ b/src/map/skill.cpp
@@ -842,6 +842,7 @@ void skill_status_change_timer(TimerData *tid, tick_t tick, int id, StatusChange
{
if (bl->bl_type == BL::PC)
{
+ // TODO boundscheck this
hp = 3 + hp * 3 / 200;
pc_heal(bl->is_player(), -hp, 0);
}