Not A Bug Sea Ambushers

Dan

Staff Member
Administrator
Game Master
What are you using to fight them? If a pet what is their spellcasting type?
 

Dan

Staff Member
Administrator
Game Master
It is most likely your pet casting Dispel Evil.


Code:
                        bool evil = !bc.Controlled && bc.Karma < 0;

                        if (evil)
                        {
                            // TODO: Is this right?
                            double fleeChance = (100 - Math.Sqrt(m.Fame / 2)) * chiv * dispelSkill;
                            fleeChance /= 1000000;

                            if (fleeChance > Utility.RandomDouble())
                            {
                                // guide says 2 seconds, it's longer
                                bc.ForceFleeUntil = DateTime.UtcNow + TimeSpan.FromSeconds(30.0);
                            }
                        }

A lot of times when I get reports of it being the flee mechanic it is actually just the pet casting this spell.
 

Dan

Staff Member
Administrator
Game Master
For the purpose of that spell specifically:
bool evil = !bc.Controlled && bc.Karma < 0;
So any creature that is not controlled and has negative karma can sometimes flee.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
12 hours
Players Online
12
Houses
852
Vendors
297
Gold
5,025,693,699gp
Top Bottom