Tile - YAnimal - Get Domestication Level – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Get Domestication Level(Animal, Character)

YlandsTile-590.png

static getDomesticationLevel(animal: YEntity, character: YCharacter): number;

Parameters

animal

Target animal

character

Animal owner

Returns

number

Availability

Client, Server

Description

Returns current domestication level of selected animal.