ai
Some checks failed
Build & deploy / Build & publish server image (pull_request) Has been skipped
Build & deploy / Build & deploy website (pull_request) Failing after 4m40s

This commit is contained in:
Andras Schmelczer 2026-06-20 11:30:49 +01:00
parent b6db7e8dc7
commit d9b80b92ca
22 changed files with 563 additions and 62 deletions

View file

@ -315,7 +315,7 @@ export class NPC extends PlayerBase {
const charge =
distance > npcTuning.chargeRangeThreshold &&
Random.getRandom() <
Random.getRandom() <
npcTuning.chargeBaseChance + npcTuning.chargeAggressionChance * this.aggression
? Random.getRandomInRange(npcTuning.chargeMin, 1)
: 0;