# How smash works?

**URL:** https://discourse.cataclysmdda.org/t/how-smash-works/11361
**Category:** The Toolbox
**Created:** [February 5, 2016, 2:26pm UTC](https://discourse.cataclysmdda.org/t/how-smash-works/11361 "2016-02-05T14:26:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jboadas](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jboadas/32/524_2.png) [@jboadas](https://discourse.cataclysmdda.org/u/jboadas)
#### Post date: [February 5, 2016, 2:26pm UTC](https://discourse.cataclysmdda.org/t/how-smash-works/11361/1 "2016-02-05T14:26:39Z")

</div>

I was messing with json files and wonder how smash things works, I just want to know what kind of creature could smash walls or what wall the character could smash with the current equiped weapon, a wall have min and max str and a zed have no str, hulk have smash special attack but othes creatures also could smash things. anyone have lights on this ?  
thanks

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [February 5, 2016, 2:48pm UTC](https://discourse.cataclysmdda.org/t/how-smash-works/11361/2 "2016-02-05T14:48:50Z")

</div>

I think, just a theory, that zombie attack power gets converted on a 1-1 basis into ‘strength’ for the purposes of b  
smashing

Group bash probs allows them to combime simultaneous efforts into a sngle score, and likely even buffs indidual attacks a little

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [February 5, 2016, 3:54pm UTC](https://discourse.cataclysmdda.org/t/how-smash-works/11361/3 "2016-02-05T15:54:34Z")

</div>

I thought it was a flag, I could be wrong, never messed with bashing myself.

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [February 5, 2016, 5:58pm UTC](https://discourse.cataclysmdda.org/t/how-smash-works/11361/4 "2016-02-05T17:58:41Z")

</div>

It is. but the question is how that flag gets implemented, and how group\_bash works.

---

<div class="post-metadata">

### Author: ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)
#### Post date: [February 6, 2016, 12:50am UTC](https://discourse.cataclysmdda.org/t/how-smash-works/11361/5 "2016-02-06T00:50:50Z")

</div>

Smash attack has nothing to do with wall/vehicle/furniture smashing.  
What is referred to as “smashing” is sometimes calling “bashing” in the code. Here I’ll call it “smashing”.

Smashing stuff works like this:  
Each terrain or furniture has minimum and maximum value of resistance.  
When smashed, it rolls this resistance (between minimum and maximum, equal distribution)  
If this resistance is lower than smashing ability, the feature is destroyed.

Smashing ability is:  
Strength + weapon’s bashing for player and NPCs  
Maximum possible bashing damage per hit for all smashing monsters  
Additionally, when there are zombies behind the smashing zombie, it gets a bonus to smashing equal to that of the zombies behind it divided by their distance to feature being smashed.

For resistances, read terrain.json.  
For monster smashing ability, read monsters.json (smashing ability is melee\_dice \* melee\_dice\_sides).  
DESTROYS flag (hulk) multiplies that ability by 2.5, BORES (minerbot) by 15.
