Enabling use feather button.

This commit is contained in:
MobiusDev
2017-08-21 22:00:48 +00:00
parent 52978640b4
commit 94db200210
8 changed files with 8 additions and 8 deletions

View File

@@ -231,7 +231,7 @@ public final class RequestRestartPoint implements IClientIncomingPacket
}
break;
}
case 6: // TODO: Agathon resurrection
case 6: // TODO: Agathion resurrection
{
break;
}

View File

@@ -74,7 +74,7 @@ public class Die implements IClientOutgoingPacket
_toClanHall = (clan != null) && (clan.getHideoutId() > 0);
_toCastle = ((clan != null) && (clan.getCastleId() > 0)) || isInCastleDefense;
_toOutpost = ((siegeClan != null) && !isInCastleDefense && !isInFortDefense && !siegeClan.getFlag().isEmpty());
_useFeather = activeChar.getAccessLevel().allowFixedRes();
_useFeather = activeChar.getAccessLevel().allowFixedRes() || activeChar.getInventory().haveItemForSelfResurrection();
_toFortress = ((clan != null) && (clan.getFortId() > 0)) || isInFortDefense;
}

View File

@@ -231,7 +231,7 @@ public final class RequestRestartPoint implements IClientIncomingPacket
}
break;
}
case 6: // TODO: Agathon resurrection
case 6: // TODO: Agathion resurrection
{
break;
}

View File

@@ -74,7 +74,7 @@ public class Die implements IClientOutgoingPacket
_toClanHall = (clan != null) && (clan.getHideoutId() > 0);
_toCastle = ((clan != null) && (clan.getCastleId() > 0)) || isInCastleDefense;
_toOutpost = ((siegeClan != null) && !isInCastleDefense && !isInFortDefense && !siegeClan.getFlag().isEmpty());
_useFeather = activeChar.getAccessLevel().allowFixedRes();
_useFeather = activeChar.getAccessLevel().allowFixedRes() || activeChar.getInventory().haveItemForSelfResurrection();
_toFortress = ((clan != null) && (clan.getFortId() > 0)) || isInFortDefense;
}

View File

@@ -231,7 +231,7 @@ public final class RequestRestartPoint implements IClientIncomingPacket
}
break;
}
case 6: // TODO: Agathon resurrection
case 6: // TODO: Agathion resurrection
{
break;
}

View File

@@ -74,7 +74,7 @@ public class Die implements IClientOutgoingPacket
_toClanHall = (clan != null) && (clan.getHideoutId() > 0);
_toCastle = ((clan != null) && (clan.getCastleId() > 0)) || isInCastleDefense;
_toOutpost = ((siegeClan != null) && !isInCastleDefense && !isInFortDefense && !siegeClan.getFlag().isEmpty());
_useFeather = activeChar.getAccessLevel().allowFixedRes();
_useFeather = activeChar.getAccessLevel().allowFixedRes() || activeChar.getInventory().haveItemForSelfResurrection();
_toFortress = ((clan != null) && (clan.getFortId() > 0)) || isInFortDefense;
}

View File

@@ -231,7 +231,7 @@ public final class RequestRestartPoint implements IClientIncomingPacket
}
break;
}
case 6: // TODO: Agathon resurrection
case 6: // TODO: Agathion resurrection
{
break;
}

View File

@@ -74,7 +74,7 @@ public class Die implements IClientOutgoingPacket
_toClanHall = (clan != null) && (clan.getHideoutId() > 0);
_toCastle = ((clan != null) && (clan.getCastleId() > 0)) || isInCastleDefense;
_toOutpost = ((siegeClan != null) && !isInCastleDefense && !isInFortDefense && !siegeClan.getFlag().isEmpty());
_useFeather = activeChar.getAccessLevel().allowFixedRes();
_useFeather = activeChar.getAccessLevel().allowFixedRes() || activeChar.getInventory().haveItemForSelfResurrection();
_toFortress = ((clan != null) && (clan.getFortId() > 0)) || isInFortDefense;
}