summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Guardian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Guardian.cpp')
-rw-r--r--src/Mobs/Guardian.cpp21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/Mobs/Guardian.cpp b/src/Mobs/Guardian.cpp
index f9c80d1e5..2fe4e3dec 100644
--- a/src/Mobs/Guardian.cpp
+++ b/src/Mobs/Guardian.cpp
@@ -9,7 +9,15 @@
cGuardian::cGuardian(void) :
- Super("Guardian", mtGuardian, "entity.guardian.hurt", "entity.guardian.death", "entity.guardian.ambient", 0.85f, 0.85f)
+ Super(
+ "Guardian",
+ mtGuardian,
+ "entity.guardian.hurt",
+ "entity.guardian.death",
+ "entity.guardian.ambient",
+ 0.85f,
+ 0.85f
+ )
{
}
@@ -27,7 +35,12 @@ void cGuardian::GetDrops(cItems & a_Drops, cEntity * a_Killer)
}
AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_PRISMARINE_SHARD);
AddRandomDropItem(a_Drops, 0, 1 + LootingLevel, E_ITEM_RAW_FISH);
- AddRandomDropItem(a_Drops, 0, 1 + LootingLevel, E_ITEM_PRISMARINE_CRYSTALS); // TODO: Prismarine Crystals only drop if the raw fish drop is 0
+ AddRandomDropItem(
+ a_Drops,
+ 0,
+ 1 + LootingLevel,
+ E_ITEM_PRISMARINE_CRYSTALS
+ ); // TODO: Prismarine Crystals only drop if the raw fish drop is 0
}
@@ -50,7 +63,3 @@ void cGuardian::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
Super::Tick(a_Dt, a_Chunk);
}
-
-
-
-