Reply to Re: Bookshelf
If you don't have an account, just leave the password field blank.
October 30th 2012, 04:37 AM
shevek
How many enemies will have 'item-fst' as their weapon do you think?
Ah, but you are mistaken about the meaning of compare_weapon. It doesn't compare the current enemy's weapon, it compares the weapon which is currently armed by Dink. If you only use that for opening a chest, for example, it would also be opened when shooting a fireball at it while having the fist armed, and even when a bonca attack hits it while Dink has the fist armed.
Ah, but you are mistaken about the meaning of compare_weapon. It doesn't compare the current enemy's weapon, it compares the weapon which is currently armed by Dink. If you only use that for opening a chest, for example, it would also be opened when shooting a fireball at it while having the fist armed, and even when a bonca attack hits it while Dink has the fist armed.