[DiscordArchive] What attribute determines whether a spell does weapon damage on top of the spell damage?
[DiscordArchive] What attribute determines whether a spell does weapon damage on top of the spell damage?
![[Image: image.png?ex=690c59df&is=690b085f&hm=8fc...a6324bf22&]](https://cdn.discordapp.com/attachments/870722120458600528/1380279676504637511/image.png?ex=690c59df&is=690b085f&hm=8fce14b774649eda066282ccc8bc5ec82ce00041560958b97477a23a6324bf22&)
Archived author: Snowcraft • Posted: 2025-06-05T20:18:39.208000+00:00
Original source
![[Image: image.png?ex=690c59df&is=690b085f&hm=8fc...a6324bf22&]](https://cdn.discordapp.com/attachments/870722120458600528/1380279676504637511/image.png?ex=690c59df&is=690b085f&hm=8fce14b774649eda066282ccc8bc5ec82ce00041560958b97477a23a6324bf22&)
Archived author: Tea • Posted: 2025-06-05T20:19:10.124000+00:00
Original source
that sounds correct
Archived author: Snowcraft • Posted: 2025-06-05T20:19:14.388000+00:00
Original source
Steady Shot has School_Damage and Energize. It's damage *is* affected by weapon and ammo.
Archived author: Snowcraft • Posted: 2025-06-05T20:19:41.221000+00:00
Original source
But Arcane Shot *also has* School_Damage but it's damage *isn't* affected by weapon and ammo.
Archived author: Snowcraft • Posted: 2025-06-05T20:19:44.833000+00:00
Original source
That's correct?
Archived author: Tea • Posted: 2025-06-05T20:20:49.627000+00:00
Original source
oh but steady shot has a "script" attached that adds the ammo bit (its in spelleffects.cpp, wasnt migrated to spell scripts)
Archived author: Snowcraft • Posted: 2025-06-05T20:21:07.943000+00:00
Original source
Ah,
Archived author: Snowcraft • Posted: 2025-06-05T20:23:28.512000+00:00
Original source
What's the difference between these ones btw?
Archived author: Tea • Posted: 2025-06-05T20:27:43.255000+00:00
Original source
SPELL_EFFECT_WEAPON_DAMAGE (and NOSCHOOL) deal `weapon_damage + value_from_spell` damage
Archived author: Tea • Posted: 2025-06-05T20:28:21.797000+00:00
Original source
SPELL_EFFECT_NORMALIZED_WEAPON_DMG deals `weapon_dps * predetermined_speed_for_weapon_type + value_from_spell` damage