diff options
author | archshift <admin@archshift.com> | 2014-06-09 03:44:20 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:20 +0200 |
commit | 2574573c883fd7b5d19d19547f34dbef6820b5ea (patch) | |
tree | 879dbef1bc12ff5924f9b5b012b190f04c5fe63e /src/Entities | |
parent | Applies splash potion effects to mobs as well as players (diff) | |
download | cuberite-2574573c883fd7b5d19d19547f34dbef6820b5ea.tar cuberite-2574573c883fd7b5d19d19547f34dbef6820b5ea.tar.gz cuberite-2574573c883fd7b5d19d19547f34dbef6820b5ea.tar.bz2 cuberite-2574573c883fd7b5d19d19547f34dbef6820b5ea.tar.lz cuberite-2574573c883fd7b5d19d19547f34dbef6820b5ea.tar.xz cuberite-2574573c883fd7b5d19d19547f34dbef6820b5ea.tar.zst cuberite-2574573c883fd7b5d19d19547f34dbef6820b5ea.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Pawn.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Entities/Pawn.cpp b/src/Entities/Pawn.cpp index 297b4afda..fee595e54 100644 --- a/src/Entities/Pawn.cpp +++ b/src/Entities/Pawn.cpp @@ -115,8 +115,6 @@ void cPawn::HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect { // Base heal = 6, doubles for every increase in intensity Heal(6 * std::pow(2, a_Effect.GetIntensity()) * a_Effect.GetDistanceModifier()); - - // TODO: Harms undead return; } case cEntityEffect::effInstantDamage: @@ -124,8 +122,6 @@ void cPawn::HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect // Base damage = 6, doubles for every increase in intensity int damage = 6 * std::pow(2, a_Effect.GetIntensity()); TakeDamage(dtPotionOfHarming, a_Effect.GetUser(), damage * a_Effect.GetDistanceModifier(), 0); - - // TODO: Heals undead return; } case cEntityEffect::effStrength: @@ -154,7 +150,6 @@ void cPawn::HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect counter = 0; } - // TODO: Doesn't effect undead return; } case cEntityEffect::effPoison: @@ -173,7 +168,6 @@ void cPawn::HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect counter = 0; } - // TODO: Doesn't effect undead or spiders return; } case cEntityEffect::effFireResistance: |