[0.982] Venomous Shortbow does not cause poison on target

see topic

2,461 views 6 replies
Reply #1 Top

Issue persists in 0.981

Reply #2 Top

Still in 0.982

Reply #3 Top

Fixed, thanks.

Reply #4 Top

Fixed in that meleeappliesspell now applies from ranged attacks?  :pout:

Reply #5 Top

No.

I did go through the code to see if I could fix it like you mentioned, but its more complex than you might guess.  The problem is that in the engine, bow attacks are really spells.  So its a very different code path than melee attacks (it isnt simply a melee attack t range).

But since it is a spell I just put the poison damage on the actual spell its using BowAttack_Toxic and such.

 

Reply #6 Top

I tried that and it doesn't work either I believe. In my latest test, adding the poison on the spell actually made each bow attack only able to hit each unit once, because the bow spell was counted as being constantly on the target and not stackable. I will take a look a the new code. I am interested what I missed when I tried to do it.