Roofen-Game
  • Welcome to Roofen Game
  • Frameworks
    • Common Stat
      • Demo
      • 🚀 Quick Start Guide
      • Runtime
      • Action
      • Formula
      • Examples
      • Debugger
      • FAQ
      • Version Update
      • FutureDirection
    • RToDo
  • Survivors Roguelike Kit
    • Quick Start
    • Core Concepts Overview
      • Scene Concepts
      • Stat Concepts
      • Skill Concepts
    • Adding a New Playable Character
    • Adding a New Enemy
    • Adding a New Stage Configuration
    • Adding a New Map Configuration
    • Adding a New Level
    • Adding a New Attack Skill
    • Adding a New Buff
    • Configuring the Exp System
    • Damage Numbers Display Guide
    • Upcoming Features Preview
    • Release Notes
  • RSOFramework
Powered by GitBook
On this page
  • introduce
  • Modify Use
  1. Frameworks
  2. Common Stat

Demo

PreviousCommon StatNext🚀 Quick Start Guide

Last updated 4 months ago

introduce

Here you can see some commonly used attributes, at the bottom is a description of the Armor and the calculation of formulas, and at the bottom you can customise the formulas you enter, and the results will be hinted at below.

The right side allows you to modify existing attributes, with effects such as props returning 6 blood, taking damage -5, as well as direct HP boosts and equipment boosts, as well as modifying other attributes.

Modify Use

Clicking Attack Hit will pass -5 as Parametric into the formula @{Parametric} * (100 - min(100, ${Armor})) / 10000 to subtract the modified attribute HP.

Currently HP995 Click on Props Heal button +6

Increase MaxHP button will make changes to MAXHP, Click -5 before clicking +6.

Then click the 6 buttons on the right to equip them in order from top to bottom. The image below can be clicked to enlarge.

Then click on the 6 buttons on the right and unequip them in order from top to bottom.

Pull the right-hand scrollbar to the bottom.

The button then raises the attack to 53, reduces the armour to -3, and raises the bludgeoning damage to 210. at this point note the changes on the left hand side.

Increase armor value to 5.

Modification of input formulas.

Click the last button on the right.

The result is as above, if you want to test it yourself you can also go to the webgl demo.

Click Attack Hit Button
Click Heal button
Click -5
Click 6