Jump to content

Recommended Posts

Hello all please help)exist function to add 2 codition in option of quest "is complete condition "? need   - is complete condition 1 or   is complete condition 2   then  ...... example  : finish the grind mobs after condition 1(bag is full) or condition2(me.durability < 20 ) .....thanks for help

Link to comment
Share on other sites

return (ObjectManager.Me.GetDurabilityPercent <= 20 || wManager.Wow.Helpers.Bag.GetContainerNumFreeSlots <= wManager.wManagerSetting.CurrentSetting.MinFreeBagSlotsToGoToTown + 1);

Returns true if either durability is <= 20%, or when your current free bag slots is one above / before ToTown is triggered.

Not tested.

Link to comment
Share on other sites

1 hour ago, FNV316 said:
return (ObjectManager.Me.GetDurabilityPercent <= 20 || wManager.Wow.Helpers.Bag.GetContainerNumFreeSlots <= wManager.wManagerSetting.CurrentSetting.MinFreeBagSlotsToGoToTown + 1);

Returns true if either durability is <= 20%, or when your current free bag slots is one above / before ToTown is triggered.

Not tested.

thank you man , you are genius

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...