diff options
author | archshift <admin@archshift.com> | 2014-06-08 06:56:01 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:20 +0200 |
commit | 58f35af6e71f11844b9c6c1d1ebd2d7390439cca (patch) | |
tree | ba93d854c83bebfc32f691be795564c975a734cc /src/Entities/EntityEffects.h | |
parent | Entity: only fire critical hit if damage type is physical (diff) | |
download | cuberite-58f35af6e71f11844b9c6c1d1ebd2d7390439cca.tar cuberite-58f35af6e71f11844b9c6c1d1ebd2d7390439cca.tar.gz cuberite-58f35af6e71f11844b9c6c1d1ebd2d7390439cca.tar.bz2 cuberite-58f35af6e71f11844b9c6c1d1ebd2d7390439cca.tar.lz cuberite-58f35af6e71f11844b9c6c1d1ebd2d7390439cca.tar.xz cuberite-58f35af6e71f11844b9c6c1d1ebd2d7390439cca.tar.zst cuberite-58f35af6e71f11844b9c6c1d1ebd2d7390439cca.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/EntityEffects.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Entities/EntityEffects.h b/src/Entities/EntityEffects.h index 137eb6480..e6b5bdd5d 100644 --- a/src/Entities/EntityEffects.h +++ b/src/Entities/EntityEffects.h @@ -47,6 +47,10 @@ public: /** Returns the distance modifier for affecting potency */ double GetDistanceModifier() { return m_DistanceModifier; } + void SetIntensity(short a_Intensity) { m_Intensity = a_Intensity; } + void SetUser(cPawn *a_User) { m_User = a_User; } + void SetDistanceModifier(double a_DistanceModifier) { m_DistanceModifier = a_DistanceModifier; } + /** * An empty entity effect */ |