Wall Destruction

ALMOST NOT STUBBY

Important shared mechanic for explosive or otherwise unconventional means to alter or remove blocks. Used by the following:

## Ability Glossary

* Exploder Goblin
	+ Placed Boxes (Explosion - 4.5\*)
	+ Thrown Boxes (Thrown - 4.5\*)
	+ KABOOM (Explosion - 6\*)
		- Destruction Upgrade improves above Destruction Strength values by +0.5 per level
		- Super Kaboom improves KABOOM by +2.5 Destruction Strength
* Hobgoblin
	+ Thrown Boxes (Thrown - 3.5)
* Miasma Goblin
	+ Noxious Kaboom (Explosion - 1.9)
	+ Wall Weakening (Decay - 3.3\*)
		- Each Wall Weakening upgrade improves Destruction Strength by +0.3.
		- Level 1 has a total of 3.3 Destruction Strength
* Ember Sprite
	+ Fireball and Blast Jump (Explosion - 4.8)
* Spiderling
	+ Poison Glob (Corrosion - 2.2)
* Battering Ram
	+ Battering (Explosion - 8.0)
	+ Ramming Rush (Charge - 2.5\*)
		- Scales linearly from 2.5 to 8.5 Destruction Strength based on how long the user has traveled for.
* Minotaur
	+ Mighty Charge (Charge - 2.5)
* Lackey
	+ Bombs (Explosion - 4.4)
* Kraken
	+ Beam Lance (Explosion - 4)
* Ticker
	+ Time Bomb (Explosion - 10)
* Velvetine's **Power Shot**
	+ (Decorative - 5)

## Convertion Inputs

### Destruction Strength

The more destruction strength governs the size of a destructive effect as well as how much attack force is applied to each block in said range. The further away from the center of the blast a block is, the less destruction strength is applied against it.

The size of a destruction effect is always an interger value, meaning no decimals, the volume said effect will affect is expressed as a cube.

(
i
n
t
)
s
i
z
# e
M
a
t
h
.
c
e
i
l
(
2
∗
d
e
s
t
r
u
c
t
i
o
n
S
t
r
e
n
g
t
h
)

{\displaystyle (int)size = Math.ceil( 2 \* destructionStrength )}

The further away a block is from the center point of a blast, the less initial force is applied against it. Blocks within 1 block of a destruction effect are subject to the full force of said effect, blocks which reside any further are treated to weaker forces.

a
p
p
l
i
e
d
F
o
r
c
# e
(
d
e
s
t
r
u
c
t
i
o
n
S
t
r
e
n
g
t
h

/

M
a
t
h
.
m
a
x
(
1
,
M
a
t
h
.
s
q
r
t
(
d
i
s
t
a
n
c

e

(
b
l
o
c
k
s
)

)
)
)

{\displaystyle appliedForce = ( destructionStrength / Math.max(1, Math.sqrt(distance\_{(blocks)})))}

### Destruction Classifications

Each destruction effect will pull from a different table as to what blocks it will convert to. If the incoming force is greater than a block's resistance, then it will be converted. This process can repeat multiple times per block, subtracting the force used to convert the previous stage until the remaining force is less than resistance, or until there is no further convertions to be made.

Each time a block's resistance is calculated, a random amount of resistance is **added** or **subtracted**. The resistance variance is calculated as a gaussian random number, multiplied by the specified Resistance Variance values. On average the amount of alteration done by the variance will be quantitatively little in either direction, with high variance in either direction being much less common. Only 70% of the variance values reside within the below multipliers, and there is hypothetically no upper bound for much resistance can vary by.

#### Decorative

Used by Velvetine's **Power Shot**
 Grass Blocks
 Grass Blocks

## Block Classifications

Most input blocks are usually shorthand phrases for multiple blocks in the above tables, any. Output blocks on the other hand always refer to one type of minecraft block.

### Full Block Walls

* Enchanted Wall - Deepslate Brick Blocks
* Regular Wall - Stone Bricks, Mossy Stone Bricks, and Chiseled Stone Bricks
* Lesser Damaged Wall - Cracked Stone Bricks
* Greater Damaged Wall - Cobblestone and Mossy Cobblestone
* Broken Wall - Gravel
* Corroded Wall - Slime Blocks

### Wall Stairs

* Enchanted Stair - Deepslate Brick Stairs
* Regular Stair - Stone Brick Stairs
* Damaged Stair - Cobblestone Stairs

### Wall Slabs

* Enchanted Slab - Deepslate Brick Slabs
* Regular Slab - Stone Slabs
* Lesser Damaged Slab - Stone Brick Slabs
* Greater Damaged Slab - Cobblestone Slabs

### Light Sources

Redstone Lamps, Glowstone, End Rods, Lanterns, Sea Lanterns, and Soul Lanterns

### Dirt Blocks

Coarse Dirt, Dirt, Grass Paths, and Farmland