Aller au contenu
Afficher dans l'application

Une meilleure façon de naviguer. En savoir plus.

Asterobot

Une application plein écran sur votre écran d'accueil avec notifications push, badges et plus encore.

Pour installer cette application sur iOS et iPadOS
  1. Appuyez sur Icône de partage dans Safari
  2. Faites défiler le menu et appuyez sur Ajouter à l'écran d'accueil.
  3. Appuyez sur Ajouter dans le coin supérieur droit.
Pour installer cette application sur Android
  1. Appuyez sur le menu à trois points (⋮) dans le coin supérieur droit du navigateur.
  2. Appuyez sur Ajouter à l'écran d'accueil ou Installer l'application.
  3. Confirmez en appuyant sur Installer.

GameActionFightCastRequest

  • summary: Casts one of the played fighter's spells on a map cell during its turn.
  • area: Game.Game.Action

Casts one of the played fighter's spells on a map cell during its turn.

Kind request · Area Game.Game.Action

Casts a spell of the fighter you play on a map CELL. Use GameActionFightCastOnTargetRequest instead to cast on a fighter by its id.

HOW TO SEND IT

1. Only during your own turn, in a fight. 2. spell_id = the spell's data-centre id (the spell template id, NOT a spell level id and NOT the action-bar slot). The official client reads it straight off the spell's data record. 3. cell = the target cell id, 0 to 559. The official client refuses anything outside the 560-cell map before building the request, and only sends a cell its fight preview considers castable (range, line of sight, free cell rules). 4. Nothing else is written. One request per cast.

WHAT COMES BACK

The server plays the cast as an action sequence: a sequence start, the fight action events (damage, effects, deaths ...), and a sequence end. Answer each finished sequence with GameActionAcknowledgementRequest; the official client does it after playing the sequence back.

A CELL, NOT A FIGHTER. Casting on the cell a fighter stands on works for spells that target cells, but the client itself uses the on-target request when the player clicks a fighter (or casts on itself).

When you may send it

  • Requires context_ready inferred
  • Raised by: the player casts a spell on a map cell: a spell selected in the action bar, then a click on a cell the fight preview accepts (cell id inside the 560-cell map, spell castable there) proven

Related messages

  • Reply not yet recovered: The server answers with the fight action sequence of the cast (a sequence start, the action events, a sequence end) and the client acknowledges it with GameActionAcknowledgementRequest. A refused cast is reported by a no-cast event that has no signature yet.

Fields

#FieldTypeMeaningYou set it
1spell_idint32The spell to cast: its data-centre spell id. (spell id)
Proven as the member the client fills from the spell record's id (a getter returning the Spell data id).
required
2cellint32The map cell the spell is cast on. (cell id)
Range: 0 to 559
Proven as the int32 the caller hands to the cast service (the other member is computed from the spell); the caller checks it against the 560-cell map first.
required

Compte

Navigation

Recherche

Recherche

Configurer les notifications push du navigateur

Chrome (Android)
  1. Appuyez sur l'icône de cadenas à côté de la barre d'adresse.
  2. Tap Autorisations → Notifications.
  3. Ajustez vos préférences.
Chrome (Desktop)
  1. Cliquez sur l'icône représentant un cadenas dans la barre d'adresse..
  2. Select Paramètres du site.
  3. Find Notifications et ajustez vos préférences.