Open Soulless-1 opened 1 year ago
The problem is, the arrow is not unstack before the trigger, what I meant, When you miss the hit the arrow unstack or consumed depends on your luck, if it unstack it moves down of the player. Yes I can unstack and get the UID before trigger but the issue is if you return 1 under @hitmiss it will stay unstacked in your backpack, maybe take a look, I can add it back to stack if you return 1 the trigger, but if you did changes on arrow can cause issues, so need to check first before doing anything
under @hit and @hitmiss local.arrow is the pile of arrows in the attackers bag, not the uid of the arrow used. this makes it hard to really find that specific arrow on the target. for instance two archers battling each other, if you did findtype.t_weapon_arrow on them you might not get the arrow actually used but their own arrow pile they are using. For something like poisoned arrows this makes it difficult to deal with.