Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 136
    • Issues 136
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Mechanics
  • modifyscore

modifyscore · Changes

Page history
Create skills/mechanics/modifyscore authored Aug 11, 2020 by Ashen's avatar Ashen
Hide whitespace changes
Inline Side-by-side
Showing with 42 additions and 0 deletions
+42 -0
  • skills/mechanics/modifyscore.md skills/mechanics/modifyscore.md +42 -0
  • No files found.
skills/mechanics/modifyscore.md 0 → 100644
View page @ d4393945
Mechanic: ModifyScore
=====================
*Added in version 2.3*
Modifies the scoreboard-objective value of a fake player name.
Can also be used to modify a specific players score.
A list of possible operations for the action-syntax:
- SET
- ADD
- SUBTRACT
- MULTIPLY
- DIVIDE
- [1] MOD
Attributes
----------
| Attribute | Aliases | Description | Default |
|-------------|---------|-----------------------------------------------------------------------------------------------------------------------------------|---------|
| objective | obj, o | Specifies the scoreboard objective to be changed. If the objective doesn't exist it will automatically be created by the mechanic | |
| action | a | The operation to perform | ADD |
| value | v | The value to perform the operation with | 0 |
| name, entry | n, e | The name of the player/fake player | dummy |
Examples
----
This example will add one to the score of a player
named "Bob" for the objective "TestScore", even if that player doesn't
exist on the server.
It will create the objective if it does not currently exist.
Skills:
- modifyscore{o=TestScore;e=Bob;a=add;v=1} ~onInteract
![](https://i.imgur.com/0HKvAUM.png)
[1] shorthand for "Modular Division"
Clone repository
  • Home
  • Changelogs
  • Premium Features
  • Commands and Permissions
  • FAQ / Common Issues
  • Mythic Add-ons
  • Compatible Plugins
  • API Information

Mobs

  • Overview
  • Types
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: MiniaturePets

Skills

  • Overview
  • Mechanics
  • Effects
  • Targeters
  • Triggers
  • Conditions
  • Placeholders
  • Variables

Items & Drops

  • Drops and Drop Tables
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns