Explosions: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (Heladodebrownie moved page Explosive to Explosions: more appropriate/complete name)
(editing)
Line 1: Line 1:
{{As Of Patch|2.0.200.86}}
{{As Of Patch|2.0.200.86}}
'''Explosions''' are a type of damaging phenomenon caused by {{Favilink|high explosive grenade mk I|high explosive grenades}} among other weapons, as well as certain other things such as {{Favilink|space-time vortex|plural}}. Creatures and other things caught within an explosion are forcefully pushed in addition to being damaged proportional to the force of the explosion.
'''Explosions''' are a type of damaging phenomenon caused by {{Favilink|high explosive grenade mk I|high explosive grenades}} among other weapons, as well as certain other things such as {{Favilink|space-time vortex|plural}}. Creatures and other things caught within an explosion are forcefully pushed in addition to being damaged proportional to the force of the explosion. Explosions can cross zone boundaries and damage things outside the zone where they originated.


Each projectile deals Force/250 damage, with bonus damage added on depending on the weapon.{{Code Reference|class=Physics|method=ApplyExplosion}} This explosion can spread across zones and can damage and kill off-screen objects.
Each explosion has a certain initial force, which can be conceived of as a positive whole number. This force applies to the epicenter of the explosion and lessens as it spreads out into adjacent tiles and as it strikes objects. Heavier objects absorb more of the force, lessening it proportional to their weight. Each cell is hit at most once in the same explosion.
 
The initial force and damage will only apply to the epicenter; as the explosion travels, the force will decrease depending on the number of adjacent cells and the total weight of the object that was already hit. The explosion cannot spread to cells it has already hit in the same explosion. The cell calls this specific formula; that cell then spawns cells with weaker force that will call it again, repeating recursively until the force tapers out at 100 or lower:


The amount of force felt in a given cell hit by an explosion can be expressed using the following formula:


<center><math alt="Force equals current force minus total weight of objects hit divided by number of adjacent cells">\text{Force} = \frac{\text{CurrentForce} - \text{TotalWeightOfObjectsHit}}{\text{NumAdjecentCells}}</math></center>
<center><math alt="Force equals current force minus total weight of objects hit divided by number of adjacent cells">\text{Force} = \frac{\text{CurrentForce} - \text{TotalWeightOfObjectsHit}}{\text{NumAdjecentCells}}</math></center>


This calculation is repeated with weaker and weaker force in each later cell until the explosion tapers out at 100 force or lower.


If this force is greater than the target's weight and bonus from anchoring, the target will be forcefully pushed a random direction. Explosions happen from the center outwards, so if a creature is within the center of the blast, they will be continue to be pushed away until the explosion ends. The damage calculation only happens once.
A thing hit by an explosion takes an amount of damage equal to the force with which it was hit divided by 250, plus an amount of damage depending on the source of the explosion.{{Code Reference|class=Physics|method=ApplyExplosion}} If this force is greater than its weight, it is also pushed. (This can be countered by {{Favilink|anchor spikes}}.) Although the same object can be pushed more than once by the same explosion, it can only be damaged by it once.


==List of Explosive Weapons ==
==List of Explosive Weapons ==

Revision as of 00:08, 22 August 2020

This information is reliable as of patch 2.0.200.86. If this is no longer the current patch, you can help by updating it.
As of Patch This information is reliable as of patch 2.0.200.86.

Explosions are a type of damaging phenomenon caused by high explosive grenades among other weapons, as well as certain other things such as Space-Time Vortexes. Creatures and other things caught within an explosion are forcefully pushed in addition to being damaged proportional to the force of the explosion. Explosions can cross zone boundaries and damage things outside the zone where they originated.

Each explosion has a certain initial force, which can be conceived of as a positive whole number. This force applies to the epicenter of the explosion and lessens as it spreads out into adjacent tiles and as it strikes objects. Heavier objects absorb more of the force, lessening it proportional to their weight. Each cell is hit at most once in the same explosion.

The amount of force felt in a given cell hit by an explosion can be expressed using the following formula:

This calculation is repeated with weaker and weaker force in each later cell until the explosion tapers out at 100 force or lower.

A thing hit by an explosion takes an amount of damage equal to the force with which it was hit divided by 250, plus an amount of damage depending on the source of the explosion.[1] If this force is greater than its weight, it is also pushed. (This can be countered by anchor spikes.) Although the same object can be pushed more than once by the same explosion, it can only be damaged by it once.

List of Explosive Weapons

Weapon Initial Force Initial Explosive Damage
boomrose arrow 1200 ♥4+1d65-10 (Avg: 7.5)(+1d2 from collision)
missile launcher from a rocket turret 5000 ♥20+4d824-52 (Avg: 38) (+1d6 from collision)
mortar tube from a traipsing mortar 2000 ♥8+2d610-20 (Avg: 15) (+1d3 from collision)
swarm rack from a chrome pyramid 2000 ♥8+6d614-44 (Avg: 29) (+3d6 from collision)
sower's seed 2000 ♥8+2d610-20 (Avg: 15)
high explosive grenade mk I 2000 ♥8+2d610-20 (Avg: 15)
high explosive grenade mk II 7000 ♥28+5d633-58 (Avg: 45.5)
high explosive grenade mk III 15000 ♥60+6d666-96 (Avg: 81)
Hand-E-Nuke 10000000 ♥40000+2d640002-40012 (Avg: 40007)

References

  1. XRL.World.Parts.Physics, method ApplyExplosion