• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • 请教一个命令的问题

    Discussion in 'Honorbuddy 援助区' started by add44, Sep 19, 2016.

    1. add44

      add44 New Member

      Joined:
      Mar 5, 2014
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      你好 请问一下我想判断一个个人npc的声望 “挚友” 这个命令是怎样的?我尝试用判断声望的命令去修改,但是失败了,谢谢
       
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      不太明白你表达的意思
      你可以将你改的代码发上来看看
      另外声望有"挚友"这个级别么?我怎么没听说过
       
    3. add44

      add44 New Member

      Joined:
      Mar 5, 2014
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      你好 中文“挚友” = 英文“best friend”
      我尝试将命令修改为<If Condition="Me.GetReputationLevelWith(XX) &lt; Styx.WoWUnitReaction.BestFriend" >
      HB报错显示不支持这个命令
      NPC的名字是:conjurer margoss
      亲密度最高就是best friend
      谢谢
       
    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
    5. add44

      add44 New Member

      Joined:
      Mar 5, 2014
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      我知道这个 文档里看里但是并没有找到。。。
      请问该如何判断conjurer margoss这个NPC的亲密度呢? 最高级别是bestfriend
      能不能麻烦帮忙写个判断命令 非常感谢
       
    6. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      你可以试下用GetReputationWith获取这个npc的声望值,看是否可以获取到具体数值,再按照这个数值来计算,但具体多少才是挚友我也不清楚
      你可以在开发工具里的console
      运行代码测试
      Code:
      Log(Me.GetReputationWith(NPC的ID));
      
       

    Share This Page