8 public override void Execute()
11 int lv = Mathf.Max(
EClass._zone.DangerLv,
EClass.pc.FameLv * Math.Min(
this.roadDist * 20, 100) / 100);
12 for (
int i = 0; i < this.enemies; i++)
14 Point nearestPoint = (
EClass.pc.pos.GetRandomPoint(4,
true,
true,
false, 100) ??
EClass.pc.pos).GetNearestPoint(
false,
false,
true,
false);
16 chara.hostility = (chara.c_originalHostility = Hostility.Enemy);
17 chara.enemy =
EClass.pc.party.members.RandomItem<
Chara>();
19 if (flag &&
EClass.rnd(
EClass.debug.enable ? 1 : 3) == 0)
21 Point nearestPoint2 = (
EClass.pc.pos.GetRandomPoint(4,
true,
true,
false, 100) ??
EClass.pc.pos).GetNearestPoint(
false,
false,
true,
false);
25 if ((
EClass._zone.Tile.isRoad ||
EClass._zone.Tile.IsNeighborRoad) &&
EClass.rnd(2) == 0)
27 Point nearestPoint3 = (
EClass.pc.pos.GetRandomPoint(4,
true,
true,
false, 100) ??
EClass.pc.pos).GetNearestPoint(
false,
false,
true,
false);