Define one ore more skills for your companion in companion disposition via field
This field contains an array of structure
CompanionSkill contains these fields:
|Name||string||REQUIRED! A name of skill. This name must match one of valid skill names|
Some skills may have some additional parameters or options as JSON fields.
All skill must have the
Name field defined.
This type of companion can heal you if you are injured so much. Also they can save your life if you are in danger of death.
|HealCooldown||int||Cooldown in ticks during which doctor can't heal you.|
|Medkits||int||Number of available medkits. When all medkits are depleted, doctor can't heal you anymore during current adventure.|
|CanSaveLife||bool||If this is enabled, doctor can save your life if you are in danger of death.|
|HealSideEffectEvery||int||Every n ticks your health is increased by a small amount until 70% of cooldown is ran away or your health is 61% or more of your max health value.|
Companion with this skill can fight with monsters using sword or fists.
Fists are applicable only when
IsWarrior is set to
Also this companion has a perk of warrior with warriro skill icon.
|Strength||float||Power factor of companion to fight.|
|Speed||float||Speed factor of companion while fighting.|
|Effeciency||float||Range of weapon swipe effeciency for this companion.|
|Cooldown||int||For experts Combat cooldown in ticks. This affects total combat speed and effeciency. Not recommended to change it if it's not really necessary.|
|AttackRadius||float||Tile radius around companion starts attack to acquired monster.|
|BackupRadius||float||Tile radius companion steps back of the acquired monster.|
|FistCooldown||int||Cooldown in ticks after companion used during which companion can't use fists again.|
|MissChance||float||Percentage chance companion miss take damage to a monster while attack.|
|ExtraSpeed||int||Added speed in points.|
|ExtraStrength||int||Added combat power in points.|
|DefendRadius||float||Tile radius around companion where they looks up for a nearest monster to acquire them and attack.|
|ReturnRadius||float||If farmer is far away of this radius, companion stops combat with a monster and returns to farmer's position.|
|IsWarrior||bool||Warrior perk for this companion.|
This kind of companion may be scared of monsters during your adventure with them.
|Duration||int||Duration in miliseconds during which this companion is stuned by fear.|
|MinCooldown||int||Minimal cooldown in seconds during it this companion don't be scared by monsters.|
|MinCooldown||int||Maximal cooldown in seconds during it this companion don't be scared by monsters.|
|CryChanceRatio||int||Chance this companion will cry when it's scared by a monster. Lower number increases this chance.|
|Frame||int||Animation sprite frame which will be shown during companion is scared.|
This kind of companion can forage in outdoors and ocassionaly shares their treasures with you.
This companion makes monsters around peaceful so they won't attack you. If you attack a peaceful monster, you lose some friendship points with this companion.
|KeepFriendship||Keeps friendship when a farmer hits or kills a monster. If this is set to |
|FriendshipPointsLossOnAttack||Amount of friendship points farmer loses when they hit a monster. Ignored when |
|FriendshipPointsLossOnKill||Amount of friendship points farmer loses when they kill a monster. Ignored when |
This companion can catch fishes and ocassionaly shares them with you.
This companion can shoot enemies with projectiles.
|Damage||int||The base damage of companion's shots. This may be tweaked by quarter of current weapon's minimal damage|
|CollisionSound||string||Sound played when the shot is destroyed|
|Cooldown||int||(ms) a delay between shoot actions.|
|ChargeTime||int||(ms) time until companion's weapon is ready to shoot.|
|Projectile||int||Projectile parent sheet index from objects spritesheet. Default is |
|Explode||bool||Can projectile explode when destroy?|
|MinShootRange||float||Minimal range in tiles between companion and target to shoot.|
|MaxShootRange||float||Maximal range in tiles between companion and target to shoot.|
|ShotSpeed||float||Modifier of shot movement speed.|
|LightingShot||bool||Can shot emit a light?|
Experimental: Options of shooter skill are experiomental and may be changed in future.
This companion can apply some perk effects for you, currently invincibility and attack.
|Type||REQUIRED! Type of the protector skill (see enum described bellow)|
|UseChance||REQUIRED! The chance in % (expressed by number between 0.0 - 1.0) protector applies theirs protective effect on a farmer.|
|Duration||(seconds) Duration while the effect is active|
|Cooldown||(seconds) Cooldown between applied protective effects|
|Amount||Amount of attack power (only attack protector type)|
|Description||Description for icon of this skill in the skill bar|
ProtectorType is an enum with these values:
Invincibility- Makes farmer invincible for a limited duration
Attack- Increases attack power for a limited duration
Knockback- (not implemented yet) Don't use it
When you are adventuring with this type of companion, you gain some extra friendship while talking with an NPC except the recruited one.
|GrantFriendshipFactor||float||Multiplier of standard gained friendship points while you talk with a villager.|
|ExtraFriendshipPoints||int||Additional gained frendship points.|