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.

SpellModifier

  • summary: One per-spell modifier, mostly from equipment: which spell, which property, how, and the equipment and context amounts.
  • area: Game.Common

One per-spell modifier, mostly from equipment: which spell, which property, how, and the equipment and context amounts.

Kind struct · Area Game.Common

One modifier on one of a character's spells (a range bonus from an item, an AP-cost reduction...). It arrives in CharacterCharacteristics.spell_modifiers (the full set) and in ApplySpellModifierEvent (one change); RemoveSpellModifierEvent removes one.

HOW TO STORE IT

1. Key it by the character, SpellModifier.spell_id and SpellModifier.modifier_type (SpellModifierType: which property of the spell it changes). 2. Under that key keep one entry per SpellModifier.action_type (SpellModifierActionType); a new modifier with the same action REPLACES the entry. 3. The entry's amount is SpellModifier.equipment + SpellModifier.context. Keep both parts if you show them: the client prints them as "equipment" and "context".

HOW TO USE IT

Compute the spell's value as SpellModifierActionType explains: an ACTION_SET entry replaces the spell level's value, otherwise add BOOST and subtract REMOVE_BOOST (reversed for AP_COST and CAST_INTERVAL). Any other declared member is never read by the client: ignore it.

Not sent on its own — a record carried by CharacterCharacteristics.spell_modifiers and ApplySpellModifierEvent, never sent on its own. inferred

Used by

Fields

#FieldTypeMeaningYou set it
1spell_idint32The spell the modifier applies to.
The client keys the modifier by it and looks the spell up with SpellData.GetById.
never
3contextint32The contextual part of the amount (not from equipment).
The client adds it to equipment for the total and prints it as "context".
never
4action_typeSpellModifierActionTypeHow the amounts combine with the spell's value: add, subtract or replace.
A SpellModifierActionType. One entry per action is kept for each spell and modifier type.
never
5equipmentint32The part of the amount that comes from equipment.
The client adds it to context for the total and prints it as "equipment".
never
6modifier_typeSpellModifierTypeWhich property of the spell is modified (range, AP cost, line of sight...).
A SpellModifierType.
never

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.