In this tutorial we’ll set up the attack and defence modifiers that’ll impact damage results.
Modifiers are used by damage calculations (when they’re set up to use them) and allow giving attributes to attacks and combatants, e.g. a fire-elemental attack or a small combatant. Learn more about attack/defence modifiers in this documentation.
For our status system we’ll use 1 attack modifier for elemental attacks and 1 defence modifier for combatant sizes (having an impact on weapons). We’ll also set up status bonus templates that we’ll later use for our weapons.
Attack Modifiers #
The attack modifier we’ll use in our status system is Element – giving elemental attributes to attacks.
Navigate to Status > Attack Modifiers and change the settings of the already added Default setup.
Content Information #
- Name
Set to Element.
Modifier Settings #
We don’t really need to change anything here – the default setup is usually ready to go. We’ll set up an immunity flying text, which is displayed when a combatant is completely immune to an attribute (i.e. the attribute value being 0).
Immunity Flying Text #
Click on Add Flying Text.
- Player/Ally/Enemy
Enable these settings. - Text
Set to <color=#FF00FFFF>Immune</color>.
This’ll display the text in a pink color. - Schematic Asset
Select the FlyingTextMover schematic.
Now we just need to set up the attributes – this is basically just defining their names, as the rest of the setup can be used as is (i.e. start value being 100, doing normal damage).
Attribute 0 #
- Name
Set to None.
Attribute 1 #
- Name
Set to Fire.
Attribute 2 #
- Name
Set to Water.
Attribute 3 #
- Name
Set to Earth.
Attribute 4 #
- Name
Set to Wind.
Attribute 5 #
- Name
Set to Light.
Attribute 6 #
- Name
Set to Dark.
Defence Modifiers #
The defence modifier we’ll use in our status system is Size – giving a size attribute to combatants. Weapons will give positive or negative bonuses to impact damage based on which weapon is used on which combatant, e.g. daggers doing more damage on small enemies and less damage on bigger enemies.
Navigate to Status > Defence Modifiers and change the settings of the already added Default setup.
Content Information #
- Name
Set to Size.
Attribute 0 #
- Name
Set to Small.
Attribute 1 #
- Name
Set to Medium.
Attribute 2 #
- Name
Set to Large.
Attribute 3 #
- Name
Set to Gigantic.
Status Bonus Templates #
We’ll use our Size defence modifier in our weapons (equipment) to change the attribute values of the combatant (having a weapon equipped). We’ll set up reusable templates that we’ll later use in the equipment setup. Learn more about status bonus templates in this documentation.
Keep in mind that defence modifiers, while using the target’s attribute (e.g. a small or large sized target), use the attacker’s attribute value. So, a combatant with a small weapon (e.g. a dagger) will do bonus damage on small targets, but less damage on large or gigantic targets.
Navigate to Templates > Status Bonuses, we’ll change the Default template and add additional templates.
0: Small Weapons #
Good against small sizes, bad against larger sizes.
Base Settings #
- Name
Set to Small Weapons.
Defence Modifier Bonuses #
Click on Add Defence Modifier Bonus.
- Defence Modifier
Select Size. - Attribute
Select Small. - Attribute Bonus
Set to 25.
Copy the modifier bonus and change the following settings.
- Attribute
Select Large. - Attribute Bonus
Set to -25.
Copy the modifier bonus and change the following settings.
- Attribute
Select Gigantic. - Attribute Bonus
Set to -50.
1: Medium Weapons #
Normal against the medium and large sizes, bad against small and gigantic.
Base Settings #
- Name
Set to Medium Weapons.
Defence Modifier Bonuses #
Click on Add Defence Modifier Bonus.
- Defence Modifier
Select Size. - Attribute
Select Small. - Attribute Bonus
Set to -25.
Copy the modifier bonus and change the following settings.
- Attribute
Select Gigantic. - Attribute Bonus
Set to -25.
2: Large Weapons #
Good against the larger sizes, bad against smaller sizes.
Base Settings #
- Name
Set to Large Weapons.
Defence Modifier Bonuses #
Click on Add Defence Modifier Bonus.
- Defence Modifier
Select Size. - Attribute
Select Small. - Attribute Bonus
Set to -25.
Copy the modifier bonus and change the following settings.
- Attribute
Select Large. - Attribute Bonus
Set to 25.
3: Gigantic Weapons #
Good against gigantic, bad against small.
Base Settings #
- Name
Set to Gigantic Weapons.
Defence Modifier Bonuses #
Click on Add Defence Modifier Bonus.
- Defence Modifier
Select Size. - Attribute
Select Small. - Attribute Bonus
Set to -50.
Copy the modifier bonus and change the following settings.
- Attribute
Select Medium. - Attribute Bonus
Set to -25.
Copy the modifier bonus and change the following settings.
- Attribute
Select Gigantic. - Attribute Bonus
Set to 25.
Save Changes #
And that’s it for the modifier setup.
Don’t forget to save your changes by clicking on Save Settings at the bottom of the editor.
Next, we’ll set up status effects.