Quote:
You can set up multiple factions to function differently. For instance, here are some factions that I use: Undead KoS (-32000) Undead KoS Assist (-32000, assist other undead in trouble) Undead (0, won't attack, yay!) Undead Assist (0, won't attack, yay! assist other undead in trouble) NonNec KoS (undead that's KoS to everyone except necromancers) That code I mentioned will only take the KoS conned mobs and make them attack higher level players if they exceed the undead threshold. Make sense? Code:
RULE_INT(Aggro, UndeadLevelAggro, 6) |
OK I see, yeah by Undead I always refer to the body type and not faction, since faction can be anything and can have any type of mobs of it ;)
Basically what I am saying that body type of a mob should be irrelevant to the rule. If mob is KOS (by faction) and has the Always Aggro FLAG - it always aggros. So it can be NON Undead and always aggro Or it can Undead and don't aggro (because of level difference) Just to be clear ;) |
It will always aggro if it is threatenly or scowl, bodytype has nothing to do with it -- the ONLY exception is if it ISN'T KoS
Did you want ALWAYS_AGGRO to apply to indifferent (ally, etc.) mobs too? |
Quote:
OK, I am sorry if I confusing you ;) So let go over this again. Normally, if we have a normal mob, that belongs to some faction and your faction is BAD (KOS or so) it will aggro. Unless you are much higher level than him. Now, the FLAG that we are discussing should allow this mob to aggro (because of my BAD faction) even if it is out of level. This FLAG should work instead of "Low INT" system that we currently have, because using INT stat for this is kind of stupid. Thats what I am trying to say =) Undead were only mentioned because it is USUALLY the type of mobs on LIVE that aggros out of level. Obviously if mob is NOT KOS, it has no reason to aggro (unless I attack it) But what will happen if mob is out of level range, my faction is good, BUT I attacked its friend? Normally mob will not assist because I am out of level, but mob with this FLAG should still assist because it sort of "fearless" Sorry again if I am giving you a headache, I just want to make sure you getting me right ;) |
Okay, let me try this again.
If it has the ALWAYS_AGGRO special ability. It will *ALWAYS* aggro if it's KoS. It doesn't matter the body type, level, intelligence, etc. It WILL aggro if this is set in my code. Now, assisting (or yelling for help) is different, and it will require an additional change. Code:
aggro.cpp Code:
common.h If a mob is set to (46) and it's KoS. It will ALWAYS ATTACK REGARDLESS OF ANYTHING. If a mob is set to (47). It will ALWAYS ASSIST ITS FACTION REGARDLESS OF ANYTHING. If it's set to both 46 and 47 it will always do both. |
Awesome ;)
Thank You so much! |
No problem
|
BUMP!
Begging the devs to implement this into official code instead of Level or INT setting. |
I just set all rats in misty to faction 1291 kos aggressive and they agro (lvl 1) on my lvl 70
|
Quote:
|
All times are GMT -4. The time now is 04:04 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.