Пробывал такие способа но чар кидает не на тварь, а под нее:
Code: Select all
If CountEx($097B,$FFFF,backpack) > 2 then
begin
DragItem(FindItem,2);
wait(100);
DropItem(night,0,0,0);
wait(800);
end;
Code: Select all
If CountEx($097B,$FFFF,backpack) > 2 then
begin
ItemID := finditem;
If not(isDead(self)) then MoveItem(ItemID, 2, night, 0, 0, 0);
end;