Unlimited Shot WS and EES fixes

Post Reply
Kiri
Posts: 3
Joined: Wed Mar 06, 2013 3:42 pm

Unlimited Shot WS and EES fixes

Post by Kiri » Wed Mar 13, 2013 7:18 pm

Hey guys, noticed today Unlimited Shot wasn't working properly for weaponskills, effect didn't apply nor go away when I used Slug Shot earlier, so byebye ammo.

Threw together a fix, all I really did was take your Unlimited Shot logic and planted it in the area where the WS takes ammo.



Tested and working on my server, but might need a bit of testing anyways to make sure nothing goes haywire.


EDIT: Updated Eagle Eye Shot as well.
Attachments
ai_char_normal.cpp.patch
Unlimited Shot WS and EES factoring
(2.83 KiB) Downloaded 168 times

lautan
Developer
Posts: 164
Joined: Mon Jul 30, 2012 6:17 pm

Re: Unlimited Shot WS and EES fixes

Post by lautan » Thu Mar 14, 2013 5:14 pm

Thanks will look at this soon.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Unlimited Shot WS and EES fixes

Post by kjLotus » Thu Mar 14, 2013 5:56 pm

i wonder when that got added? i just copy/pasted ranged attack logic for EES >_>

lautan
Developer
Posts: 164
Joined: Mon Jul 30, 2012 6:17 pm

Re: Unlimited Shot WS and EES fixes

Post by lautan » Thu Mar 14, 2013 9:57 pm

Committed thanks. We really need to refactor ranged weapon logic. We have the same code in three different places.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Unlimited Shot WS and EES fixes

Post by kjLotus » Thu Mar 14, 2013 10:09 pm

lautan wrote:Committed thanks. We really need to refactor ranged weapon logic. We have the same code in three different places.
its like i always say!

get goin, then!

:D

Post Reply