A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.

Dependencies:   mbed MotionSensor

Revision:
46:f09711580d4a
Parent:
44:cc4cecfc639f
Child:
51:4d0cd75e7ed3
diff -r 8725b4171646 -r f09711580d4a Entity/Bosses/Skull/Skull.cpp
--- a/Entity/Bosses/Skull/Skull.cpp	Wed May 08 12:40:52 2019 +0000
+++ b/Entity/Bosses/Skull/Skull.cpp	Wed May 08 20:47:52 2019 +0000
@@ -2,7 +2,7 @@
 #include <complex>
 Skull::Skull(float pos_x, float pos_y)
 {
-    hp = 2;
+    hp = 20;
     attack = 1;
     
     _dash = false;
@@ -32,7 +32,7 @@
     face = 2;
     
     velocity = 0.2;
-    _hp_drop_chance = 100;
+    _hp_drop_chance = 0;
 }
 
 void Skull::move(float player_x, float player_y, char * map, bool * doorways)