This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TC 3.3.5] Custom damage school?  (Read 1145 times)

Degen

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
[TC 3.3.5] Custom damage school?
« on: January 05, 2017, 06:11:19 am »
So I've been trying without success to create a custom damage school and have it show up on a weapon in-game.

ex.
Code: [Select]
Holy Sword
100-200 Damage
+50-60 Holy damage
but let's say instead of Holy I wanted to add Water damage..

I found Resistances.dbc stores damage schools including Physical, but adding a new line and using the id in item_template.dmg_type1 doesn't seem to do the trick. I'm obviously missing something and I couldn't find a single related forum post.

If anyone has some ideas they would be appreciated.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [TC 3.3.5] Custom damage school?
« Reply #1 on: January 05, 2017, 10:51:13 am »
This sounds to me like a kind of thing which is quite likely hardcoded in a client. It would be great if it wouldn't be so, but I'm afraid it is. Still, I am not sure.

The catch is that when you have a damage school, you also need to have a resistance against it. And that resistance needs to actually work, which means, that there must be a system handling it, and that system can be hardcoded just to fixed enum. Btw, elemental damage on weapons seems to not work on TC2. It worked on Mangos back in the day I was trying it (well, about 6 years ago), but it just never worked for me on TC2. Not on items, creatures deal elemental damage on TC2 as they should. It works from visual point of view, but deals no damage or just physical damage, I can't remember now. Rather test if even blizzlike elemental damages work for you, or not.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Degen

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
Re: [TC 3.3.5] Custom damage school?
« Reply #2 on: January 06, 2017, 06:17:09 am »
Hm, you're right. After a bit of testing I found that +elemental damage on weapons doesn't work. (Like the +Holy damage on Ashbringer) Wands deal elemental damage as intended, but I suspect that has to do with the Shoot spell. I'll experiment with core modifications and see what I can do.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »