changeset 1:81acf2c701fe

Updating to version 1.1 -- increases damage.
author jrvanwhy <jrvanwhy@curseforge.com>
date Sat, 24 Sep 2011 16:10:26 -0700
parents f159d9d17589
children 6e1b14cf27cc
files src/net/jrvanwhy/watermonster/WaterEntity.java src/plugin.yml
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/net/jrvanwhy/watermonster/WaterEntity.java	Sat Sep 24 15:45:30 2011 -0700
+++ b/src/net/jrvanwhy/watermonster/WaterEntity.java	Sat Sep 24 16:10:26 2011 -0700
@@ -16,7 +16,7 @@
 	double soundTimer = 1.0;
 	LivingEntity target = null;
 
-	static final int MonsterDamage = 1;
+	static final int MonsterDamage = 5;
 
 	public WaterEntity(WaterMonster instance) {
 		plugin = instance;
@@ -48,8 +48,8 @@
 			        .equals(Material.STATIONARY_WATER) &&
 			    (closestDist < 0.0 ||
 			        entities.get(i).getLocation()
-			        .distance(location) < closestDist)/* &&
-			    !(entities.get(i) instanceof Animals)*/) {
+			        .distance(location) < closestDist) &&
+			    !(entities.get(i) instanceof Animals)) {
 
 				closestEntity = entities.get(i);
 				closestDist = entities.get(i).getLocation().distance(location);
--- a/src/plugin.yml	Sat Sep 24 15:45:30 2011 -0700
+++ b/src/plugin.yml	Sat Sep 24 16:10:26 2011 -0700
@@ -1,3 +1,3 @@
 name: WaterMonster
 main: net.jrvanwhy.watermonster.WaterMonster
-version: 1.0
\ No newline at end of file
+version: 1.1
\ No newline at end of file