forgottenserver
forgottenserver copied to clipboard
[Feature]: Configurable classic monster attack (reset onWalk)
By submitting this feature issue, you agree to the following.
- [X] There is no existing issue for this feature (or similar) already
Pull Requests or Links to add this feature
No response
Request
What do you want to achieve? Back in the day monsters used to reset their attack timers onWalk, so a Hunter could turn into a turret if you’re walking towards them. I want a feature where I can enable this behaviour in config.lua Simply ClassicMonsterAttack = true/false
Possible Solutions
No response
Cool this can be doable via lua
so if player moves doesnt the monster calculate path to player? shouldnt you just set its attacking delay to 0 there within pathfinding refresh and targetplayerpos != lasttargetplayerpos