Electroblob's Wizardry - yeelp/Distinct-Damage-Descriptions GitHub Wiki
DDD integrates with Electroblob's Wizardry to assign damage distributions to spells and resistances to minions!
Spell Damage Type Distributions
Wizardry has its own damage type system. Each spell that does damage is assigned one of these Wizardry damage types. DDD maps each of these damage types to a damage distribution. All Wizardry integration uses these Wizardry damage type to damage distrbution mappings.
Throwables
Throwables in Wizardry are associated with their own Wizardry damage type and so can be mapped to a damage distribution without having to specify a projectile distribution in the config. However, in order to have a projectile distribution show up on tooltips, DDD has a config entry to map wizardry throwables to the wizardry damage type they inflict, which DDD can use to build a "dummy" projectile distribution tooltip.
The Flamecatcher spell produces a flaming bow that deals damage more similar to a throwable as opposed to a bow, and so it is included in the config for throwables so that it has a projectile distribution appear on its tooltip.
Spells
Spells in Wizardry are associated with their own Wizardry damage type, which DDD maps to a damage distribution. However, this damage distribution is not on a per spell basis, but per type basis. All spells that inflict Wizardry's shock type will all do the same damage, as DDD can not define damage distributions on a per spell basis. The config has an entry that lists what spells deal what kind of wizardry damage, and DDD uses this to list a Spell Distribution on wands that have the corresponding spell selected.
Minions
DDD has an easy way to configure the damage distributions and resistances of minions if they are minions of a mob that already exists. There is a config entry that lists what mob each minion is, and DDD will copy the damage distribution and resistances of that mob for the minion. This is only for convenience, as one could merely put the same damage distribution and resistances in the mob damage/resistance config for the minion with their id.
If the minion does have an entry in the mob damage/resistance config, that entry is used over the referenced mob in the config. If a mob has only one of mob damage/resistance and not the other, the one it does have is used and the other is copied (provided the minion has a entry in the Minion Capabilities list).