blob: 0aca1ec49f35f33952164ebeba2ace87de358710 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "stdafx.h"
#include "net.minecraft.world.effect.h"
InstantenousMobEffect::InstantenousMobEffect(int id, bool isHarmful, eMinecraftColour color) : MobEffect(id, isHarmful, color)
{
}
bool InstantenousMobEffect::isInstantenous()
{
return true;
}
bool InstantenousMobEffect::isDurationEffectTick(int remainingDuration, int amplification)
{
return remainingDuration >= 1;
}
|