I affirm:
Branch affected by issue
base
The problem
Ranger Alertness appears to have a modifier of 0 and a value of 0
|
INSERT INTO `traits` VALUES (21,'alertness',11,5,1,0,0,NULL,0); |
It also isn't used when enemies detect players
|
auto CMobController::CanDetectTarget(CBattleEntity* PTarget, const bool forceSight) const -> bool |
and it isn't actually used anywhere at all. It only exists in enums and data lists
https://github.com/search?q=repo%3ALandSandBoat%2Fserver%20alertness&type=code
Steps to reproduce
Be a ranger > level 5. Walk toward an enemy who detects by sight, and use a distance addon to see how far away they detect you.
Now do the same as a non-ranger.
It's the same.
Expected behavior
Ranger can get closer without being detected.
I affirm:
Branch affected by issue
baseThe problem
Ranger Alertness appears to have a modifier of 0 and a value of 0
server/sql/traits.sql
Line 234 in 76a5ba3
It also isn't used when enemies detect players
server/src/map/ai/controllers/mob_controller.cpp
Line 286 in 76a5ba3
and it isn't actually used anywhere at all. It only exists in enums and data lists
https://github.com/search?q=repo%3ALandSandBoat%2Fserver%20alertness&type=code
Steps to reproduce
Be a ranger > level 5. Walk toward an enemy who detects by sight, and use a distance addon to see how far away they detect you.
Now do the same as a non-ranger.
It's the same.
Expected behavior
Ranger can get closer without being detected.