|
|
@ -15,6 +15,7 @@ import engine.net.client.msg.*; |
|
|
|
import engine.objects.*; |
|
|
|
import engine.objects.*; |
|
|
|
import engine.powers.PowersBase; |
|
|
|
import engine.powers.PowersBase; |
|
|
|
import engine.server.MBServerStatics; |
|
|
|
import engine.server.MBServerStatics; |
|
|
|
|
|
|
|
import org.joda.time.DateTime; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
|
|
|
@ -98,6 +99,10 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler { |
|
|
|
|
|
|
|
|
|
|
|
private static void requestHermitBlessing(MerchantMsg msg, ClientConnection origin, PlayerCharacter player, NPC npc) { |
|
|
|
private static void requestHermitBlessing(MerchantMsg msg, ClientConnection origin, PlayerCharacter player, NPC npc) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(DateTime.now().getHourOfDay() < 18 || DateTime.now().getHourOfDay() > 21){ |
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(player, "Blessing can only be received between 6:00 pm and 10:00 pm"); |
|
|
|
|
|
|
|
} |
|
|
|
Guild guild; |
|
|
|
Guild guild; |
|
|
|
Realm realm; |
|
|
|
Realm realm; |
|
|
|
City city; |
|
|
|
City city; |
|
|
|