summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasy98 <masy@antheruscraft.de>2014-12-19 16:06:43 +0100
committerMasy98 <masy@antheruscraft.de>2014-12-19 16:06:43 +0100
commit5cfb6063c37243477ea79319706dae7cdde27ab2 (patch)
tree9a70b99863a3ca039881c0e42d84d4b21a8b6e43
parentGuardian can now spawn if wanted!? (diff)
downloadcuberite-5cfb6063c37243477ea79319706dae7cdde27ab2.tar
cuberite-5cfb6063c37243477ea79319706dae7cdde27ab2.tar.gz
cuberite-5cfb6063c37243477ea79319706dae7cdde27ab2.tar.bz2
cuberite-5cfb6063c37243477ea79319706dae7cdde27ab2.tar.lz
cuberite-5cfb6063c37243477ea79319706dae7cdde27ab2.tar.xz
cuberite-5cfb6063c37243477ea79319706dae7cdde27ab2.tar.zst
cuberite-5cfb6063c37243477ea79319706dae7cdde27ab2.zip
Diffstat (limited to '')
m---------MCServer/Plugins/ProtectionAreas0
-rw-r--r--MCServer/monsters.ini7
-rw-r--r--src/Mobs/Guardian.cpp2
3 files changed, 8 insertions, 1 deletions
diff --git a/MCServer/Plugins/ProtectionAreas b/MCServer/Plugins/ProtectionAreas
-Subproject 7765048fa740b8f119db72a4ccc546504f86b2a
+Subproject 624580e5b522ba2799dfe5b5902b4002b1a8da3
diff --git a/MCServer/monsters.ini b/MCServer/monsters.ini
index c4bc8c810..70c845b5c 100644
--- a/MCServer/monsters.ini
+++ b/MCServer/monsters.ini
@@ -192,3 +192,10 @@ AttackDamage=0.0
SightDistance=25.0
MaxHealth=6
+[Guardian]
+AttackRange=2.0
+AttackRate=1
+AttackDamage=9.0
+SightDistance=25.0
+MaxHealth=30
+
diff --git a/src/Mobs/Guardian.cpp b/src/Mobs/Guardian.cpp
index 166057865..d69ee1683 100644
--- a/src/Mobs/Guardian.cpp
+++ b/src/Mobs/Guardian.cpp
@@ -10,7 +10,7 @@
cGuardian::cGuardian(void) :
- super("Guardian", mtGuardian, "mob.guardian.idle", "mob.guardian.death", 0.95, 0.95)
+ super("Guardian", mtGuardian, "mob.guardian.idle", "mob.guardian.death", 0.875, 0.8)
{
}