1
0

Updated sounds and effect IDs (#3422)

This commit is contained in:
mathiascode
2017-02-15 07:05:24 +02:00
committed by Mattes D
parent 4311f4a658
commit dae2adde65
64 changed files with 128 additions and 353 deletions

View File

@@ -12,8 +12,8 @@
cSlime::cSlime(int a_Size) :
super("Slime",
mtSlime,
Printf("mob.slime.%s", GetSizeName(a_Size).c_str()),
Printf("mob.slime.%s", GetSizeName(a_Size).c_str()),
Printf("entity.%sslime.hurt", GetSizeName(a_Size).c_str()),
Printf("entity.%sslime.death", GetSizeName(a_Size).c_str()),
0.6 * a_Size,
0.6 * a_Size
),
@@ -93,14 +93,11 @@ void cSlime::KilledBy(TakeDamageInfo & a_TDI)
AString cSlime::GetSizeName(int a_Size)
{
if (a_Size > 1)
if (a_Size == 1)
{
return "big";
}
else
{
return "small";
return "small_";
}
return "";
}