
Elemental Attack Damage Compat For Iron's Spells and Spellbooks
A simple mod that adds an attack attribute for weapons for each of Iron's Spells and Spellbooks' elements, and keeps default weapon attributes from being overwritten when adding a new attribute (can be disabled for flexibility). My first completed mod.
Tags
Creators
Details
1.1.0
Compatibility
Changes
Minor version 1.1.0
-
The attributes for elemental attacks ('elementalattackdamagecompat:{element}_attack_damage.') has been reworked so that it no longer applies to spells. It will only work for melee and ranged weapons now. There is now a separate attribute for spells, which also adds 'base' damage to each spell per projectile. The id pattern for these attributes is 'elementalattackdamagecompat:{element}_spell_damage.' Resistances for a spell's spell school and added spell damage should work as expected. Attribute names have been changed to show whether they apply to attacks or spells.
-
Bow attacks should now take the arrow's projectile speed into account. Whereas before, you will still deal a constant amount of damage when the bow is fully charged or not. This only affects bows. Gun behavior is not affected.
-
Iron's Spells and Spellbooks is now required as a dependency.
Thank you, Senpais!
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:O9BOTj1n:oG5HcNeK"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:O9BOTj1n:oG5HcNeK"
}
