SnowBot
  • Préface
  • Introduction
  • Problèmes fréquents
  • Installation
    • Pré-requis
    • Téléchargement
    • Première utilisation
    • Connexion d'un personnage
    • Proxy
  • Trajets
    • Construction d'un script
      • Langage de programmation
      • Structure
      • Path - Changement de carte
      • Door - Utilisation d'une porte
      • Actions
        • Récoltes & Combats
        • Régénération
        • Zaap, Zaapi & Havre-Sac
        • Retour en Banque
        • Retour en Maison
        • Priorité des actions
      • Exercice
      • Bot "Banque"
    • Paramètres
    • Identifiants
    • Méthodes
      • 📝[PC] Config
        • 🔐Banque
          • setBotBankState
          • getBotBankState
        • ⚔️Combats
          • setMandatoryMonsters
          • getMandatoryMonsters
          • setForbiddenMonsters
          • getForbiddenMonsters
          • setMaxMonsters
          • getMaxMonsters
          • setMinMonsters
          • getMinMonsters
          • setAmountOfSpecificMonsters
          • getAmountOfSpecificMonsters
        • 👣Déplacements
          • setSyncMoveState
          • getSyncMoveState
          • setSyncMoveDelay
          • getSyncMoveDelay
        • 🌾Métiers
          • setGather
          • getGatherList
        • 👥Comportements
          • setIgnoreDuelRequest
          • getIgnoreDuelRequest
          • setIgnoreExchangeRequest
          • getIgnoreExchangeRequest
          • setIgnoreGroupRequest
          • getIgnoreGroupRequest
          • setIgnoreGuildRequest
          • getIgnoreGuildRequest
          • setIgnoreDungeonRequest
          • getIgnoreDungeonRequest
      • ❌[PC] Banned
      • 🧑Character
        • breed
        • name
        • identifier
        • server
        • sex
        • level
        • lifePoints
        • maxLifePoints
        • lifePointsP
        • energyPoints
        • maxEnergyPoints
        • experience
        • freeMode
        • kamas
        • buyBonusPack [Touch]
        • Stats [PC]
          • statsPoint
          • get<Element>Base
          • getCost<Element>
          • upgrade<Element>
      • ♻️Exchange
        • leaveDialog
        • launchExchangeWithPlayer
        • getAllItems
        • getItem
        • getKamas
        • putAllItems
        • putItem
        • putKamas
        • storageKamas
        • storageItemCount
        • storageItemQuantity
        • ready
      • ⚙️Global
        • addInMemory
        • afterFight
        • delay
        • deleteAllMemory
        • deleteMemory
        • disconnect
        • editInMemory
        • finishScript
        • getAllFilesNamesInDirectory
        • getController
        • getCountFight
        • getCountGather
        • getCurrentDirectory
        • getTeamMembersIds
        • getTeamMembersNames
        • isInFight
        • leaveDialog
        • loadConfiguration
        • maximumNumberFightsOfDay
        • printError
        • printMessage
        • printSuccess
        • remember
        • reconnect
        • reconnectBis
        • reloadScript
        • resetCountFight
      • 👬Guild
        • changeMemberParameters
        • editAnnounce
        • editWelcomeAnnounce
        • kickMember
        • sendInvitation
        • upgradeCharacteristic
        • upgradeSpell
      • 👜Inventory
        • deleteItem
        • equipItem
        • itemCount
        • itemLevelId
        • itemNameId
        • itemTypeId
        • itemWeight
        • pods
        • podsMax
        • podsP
        • useItem
        • inventoryContent
      • 🛠️Job
        • level
        • name
      • 🗺️Map
        • aggression
        • changeMap
        • countPlayers
        • currentArea
        • currentSubArea
        • currentCell
        • currentMap
        • currentMapId
        • door
        • fight
        • forceFight
        • getNearestZaap
        • Page 1
        • moveToCell
        • onCell
        • onMap
        • saveZaap
        • useById
        • isPlayerOnMap
        • lockedHouse
        • lockedStorage
        • pilot [PC]
          • loadMove
          • moveNext
      • 🤵NPC
        • leaveDialog
        • npc
        • npcBank
        • reply
        • npcSale
        • npcBuy
      • 💸Commerce
        • sellItem
        • getPriceItem
        • getAveragePriceItem
        • availableSpace
        • buyItem
        • updateAllItems
        • editPrice
        • getItemPrice
        • getItemGUID
        • getItemGID
        • getItemQuantity
        • itemsOnSale
        • sellToPnj
        • sellAllItemToPnj
      • 🍴Artisanat
        • moveToCraft
        • putItem
        • changeQuantityToCraft
        • ready
        • leaveDialog
      • 🐔Mount
        • addPaddockItem
        • feedMount
        • getEnergy
        • getMaxEnergy
        • getPaddockInformations
        • hasMount
        • inventoryMountsData
        • id
        • isRiding
        • level
        • moveMounts
        • movePaddockItem
        • myMount
        • newBorns
        • paddockedMounts
        • removePaddockItem
        • setXpRatio
        • stabledMounts
        • toggleRiding
      • 💱Merchant
        • open
        • priceItem
        • quantityItem
        • existItem
        • buyItem
      • 💬Chat
        • sendPrivateMessage
        • sendGeneralMessage
        • sendGuildMessage
        • sendAllianceMessage
        • sendRecruitmentMessage
        • sendTradeMessage
  • Mode développeur
    • PC
      • Méthodes
        • cancelMessageToClient
        • createMessage
        • getRequest
        • historicalMessage
        • isScriptPlaying
        • postRequest
        • registerMessage
        • sendMessage
        • startScript
        • suspendScriptUntil
        • suspendScriptUntilMultiplePackets
        • typeOf
        • unCancelMessageToClient
        • unRegisterMessage
    • Touch
    • Rétro
  • Intelligence Artificielle (IA)
    • Introduction
    • Préparation
    • Méthodes
      • fightAction
        • chooseCell
        • castSpellOnCell
        • moveToWardCell
        • canCastSpellOnCell
        • passTurn
        • inLineOfSight
        • getCurrentTurn
        • isHandToHand
        • getNearestEnemy
        • getNearestAlly
        • getAdjacentCells
        • isFreeCell
        • isWalkable
        • getDistance
        • getReachableCells
        • getSpellZone
        • getFighter
        • getAllEntities
        • getEntitiesCount
      • fightCharacter
        • getAP
        • getMP
        • forceMP
        • forceAP
        • getLifePoints
        • getLifePointsMax
        • getLifePointsP
        • getRange
        • getId
        • getCellId
        • getLevel
        • isMule
        • isItMyTurn
        • getBreed
      • fightDebug
        • print
        • delay
      • FightChallenge
        • challengeName
        • getFightChallenges
        • getChallengeIds
        • getDropBonus
        • getXpBonus
        • getTargetIds
        • getTargetCells
      • Entities
  • Mode contrôleur
    • Introduction
    • Méthodes
      • snowbotController
        • activateAntiModerator
        • addPushBulletKey
        • assignProxyToAnAccount
        • createCharacter
        • getAliasAccountNotLoaded
        • getLoadedAccounts
        • getUsernameAccountNotLoaded
        • loadAnAccount
        • loadTeamAccount
        • registerAnAccount
        • printMessage
        • printSuccess
        • printError
        • getRequest
        • postRequest
        • delay
      • accountController
        • getAlias
        • editAlias
        • connect
        • deleteCharacter
        • disconnect
        • getTeamAccounts
        • getUsername
        • isAccountFullyConnected
        • isAccountConnected
        • isBanned
        • isItATeam
        • isTeamLeader
        • loadConfig
        • loadScript
        • selectCharacter
        • selectServer
        • startScript
        • stopScript
        • unloadAccount
        • controller
  • Mode Remote
    • Introduction (hors service, Attendez un changement)
    • SnowBot API (hors service, Attendez un changement)
    • Shield (hors service, Attendez un changement)
Propulsé par GitBook
Sur cette page

Cet article vous a-t-il été utile ?

  1. Intelligence Artificielle (IA)
  2. Méthodes
  3. fightAction

isWalkable

Méthode permettant de déterminer s'il est possible de marcher sur la cellule ciblée.

🔧 Méthode

fightAction:isWalkable(cellId)

📪 Argument

Name

Type

Description

cellId

int

Cellule ciblée

📪 Valeur de retour

Type

Value

Description

bool

true

Il est possible de marcher sur la cellule ciblée.

bool

false

Il est impossible de marcher sur la cellule ciblée.

PrécédentisFreeCellSuivantgetDistance

Dernière mise à jour il y a 4 ans

Cet article vous a-t-il été utile ?