Skip to content

Commit

Permalink
fix(server): bosses minions
Browse files Browse the repository at this point in the history
  • Loading branch information
Veradictus committed Sep 15, 2023
1 parent 2054aed commit 44edf79
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions packages/server/data/plugins/mobs/hellhound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const MAX_MINIONS = 8;
export default class Hellhound extends Default {
// Positions where minions will spawn.
private positions: Position[] = [
{ x: 963, y: 668 },
{ x: 948, y: 666 }
{ x: 1059, y: 765 },
{ x: 1047, y: 768 }
];

private minionsSpawned = 0;
Expand Down
8 changes: 4 additions & 4 deletions packages/server/data/plugins/mobs/ogrelord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export default class OgreLord extends Default {
];

private positions: Position[] = [
{ x: 240, y: 65 },
{ x: 248, y: 65 },
{ x: 240, y: 70 },
{ x: 248, y: 70 }
{ x: 338, y: 160 },
{ x: 346, y: 164 },
{ x: 342, y: 169 },
{ x: 335, y: 164 }
];

// Waves of minions the boss spawns.
Expand Down
16 changes: 8 additions & 8 deletions packages/server/data/plugins/mobs/piratecaptain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ export default class PirateCaptain extends Default {
private lastPickedTeleport: Position = { x: 0, y: 0 };

private teleportSpots: Position[] = [
{ x: 822, y: 649 },
{ x: 825, y: 659 },
{ x: 836, y: 659 },
{ x: 834, y: 649 }
{ x: 935, y: 743 },
{ x: 930, y: 755 },
{ x: 920, y: 753 },
{ x: 918, y: 743 }
];

private minionSpots: Position[] = [
{ x: 826, y: 651 },
{ x: 837, y: 650 },
{ x: 835, y: 657 },
{ x: 824, y: 654 }
{ x: 923, y: 745 },
{ x: 931, y: 746 },
{ x: 929, y: 754 },
{ x: 923, y: 752 }
];

public constructor(mob: Mob) {
Expand Down
4 changes: 2 additions & 2 deletions packages/server/data/plugins/mobs/skeletonking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const MAX_MINIONS = 6;
export default class SkeletonKing extends Default {
// Two positions where the minions will spawn.
private positions: Position[] = [
{ x: 22, y: 684 },
{ x: 28, y: 684 }
{ x: 139, y: 782 },
{ x: 125, y: 785 }
];

private minionsSpawned = 0;
Expand Down

0 comments on commit 44edf79

Please sign in to comment.