Пример #1
0
 def can(self, client):
     if not client.canGameAction(GameActionTypeEnum.MAP_MOVEMENT):
         PlayerController.sendServerMessage(
             client, "Action impossible : Vous êtes occupé")
         return False
     else:
         return True
Пример #2
0
 def can(self, client):
     if not client.isGameAction(GameActionTypeEnum.TUTORIAL):
         PlayerController.sendServerMessage(
             client,
             "Action impossible : Vous avez déjà choisis votre niveau")
         return False
     else:
         return True
Пример #3
0
 def apply(self, client, args):
     PlayerController.sendServerMessage(
         "<b>" + client.getCharacter().getNickName() + "</b> : " + args[0],
         "AC776A")
Пример #4
0
 def apply(self,client,args):
     PlayerController.sendServerMessage(client,"parfait");