The documentation states:
Code: Select all
Function: Determines if an item falls into one of the following categories for a character:
An item on the ground, within two squares
An item equipped by the character
An item inside the character's backpack
A temporarily accessible item
Notes: Does not check that character has line-of-sight to item.
I am posting this here to make shard developers aware that this could open up exploits by players if there is no Distance check along with your Accessibility check.
All you need to do is add a Distance function call to your 'if' statement to resolve this possible exploit.
Code: Select all
if(Accessible(who, item) && Distance(who, item) < 3)
Rest assured the developers have been discussing several ways to resolve this and will try to do it without disrupting or breaking our scripts.