1
0

Add BurnsInDaylight to Lua API and Monsters.ini (#4295)

* Monster.h: Export SetBurnsInDaylight

This commit also adds BurnsInDaylight to check if the Monster burns in daylight
or not.

Closes https://github.com/cuberite/cuberite/issues/4294

* MonsterConfig.cpp: Add BurnsInDaylight

Closes https://github.com/cuberite/cuberite/issues/4294
This commit is contained in:
Muhammad Kaisar Arkhan
2018-09-25 03:32:47 +07:00
committed by Alexander Harkness
parent ee84197014
commit 73689024f0
6 changed files with 40 additions and 16 deletions

View File

@@ -13,7 +13,6 @@ cSkeleton::cSkeleton(bool IsWither) :
super("Skeleton", mtSkeleton, "entity.skeleton.hurt", "entity.skeleton.death", 0.6, 1.8),
m_bIsWither(IsWither)
{
SetBurnsInDaylight(true);
}