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
https://wrobot.eu/forums/topic/9529-multiple-conditions/
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
https://wrobot.eu/forums/topic/9529-multiple-conditions/#findComment-44294
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
https://wrobot.eu/forums/topic/9529-multiple-conditions/#findComment-44295
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...