[FONT="Fixedsys"][COLOR="DarkOrchid"]I know most of you know how to "fix" this already but I figure I'll post a "fix" for it.
First go to Charcater.cs and search for this.[/COLOR][/FONT]
[FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that entire code.
Next go to Attack.cs.
Search for [/COLOR][/FONT]
[FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that.
Now gm's should be able to pk.
Hope this helps.[/COLOR][/FONT]
First go to Charcater.cs and search for this.[/COLOR][/FONT]
Quellcode
- if(!MyClient.GM)
- foreach (Character C in World.H_Chars.Values)
- {
- if (C.Alive && C != this)
- {
- if (MyMath.PointDistance(Loc.X, Loc.Y, C.Loc.X, C.Loc.Y) <= Dist)
- if (C.PKAble(PKMode, this) && !SU.PlayerTargets.Contains(C) && !World.NoPKMaps.Contains(Loc.Map))
- SU.PlayerTargets.Add(C, SU.GetDamage(C));
- }
- }
[FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that entire code.
Next go to Attack.cs.
Search for [/COLOR][/FONT]
[FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that.
Now gm's should be able to pk.
Hope this helps.[/COLOR][/FONT]