Download Game! Currently 115 players and visitors. Last logged in:ProteusMoviaeHuppuBeautyin

BatMUD Forums > Guilds.priests > Re: bug fix

 
 
#1
10 Nov 2004 09:01
 
 
Could you tune damn armament that it wouldnt target first weapon
on the floor. I mean which priest would be that stupid that willingly
would cast damn armament on trident on floor, not in hand.

 
Rating:
1
Votes:
1
 
 
Capula
1y, 268d, 12h, 5m, 11s old
Level:
100
 
 
#2
10 Nov 2004 13:29
 
 
Capula wrote:
Could you tune damn armament that it wouldnt target first weapon
on the floor. I mean which priest would be that stupid that willingly
would cast damn armament on trident on floor, not in hand.
I made a quick-and-dirty fix that checks for an item in inventory with the
same name as the one you target if target is on ground. It might not work for
all items, if the real name is not the same, but should fix it for generic
weapons at least. And those are the ones that generally lie on the ground
anyway.
HAve a nice day.

 
 
 
Malar
C o d e s l a v e
2y, 55d, 3h, 49m, 17s old
Level:
43 [Wizard]