diff options
-rw-r--r-- | src/Mobs/Blaze.cpp | 9 | ||||
-rw-r--r-- | src/Mobs/Skeleton.cpp | 2 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/Mobs/Blaze.cpp b/src/Mobs/Blaze.cpp index 34c784737..444c8ef39 100644 --- a/src/Mobs/Blaze.cpp +++ b/src/Mobs/Blaze.cpp @@ -12,22 +12,19 @@ void FireballShootingFunction(cBehaviorAttackerRanged & a_Behavior, UNUSED(a_Behavior); // Setting this higher gives us more wiggle room for attackrate - Vector3d Speed = a_Attacker.GetLookVector() * 4; + Vector3d Speed = a_Attacker.GetLookVector() * 20; Speed.y = Speed.y + 3; auto FireCharge = cpp14::make_unique<cFireChargeEntity>(&a_Attacker, - a_Attacked.GetPosX(), a_Attacked.GetPosY() + 1, a_Attacked.GetPosZ(), Speed); + a_Attacker.GetPosX(), a_Attacker.GetPosY() + 1, a_Attacker.GetPosZ(), Speed); auto FireChargePtr = FireCharge.get(); FireChargePtr->Initialize(std::move(FireCharge), *(a_Attacker.GetWorld())); } - - - cBlaze::cBlaze(void) : super(mtBlaze, "entity.blaze.hurt", "entity.blaze.death", 0.6, 1.8), - m_BehaviorAttackerRanged(FireballShootingFunction, 3, 5) + m_BehaviorAttackerRanged(FireballShootingFunction, 3, 15) { m_EMPersonality = AGGRESSIVE; m_BehaviorAttackerRanged.AttachToMonster(*this); diff --git a/src/Mobs/Skeleton.cpp b/src/Mobs/Skeleton.cpp index 4567ce1d1..3e74ebeeb 100644 --- a/src/Mobs/Skeleton.cpp +++ b/src/Mobs/Skeleton.cpp @@ -16,7 +16,7 @@ void ArrowShootingFunction(cBehaviorAttackerRanged & a_Behavior, Speed.y += Random.RandInt(-1, 1); auto Arrow = cpp14::make_unique<cArrowEntity>(&a_Attacker, - a_Attacked.GetPosX(), a_Attacked.GetPosY() + 1, a_Attacked.GetPosZ(), Speed); + a_Attacker.GetPosX(), a_Attacker.GetPosY() + 1, a_Attacker.GetPosZ(), Speed); auto ArrowPtr = Arrow.get(); ArrowPtr->Initialize(std::move(Arrow), *(a_Attacker.GetWorld())); } |