Buffs - dredmor-com/dungeons-of-dredmor GitHub Wiki

This page displays tags and attributes related to buffs and how to use them.

  1. Attack Buffs
    1.1. Hit Buffs
    1.2. Kill Buffs
  2. Stat Buffs
    2.1. Primary Buff
    2.2. Secondary Buff
    2.3. Resist Buff
    2.4. Damage Buff
  3. The Rest
  4. See Also

Attack Buffs

Hit Buffs

Hit buffs are cast upon hitting an enemy or getting hit. You can change the name and percentage, as well as what taxa triggers the spell.

<targetHitEffectBuff>
Name Input Description Example
percentage 0 - 100 Percentage the spell will be cast upon hitting an enemy. percentage="50"
name string The spell to cast upon hitting an enemy. name="Rockburst"
after 1 - inf N.A. after="1"
taxa string What kind of enemies are affected by this targetHitEffectBuff. taxa="Animal"
<playerHitEffectBuff>
Name Input Description Example
percentage 0 - 100 Percentage the spell will be cast upon getting hit. percentage="35"
name string The spell to cast upon getting hit. name="Defend"
after 1 - inf N.A. after="1"
taxa string What kind of enemies will trigger this spell upon hitting you. taxa="Other"

Kill Buffs

Kill buffs are cast on enemy kill and playerkill.

<targetKillBuff>
Name Input Description Example
percentage 0 - 100 Percentage that it will trigger on kill. percentage="20"
name string Name of the buff to trigger upon enemy kill. name="Killing Blow"
after 1 - inf N.A. after="1"
taxa string What kind of enemy will trigger the buff. taxa="Animal"

Stat Buffs

Primary Buff

Primary buffs alter the player's primary stats.

<primaryBuff>
Name Input Description Example
id 0 - 5 The primary stat changed id="2"
amount -inf - inf How much will be increased or decreased from this particular stat. amount="3"

Secondary Buff

Secondary buffs alter the player's secondary stats.

<secondaryBuff>
Name Input Description Example
id 0 - 23 The secondary stat changed id="14"
amount -inf - inf How much will be increased or decreased from this particular stat. amount="12"

Resist Buff

<resistbuff>
Name Input Description Example
damagetype value How much the damage resistance will increase/decrease from the damagetype chosen. toxic="-14"

Damage Buff

<damagebuff>
Name Input Description Example
damagetype value How much the damage will increase/decrease from the damagetype chosen. conflagratory="4"

The Rest

The other buffs only use 'percentage' and 'name', which respond to the percentage chance to cast a spell of a given name.

Name Activates On Works in <buff> Works on Items
blockBuff Blocking enemy attack yes yes
boozeBuff Drinking booze yes no
consumeBuff Consuming (food, booze, potion) no no
counterBuff Counter of enemy attack yes yes
criticalBuff Critical hit on enemy yes yes
crossbowShotBuff Shooting a crossbow no yes
dodgeBuff Dodging an enemy attack yes yes
foodBuff Eating food yes no
thrownBuff Throwing no yes
triggerOnCast Casting a mage skill no yes
triggerOnDodge Dodging an enemy attack no yes

(compatibility with items not tested)

See Also:

Skill System Reference

Item System Reference

Damage

Statistics

⚠️ **GitHub.com Fallback** ⚠️