Stardock

[0.982] Venomous Shortbow does not cause poison on target

By on September 22, 2012 3:48:30 AM from Elemental Forums Elemental Forums

Heavenfall

Join Date 07/2008
+419

see topic

6 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
September 27, 2012 5:14:31 PM from Elemental Forums Elemental Forums

Issue persists in 0.981

Reason for Karma (Optional)
Successfully updated karma reason!
October 4, 2012 5:33:48 PM from Elemental Forums Elemental Forums

Still in 0.982

Reason for Karma (Optional)
Successfully updated karma reason!
October 4, 2012 7:11:56 PM from Elemental Forums Elemental Forums

Fixed, thanks.

Reason for Karma (Optional)
Successfully updated karma reason!
October 4, 2012 7:51:13 PM from Elemental Forums Elemental Forums

Fixed in that meleeappliesspell now applies from ranged attacks? 

Reason for Karma (Optional)
Successfully updated karma reason!
October 4, 2012 9:42:59 PM from Elemental Forums Elemental Forums

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.

 

Reason for Karma (Optional)
Successfully updated karma reason!
October 4, 2012 10:16:04 PM from Elemental Forums Elemental Forums

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. 

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108432  walnut2   Server Load Time: 00:00:00.0000110   Page Render Time:
Facebook Twitter YouTube Google+