Skip to content

๐Ÿ“Œ Player Modifiers โ€‹

WARNING

This feature is not available yet.

Overview โ€‹

A player modifier can be any type of passive behaviour that modifies your player to make it stronger or weaker. Stat modifiers, skills, permanent potion effects are all considered player modifiers and can granted to players using items, full item set bonuses, MMOCore parties, MMOCore player classes...

Player ModifierDescriptionIdentifier
Stat modifierModifies a player stat valuestat
Attribute modifierModifies the value of a MMOCore attributeattribute
SkillGives the player some triggerable skillskill
Potion EffectA permanent potion effect like Speed IIpotion
Particle EffectA permanent particle effectparticle

When configurating MMOItems or MMOCore you will sometimes be asked to define player modifiers in specific scenarii, like when creating item sets in MMOItems and defining what modifiers to give the player when wearing 3 items from the same set.

Stat Modifiers โ€‹

When applied onto a player, a stat modifier increases the value of a player stat by a certain amount. It can be either a flat stat modifier (+10 Atk Dmg) or a multiplicative modifier (+10% Atk Dmg) which scales on the initial player's stat value.

Example โ€‹

modifierId:
    type: stat # This indicates the modifier is a stat modifier
    stat: ATTACK_DAMAGE
    value: 10
    multiplicative: false
    key: mmocoreParty

Skills โ€‹

Skills are a special type of player modifiers. Check [this page](Custom Skills) out for more info about MythicLib skills.

Example โ€‹

modifierId:
    type: item_skill # This indicates the modifier is an item skill
    skill: FIREBOLT
    trigger: RIGHT_CLICK    
    modifiers:
        damage: 10
        mana: 3

Powered by VitePress