|
|
@ -49,6 +49,9 @@ function init()
|
|
|
|
mouseWidget:setVisible(false)
|
|
|
|
mouseWidget:setVisible(false)
|
|
|
|
mouseWidget:setFocusable(false)
|
|
|
|
mouseWidget:setFocusable(false)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
battleWindow:setContentMinimumHeight(56)
|
|
|
|
|
|
|
|
battleWindow:setContentMaximumHeight(384)
|
|
|
|
|
|
|
|
|
|
|
|
connect(Creature, { onSkullChange = checkCreatureSkull,
|
|
|
|
connect(Creature, { onSkullChange = checkCreatureSkull,
|
|
|
|
onEmblemChange = checkCreatureEmblem,
|
|
|
|
onEmblemChange = checkCreatureEmblem,
|
|
|
|
onHealthPercentChange = onCreatureHealthPercentChange,
|
|
|
|
onHealthPercentChange = onCreatureHealthPercentChange,
|
|
|
|