mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
Add comment.
This commit is contained in:
parent
d90d680e8a
commit
d7d9c73e5e
@ -3240,6 +3240,7 @@ void NPC::AIYellForHelp(Mob *sender, Mob *attacker)
|
|||||||
|
|
||||||
float assist_range = (mob->GetAssistRange() * mob->GetAssistRange());
|
float assist_range = (mob->GetAssistRange() * mob->GetAssistRange());
|
||||||
|
|
||||||
|
// Implement optional sneak-pull
|
||||||
if (RuleB(Combat, EnableSneakPull) && attacker->sneaking) {
|
if (RuleB(Combat, EnableSneakPull) && attacker->sneaking) {
|
||||||
assist_range = RuleI(Combat, SneakPullAssistRange);
|
assist_range = RuleI(Combat, SneakPullAssistRange);
|
||||||
if (attacker->IsClient()) {
|
if (attacker->IsClient()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user