Skip to content

Commit

Permalink
KeepDoor : transversal keep door need a larger size
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBox98 authored and NetDwarf committed Dec 19, 2022
1 parent 618bf65 commit 2239176
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions GameServer/keeps/Gameobjects/GameKeepDoor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,13 @@ public override bool Interact(GamePlayer player)
int keepz = Z, distance = 0;

//calculate distance
//normal door
//normal door
if (DoorIndex == 1)
distance = 150;
//side or internal door
// side door
else if (DoorIndex == 3 || DoorIndex == 4 || DoorIndex == 5 || DoorIndex == 6)
distance = 175;
//other internal door
else
distance = 100;

Expand Down

0 comments on commit 2239176

Please sign in to comment.