DPS * N = (NormalDamage + CritDamage) * AttackSpeed * N
- (NormalDamage + CritDamage)
+ (NormalDamage + CritDamage) * SuperDamageMultiplier
= (NormalDamage + CritDamage) * (AttackSpeed * N - 1 + SuperDamageMultiplier)
DPS = (NormalDamage + CritDamage) * (AttackSpeed + (SuperDamageMultiplier - 1) / N)
{
"parameters": {
"speed": ...,
"visionArea": ...,
...
},
"events": {
"getSight": [
{
"objects": ["fox", "wolf"],
"actions": [
{
"probability": 0.5,
"action": "run"
}, {
"probability": 0.5,
"action": "wait"
}
]
}, {
"objects": ["carrot"],
"actions": [
{
"probability": 1,
"action": "eat"
}
]
}
},
"hungry": [ ... ],
"thirsty": [ ... ].
...
}
}