• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • I can not fix

    Discussion in 'Requests & Discussion' started by Эпол, Nov 27, 2014.

    1. Эпол

      Эпол New Member

      Joined:
      Oct 16, 2013
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      is only one condition help fix

      <CustomBehavior File="Hooks\DoWhen" ActivityName="Open_PChests" UseWhen="HasItem(87391)" AllowUseDuringCombat="true" > <!-- Plundered Treasure Chest -->
      <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, &quot;[Azyul]: Opening Plundered Treasure Chest.&quot;);" />
      <CustomBehavior File="UseItem" ItemId="87391" NumOfTimes="500" TerminateWhen="!HasItem(87391)" />
      </CustomBehavior>
      <CustomBehavior File="Hooks\DoWhen" ActivityName="Open_PChests" UseWhen="HasItem(72201)" AllowUseDuringCombat="true" >
      <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, &quot;[Azyul]: Opening Plundered Treasure Chest.&quot;);" />
      <CustomBehavior File="UseItem" ItemId="72201" NumOfTimes="500" TerminateWhen="!HasItem(72201)" />
      </CustomBehavior>
       
    2. Hydroxsys

      Hydroxsys Community Developer

      Joined:
      Feb 2, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      0
      Mate if you could wrap those in a code block for me that would be glorious but just from looking at it I think your trying to attempt to make it look for plundered chests if I'm correct? i kind of need a bit of background as to what the codes done and what the errors are its throwing at compile time
       
    3. Эпол

      Эпол New Member

      Joined:
      Oct 16, 2013
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      without fault, but it works only the second condition, the first does not work, try different options, does not work, sorry my bad agliyskom
       

    Share This Page