mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 08:26:36 +00:00
[Rule] Undead Aggro (#3881)
* [Rule] Undead Aggro Add rule for undead aggro and check for undead at aggro check time * Add Rule * Requested Change
This commit is contained in:
+2
-1
@@ -524,7 +524,8 @@ bool Mob::CheckWillAggro(Mob *mob) {
|
||||
} else {
|
||||
if (
|
||||
(
|
||||
GetINT() <= RuleI(Aggro, IntAggroThreshold) ||
|
||||
(RuleB(Aggro, UndeadAlwaysAggro) && GetBodyType() == BT_Undead) ||
|
||||
(GetINT() <= RuleI(Aggro, IntAggroThreshold)) ||
|
||||
AlwaysAggro() ||
|
||||
(
|
||||
mob->IsClient() &&
|
||||
|
||||
Reference in New Issue
Block a user