summaryrefslogtreecommitdiff
path: root/src/creature.cpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-05-08 16:16:59 -0500
committertom <tom@ground-control>2015-05-08 16:16:59 -0500
commit83d23230a3d71d76ee5e0368e071273beaa6d1b4 (patch)
treed617951e5d897ab79efdc061d541c860c2569fd5 /src/creature.cpp
parentef2d82b47654dff444263ae149aec0d416a4f405 (diff)
death now works properly
Diffstat (limited to 'src/creature.cpp')
-rw-r--r--src/creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creature.cpp b/src/creature.cpp
index 5c3bb8e..dcc8337 100644
--- a/src/creature.cpp
+++ b/src/creature.cpp
@@ -14,7 +14,7 @@ Creature::Creature(Window m, std::string s) //Constructor
void Creature::Behavior()
{
- health--; //Decrements health each time a behavior is executed
+ health-=5; //Decrements health each time a behavior is executed
this->Priority(); //Checks which action has priority (doesn't really do this right now)
this->Action(); //Does action
}