Defensive Damage Calc
Toram General Info II • 6 sections
keep that in mind, this is full guide on defensive stuffs
FYI, last update before registlet lv 150 finstern or after fall of enmity elixir immortal bh tank
https://youtu.be/6P_u8sqLizI

Toram Online How Damage Taken Receive Work ~Joji
Toram Online #23
FYI, Damage Taken = mean you took/received damage
here my Damage Taken Project Slide
https://docs.google.com/presentation/d/1r9-SNWPAki2OdhRK5bDB-n-0IITVf-Oi3My3BDAezrQ/edit?usp=sharing
You can go read there, i think you might need install Google Slides
Also, Dont forget watch these video out
Elemental Resistance Test | Toram...
video created at 29 July 2020
note: this is temporary info, we will update this in future

Heavy Armor Advantage
Body armor that has been remodeled to heavy gets these advantages:
This is a flat reduction to enemy attacks Fractional Damage value (capped at minimum 1% HP); applies first before usual calculation (total equipment refinement, Aspis Soul, Demonic Pact, Aerial Slay, etc; also applies the half resistance value every 50% resistance).
For example, damage taken becomes: Character's HP MAX(1; Fractional Damage% - Heavy Armor Refinement Value)% (1-Total Equipment Refinement%) (1-Total Skills Fractional Damage Reduction%) (...).
ADVANCED DAMAGE TAKEN CALCULATION PROCESS
Damage Reduction Calculation Overview
```This section details, in order, the process for applying various damage reductions to determine the accurate damage taken result.
Each step must be followed sequentially, respecting integer values and any specified rounding rules.```
Calculation Structure
``The calculation is implemented as a cascaded chain of INT()` multiplications to ensure precise and consistent results.
This approach prevents rounding errors and maintains accuracy throughout the entire computation.```
Research and Verification
Follow the steps exactly as outlined below to ensure correct results.

STEP 1 — BASE DAMAGE & DIFFICULTY
= INT( `BASE DAMAGE` × `DIFFICULTY SCALING` )
> `BASE DAMAGE`: This attribute varies depending on the enemy’s attack pattern.
> `DIFFICULTY SCALING`: Determines how strong the attack pattern becomes if enemy has a selected difficulty.
```EASY ×0.5
NORMAL ×1
HARD ×2
NIGHTMARE ×4
ULTIMATE ×6 ```

STEP 2 — RAGE BOOST
= INT( `RESULT` × `RAGE BOOST` )
> `RAGE BOOST`: Some enemies deal extra damage when inflicted by ailments or interrupted by flinch, tumble, or stun. The multiplier amount depends on the enemy and its attack pattern.

STEP 3 — EVENT BOOST & LEVEL DIFFERENCE
= INT( `RESULT` × `EVENT BOOST` ) + `ENEMY DIFFERENCE` - `PLAYER LEVEL`
> `EVENT BOOST`: This boost applies to any enemy without a difficulty selector, such as Event Bosses or Guild Raid Bosses, primarily because they lack difficulty scaling. The multiplier amount depends on the boss and the attack pattern.

STEP 4 — DEFENSE REDUCTION
= INT( `RESULT` × `DEF or MDEF REDUCTION` )
> `DEF or MDEF REDUCTION`: It features a different scaling that provides diminishing returns as higher values are pursued.
```From 0 to 250 → +0.8% every 10
From 250 to 1250 → +1% every 100
From 1250+ → +3% every 1000```

STEP 5 — FLAT BASE REDUCTION
= INT( `RESULT` × `FLAT BASE REDUCTION` )
> `FLAT & PERCENTAGE`: In this category, we have Chakra as the only skill capable of reducing incoming damage from the base value. The buff must be cast by another source in order to apply the reduction.

STEP 6 — CRITICAL DAMAGE
= INT( `RESULT` × `CRITICAL DAMAGE` )
> `CRITICAL DAMAGE`: Some enemy attack patterns may include a Critical Rate chance. If the Critical Rate check succeeds, this step is multiplied by the enemy’s Critical Damage (usually is ×1.5).

STEP 7 — REFINE REDUCTION
= INT( `RESULT` × `REFINE REDUCTION` )
> `REFINE REDUCTION`: Each equipment refinement level grants +1% damage reduction.
Example: My armor is +S (15%) and my Additional +6 (6%).
`1 - (15 + 6) / 100` = ×0.79

STEP 8 — STABILITY ROLL
= INT( `RESULT` × `STABILITY ROLL` )
> `STABILITY ROLL`: Every enemy attack pattern has a Stability value, which functions similarly to the player’s stability mechanic. This means the damage is determined by a random roll ranging from 100% (×1) down to the specified stability value.
Example: An attack with `80%` Stability can multiply between ×0.8 and ×1.0.

STEP 9 — RESISTANCE REDUCTION
= INT( `RESULT` × `RESISTANCE REDUCTION` )
> `RESISTANCE REDUCTION`: This resistance reduction includes a soft cap to prevent players from achieving 100% damage reduction. It functions by dividing the total resistance into segments of 50, then applying the segments to the damage one by one.
> Additionally, Damage Reduction Type % is added additively to the corresponding Physical or Magic Resistance whenever it is applied, and it is also included in the calculation for the soft cap.
Example: 180 Physical Resistance.
`180 = 50 + 50 + 50 + 30`
Apply the segments one by one:
INT( `Result × (100 - 50) / 100` )
INT( `Result × (100 - 50) / 100` )
INT( `Result × (100 - 50) / 100` )
INT( `Result × (100 - 30) / 100` )

STEP 10 — ELEMENTAL REDUCTION
= INT( `RESULT` × `ELEMENTAL REDUCTION` )
> `ELEMENTAL REDUCTION`: Works the same way as physical or magical resistance, but only against matching elements.
Example: Fire Resistance only reduces damage from fire-type attacks. It’s important to note that enemies can use attacks of various elements, regardless of their own elemental type.

STEP 11 — GUARD REDUCTION
= INT( `RESULT` × `GUARD REDUCTION` )
> `GUARD REDUCTION`: If the player successfully guards, apply the guard’s reduction rate here. The higher your Guard Power, the stronger the reduction applied to the incoming damage.

STEP 12 — TOUGH
= INT( `RESULT` × `TOUGH COMBO TAG REDUCTION` )
> `TOUGH COMBO TAG REDUCTION`: Refers to the combo tag Tough which reduces damage based on the skill’s combo timing:
```Damage during the tagged skill → ×0.5
Damage after the tagged skill → ×0.75
Not using the combo tag → ×1 (no change)```

STEP 13 — LETHARGY
= INT( `RESULT` × `LETHARGY REDUCTION` )
> `LETHARGY REDUCTION`: If the boss has the Lethargy ailment applied, the damage is reduced by 30% which means a ×0.7.

STEP 14 — SKILL REDUCTION
= INT( INT( INT( `RESULT` × `BASE SKILL REDUCTION` ) × `SUPPORT SKILL REDUCTION` ) × `ACTIVE SKILL REDUCTION` )
> `BASE SKILL REDUCTION`: For this group of skills, only the single highest reduction from this whole skill list applies at the same time when taking damage.
```Sanctuary
Internal Elixir
Dragon Tail
God Hand
Asura Aura
Enchanted Barrier
Shield UpperCut
Tri Ace Shooter (Multiple Hunt)
Rampage Last Hit
Chronos Shift
Knight Pledge```
> `SUPPORT SKILL REDUCTION`: These stack additively with each other but are subject to a softcap after 100% total reduction. Every 10% beyond 100% becomes only +1% effective when reducing damage (always forced round up regardless the decimal)
```Guardian
Magic Barrier
Desperate Resist
Chakra
Wisdom Song
Water Release
Sprite Shield```
> `ACTIVE SKIL REDUCTION`: These stack additively with each other but are subject to a softcap after 100% total reduction. Every 10% beyond 100% becomes only +1% effective when reducing damage (always forced round up regardless of the decimal)
```
Demonic Pact: Demonic Barrier
Golem
Magadachi
Garyou Tensei
Kasumisetsu Getsuka
Parry
Aerial Slay
Gladiate
After Shield
Blink Sword
Fareth
Magic Skin
Aspis Soul
Sicarius
Clash of Enmity
Survival Instinct
Express Aid
Earth Release
Life Recovery
Elegant Poise
Morning Star ```
Example: I have 151% active skill damage reduction. Firstly, I apply the softcap as said; `151% = 105.1% = 106% to then proceed to divide it in segments of 50 and apply each segment one by one in order. 106 = 50 50 6`:
INT( `Result × (100 - 50) / 100` )
INT( `Result × (100 - 50) / 100` )
INT( `Result × (100 - 6) / 100` )

STEP 15— REGISTLET REDUCTION
= INT( `RESULT` × `REGISTLET REDUCTION` )
> `REGISTLET REDUCTION`: All damage modifiers are added additively together, and in this case, no penalties are applied.
```
Guitarist
Tanker's Pet
Pursuit Relief
Eagle Eye
Exclusive Bodyguard
Red Area Shield
Blue Area Shield
```

STEP 16— FLAT SKILL REDUCTION
= INT( `RESULT` - `FLAT SKIL REDUCTION` )
> `FLAT SKIL REDUCTION`: This group includes all skills that provide a pseudo barrier or temporary HP to the player, which absorb incoming damage before it affects the player’s actual HP.
```
Terrablast
Stone Barrier
Forefist Punch
Crescent Saber
Sacred Teaching
```

STEP 17— BARRIER REDUCTION
= INT( `RESULT` - `BARRIER AMOUNT` )
> `BARRIER AMOUNT`: Refers to Physical Barrier, Magic Barrier, and Fractional Barrier.