Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
412 B · 19 lines
C++
at master
12345678910111213141516171819#include "stdafx.h"
#include "AttackDamageMobEffect.h"
AttackDamageMobEffect::AttackDamageMobEffect(int id, bool isHarmful, eMinecraftColour color) : MobEffect(id, isHarmful, color){}
double AttackDamageMobEffect::getAttributeModifierValue(int amplifier, AttributeModifier *original){ if (id == MobEffect::weakness->id) { return -0.5f * (amplifier + 1); } else { return 1.3 * (amplifier + 1); }}