D Dialglex Terrarian Jan 1, 2018 #1 I want to make a armor with a set bonus similar to turtle armor that does more knockback. How would I go about replicating the thorns effect?
I want to make a armor with a set bonus similar to turtle armor that does more knockback. How would I go about replicating the thorns effect?
Muninn Eye of Cthulhu Jan 1, 2018 #2 You might want to simply decompile the terraria source code with ILspy. Then go down to the items section and look at the code for turtle armour.
You might want to simply decompile the terraria source code with ILspy. Then go down to the items section and look at the code for turtle armour.
D Dialglex Terrarian Jan 1, 2018 #3 Like this? https://github.com/TheVamp/Terraria-Source-Code/blob/master/Terraria/Item.cs There wasn't much in the item.cs, but I managed to find something in player.cs: https://github.com/TheVamp/Terraria-Source-Code/blob/master/Terraria/Player.cs, but there are a lot of numbers that I don't really understand.
Like this? https://github.com/TheVamp/Terraria-Source-Code/blob/master/Terraria/Item.cs There wasn't much in the item.cs, but I managed to find something in player.cs: https://github.com/TheVamp/Terraria-Source-Code/blob/master/Terraria/Player.cs, but there are a lot of numbers that I don't really understand.
Muninn Eye of Cthulhu Jan 1, 2018 #4 That github code is illegal. Beyond that, I do not know how to help you. try asking on their discord server. Sorry if I was unhelpful.
That github code is illegal. Beyond that, I do not know how to help you. try asking on their discord server. Sorry if I was unhelpful.