Deprecated functions

Deprecated functions

> LeekScript

Deprecated functions

These functions are no longer useful due to changes in the game, they are kept to preserve the functioning of old AI.

getChipFailure: A chip can no longer fail. getCores: There is no longer any notion of cores. getWeaponFailure: A weapon can no longer fail.

Deprecated functions

These functions have been renamed for better understanding, they are kept to keep the operation of old AI.

getChipMaxScope: It is replaced by the function getChipMaxRange. getChipMinScope: It is replaced by the function getChipMinRange. getForce: It is replaced by the function getStrength. getInstructionsCount: It is replaced by the function getOperations. getLeek: It is replaced by the function getEntity. getLeekOnCell: It is replaced by the function getEntityOnCell. getWeaponMaxScope: It is replaced by the function getWeaponMaxRange. getWeaponMinScope: It is replaced by the function getWeaponMinRange. isLeek: It is replaced by the isEntity function. moveAwayFromLeeks: It is replaced by the moveAwayFromEntities function. moveTowardLeeks: It is replaced by the moveTowardEntities function.

Deprecated constants

These constants have been renamed for better understanding, they are kept to keep the operation of old AI.

CELL_PLAYER: It is replaced by the constant CELL_ENTITY. EFFECT_BUFF_FORCE: It is replaced by EFFECT_BUFF_STRENGTH EFFECT_SLIDE_TO: It is replaced by the constant EFFECT_ATTRACT. EFFECT_TARGET_ALWAYS_CASTER: It is replaced by the constant EFFECT_MODIFIER_ON_CASTER. EFFECT_TARGET_NOT_CASTER: It is replaced by the constant EFFECT_TARGET_CASTER.