版主您好,我想在角色死亡之后移动到某一个点 我现在使用的是XYZ= 5066.804,-4044.695,39.14245 ,自己写不好,希望版主帮忙修改下,总是提示无法控制3个参数。用任务模式 总是等待复活,没办法用脚本控制(为什么去这个点,因为这个点无视复活CD 去了直接复活。)
PHP:
[CODE]
using System;
using System.Linq;
using System.Windows.Media;
using Styx;
using Styx.Common;
using Styx.Plugins;
using Styx.WoWInternals.WoWObjects;
using System.Drawing;
using Levelbot.Actions.Combat;
using Styx.Pathing;
using Styx.Helpers;
using System.Threading;
using System.Diagnostics;
using Styx.WoWInternals;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.IO;
using System.Runtime.InteropServices;
using System.Xml.Linq;
using System.Net;
using Styx.CommonBot;
using Styx.CommonBot.Frames;
namespace moveHelper
{
public class moveHelper : HBPlugin {
public static LocalPlayer Me = StyxWoW.Me;
public static WoWItem YUERItem;
public override string Name {get { return "moveHelper"; }}
public override string Author {get { return "moveHelper"; }}
public override Version Version {get { return new Version(8, 8); }}
public moveHelper(){CustomNormalLog("moveHelper...");}
public override void Pulse() {
if(!HashpBuff()) {
return;
}
if(!CanUseYUER()) {
return;
}
ClickToMove();
CustomNormalLog("moveHelper...");
}
public void CustomNormalLog(string message, params object[] args) {
Logging.Write(Colors.DeepSkyBlue, "[moveHelper]: " + message, args);
}
public static bool IsViable(WoWObject pWoWObject) {
return (pWoWObject != null) && pWoWObject.IsValid;
}
public static bool CanUseYUER() {
return IsViable(Me) && Me.IsDead;
}
public static bool HashpBuff() {
return Me.HasAura(8326);
}
public static bool AtLocation(
5066.804,-4044.695,39.14245
){
return ;
}
public static void ClickToMove(){
ClickToMove(AtLocation);
}
}
}[/CODE]
Last edited: