SlimeKnights / TinkersToolLeveling

Use tools. Gather xp. Get modifiers.
MIT License
34 stars 44 forks source link

Arrows that kill in One-Shot don't gain exp #114

Open CommanderLouiz opened 4 years ago

CommanderLouiz commented 4 years ago

Mod Version: 1.12.2-1.1.0 TConstruct Version: 1.12.2-2.13.0.171 Plustic-8.0.1.0

Modpack: Lapito's Galacticraft

I have two arrows made, and I'm firing them with the same bow. The weaker arrow with the ice core correctly gains experience. The Stronger arrow with the explosive core does not. I believe it is due to the fact that it one-shots its targets.

Testing on a Galacticraft boss which the arrow could not one-shot proves this, as it gained exp when the boss died.

Bow was Two Cobalt Bowlimbs and a vine string. Arrow 1 is Ice Shaft, Thorium Arrow Head, and Slimeleaf fletching Arrow 2 is TNT Shaft, Osgloglas Arrow Head, and Slimeleaf fletching

All three have the diamond modifier (And others that don't affect raw damage output)

bonii-xx commented 4 years ago

Does it also happen if you use only vanilla TiC materials? Judging from the name.. do the arrows explode? I suspect if the explosion kills the enemy, it might not count as damage dealt by the arrow.

CommanderLouiz commented 4 years ago

The explosion would have been what killed the Galacticraft boss as well, and it gained exp in that case, so I do not think so, but I will make an arrow without the TNT Shaft to test.

(And yes, they do explode when they hit an enemy)

CommanderLouiz commented 4 years ago

I guess it is the TNT that does it. An Arrow with Osgloglas head and slimeleaf staff, but Livingwood Shaft got exp just fine from a one-shot. I guess how PlusTiC is handling the explosion isn't doing so in a way that this mod recognizes automatically as being "from the arrow".

MichaelWMills commented 3 years ago

Glad someone else found this issue as well. In my case I am using the same xbow and two separate bolts. One has a TNT core, the other has a living wood core.

Sometimes the TNT bolt gets XP but it's very inconsistent and I'm not even 100% sure that it's because it doesn't count explosive damage as bolt damage.

MichaelWMills commented 3 years ago

Actually I can confirm that if I hit endermen I have to use two shots, but it DOES give me the XP on endermen kills. All other regular mobs I encounter in stoneblock don't give XP.