diff options
Diffstat (limited to 'src/Mobs/CaveSpider.cpp')
-rw-r--r-- | src/Mobs/CaveSpider.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Mobs/CaveSpider.cpp b/src/Mobs/CaveSpider.cpp index 118a6e93b..09bb6c2f5 100644 --- a/src/Mobs/CaveSpider.cpp +++ b/src/Mobs/CaveSpider.cpp @@ -19,23 +19,6 @@ cCaveSpider::cCaveSpider(void) : void cCaveSpider::Tick(float a_Dt, cChunk & a_Chunk) { super::Tick(a_Dt, a_Chunk); - - m_EMPersonality = (GetWorld()->GetTimeOfDay() < (12000 + 1000)) ? PASSIVE : AGGRESSIVE; -} - - - - - -void cCaveSpider::Attack(float a_Dt) -{ - super::Attack(a_Dt); - - if (m_Target->IsPawn()) - { - // TODO: Easy = no poison, Medium = 7 seconds, Hard = 15 seconds - ((cPawn *) m_Target)->AddEntityEffect(cEntityEffect::effPoison, 7 * 20, 0); - } } |