What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Tormented Spirits

tozededao

Community Developer
Joined
Jan 15, 2010
Messages
1,225
Reaction score
5
If I want to make Spirits relevant for the bot in order to try to kill them would this work?

On this method private void CombatTargetingOnWeightCalculation(NetworkObject entity, ref float weight)
Code:
if (m.Name.Contains("Tormented"))
            {
                    weight +=30;
            }
 
Depends on your other weightings.. but if you are using the default profile, then Tormented would be weighted the just less than a rare attacking you, if the Tormented was at the same distance.
This is going to be the problem:
weight -= entity.Distance/2;

at 70 (units?) away from you the tormented would be ignored as 35 - 70/2 is 5.. so.. not even a trash mob then, esp if they are targeting you.

wimm
 
so I would need to make it insanely high value in order to just rush it down I guess.
 
If it is worth making a suicide run against it, sure, set it to 1000. Leeroy Jenkins!

wimm
 
Back
Top