}
automacro emoguild {

    console /\[(距離|dist)=(.*)\] (.*) \((\d+)\): \*(剪刀)\*$/


    call {

    if ($.lastMatch2 < 9) goto emoguild

    stop

    :emoguild

    $n = $.lastMatch4


    do eval foreach my $_player (@{$::playersList->getItems()}) { next if $_player->{name} eq ""; next if $_player->{actorType} ne "Player"; if ($_player->{'binID'} eq "$n") {$::Macro::Data::varStack{name} = $_player->{'name'}; $::Macro::Data::varStack{job} = $_player->job; $::Macro::Data::varStack{lvl} = $_player->{'lv'}; $::Macro::Data::varStack{sex} = $::sex_lut{$_player->{'sex'}}; $::Macro::Data::varStack{pos} = "$_player->{pos_to}{x}" . " $_player->{pos_to}{y}"; $::Macro::Data::varStack{dist} = sprintf("%.1f", distance($::char->{pos_to}, $_player->{pos_to})); $::Macro::Data::varStack{guild} = $_player->{guild} ? $_player->{guild}{name} : ''; $::Macro::Data::varStack{id} = $_player->{'binID'}; $::Macro::Data::varStack{status} = join (", ", keys %{$_player->{statuses}});}}

      if ("$guild" == "公會") goto ok


    stop

    :ok

          if ($.lastMatch5 == "剪刀") goto wave


    :wave

          # 施展點穴-活


          do sp SR_GENTLETOUCH_REVITALIZE $.lastMatch4 10


          stop
  }

}
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 aaa1314 的頭像
    aaa1314

    RO相關資料資訊♂外掛腳本討論&請勿發表其他廣告(請保持畫面清爽)感謝

    aaa1314 發表在 痞客邦 留言(0) 人氣()