I read forum and am trying to use wrappers for UsePowerToLocation and UsePowerToActor, but it did not work, possible that something has changed with the latest patches.
Can somebody help to make it work in C#?
Functions offsets on 1.0.5
Code:
uint UsePowerToLocation = 0x008AD940;
uint UsePowerToActor = 0x008ADBC0;
My structure
Code:
struct ToPositionPowerInfo
{
public uint SpellId1;// 0x0000777C
public uint SpellId2;// 0x0000777C
public uint TargetType;// 0x00000002
public uint TargetACDGuid;//0xFFFFFFFF
public float TargetX;
public float TargetY;
public float TargetZ;
public uint WorldGuid;// 0x772E0000
public int MinusOne;// 0xFFFFFFFF
}