player_variables - ryzom/ryzomcore GitHub Wiki


title: Player Variables description: published: true date: 2023-03-25T02:36:22.078Z tags: editor: markdown dateCreated: 2023-03-25T02:11:00.981Z

Player variables can be changed using the changeVar shard command.

Command Target Arguments Privileges Description
changeVar player <var> <val> :DEV:SGM:GM: Change a variable of a player

Variables

TODO: Make nice tables with descriptions {.is-danger}

  • SpeedVariationModifier
  • MeleeAttackModifierOnSelf
  • MeleeAttackModifierOnEnemy
  • RangeAttackModifierOnSelf
  • AttackModifierOnSelf
  • RangeAttackModifierOnEnemy
  • MagicCastingModifierOnSelf
  • MagicCastingModifierOnEnemy
  • ChanceToFailStrategy
  • ChanceToFailSpell
  • ChanceToFailFaber
  • ChanceToFailHarvest
  • ChanceToFailTracking
  • MeleeAttackSlow
  • MeleeSlashingDamageArmor
  • MeleeBluntDamageArmor
  • MeleePiercingDamageArmor
  • MeleeDamageModifierFactor
  • RangeDamageModifierFactor
  • CreatureMeleeTakenDamageFactor
  • CreatureRangeTakenDamageFactor
  • CombatBrickLatencyMultiplier
  • MagicBrickLatencyMultiplier
  • ArmorQualityModifier
  • WeaponQualityModifier
  • ArmorAbsorbtionMultiplier

Example

/a changeVar SpeedVariationModifier 150

Characteristics

Prefixes

  • Base
  • Max
  • Modifier
  • Current

Characteristics

  • Constitution (HP max)
  • Metabolism (HP regen)
  • Intelligence (Sap max)
  • Wisdom (Sap regen)
  • Strength (Stamina max)
  • WellBalanced (Stamina regen)
  • Dexterity (Focus max)
  • Will (Focus regen)

Example

/a changeVar BaseConstitution 1000

Scores

#@ Prefixes

  • Base
  • Max
  • Modifier
  • Current

#@ Scores

  • HitPoints
  • Stamina
  • Sap
  • Focus

Example

/a changeVar BaseHitPoints 100000

Skills

Prefixes

  • Current
  • Base
  • Modifier

TODO: Something is missing here? {.is-danger}

⚠️ **GitHub.com Fallback** ⚠️