i want to make rush impact take 50 range but with this code only goes in front of target always, i want to go on which location skill is casted with 50 range
not front please help me
video here:
code here
public final Location getFlyLocation(L2Character target, Skill skill)
{
if (target == null)
{
target = this;
}
int sign = 1;
Location toLoc = null;
int heading = target == this ? getHeading() : target.getHeading();
double radian = Util.convertHeadingToRadian(heading);
if (target != this)
{
toLoc = new Location(target.getX() + (int) (Math.sin(radian) * 40), target.getY() + (int) (Math.cos(radian) * 40), target.getZ());
}
else
{
toLoc = new Location(target.getX() + (int) (Math.sin(radian) * (skill.getFlyRadius() * (-sign))), target.getY() + (int) (Math.cos(radian) * (skill.getFlyRadius() * sign)), target.getZ(), heading);
}
if (isFlying())
{
return toLoc;
}
return GeoData.getInstance().moveCheck(this, toLoc);
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
From Salvation onwards I think you need a patched nwindow.dll that allows such modifications, try to see if you get what you need here:
https://drive.google.com/drive/u/1/folders/1LLbQFGf8KlR-O0Iv5umfF-pwZgrDh9bd
hello everyone!
I am wanting to save the files (Ini. - Data - ) of the EP5 Client: Salvation... But they generate the error "corrupt files"... I tried several versions of L2FileEditor without good results.
I need help! Thank you!
Question
GoldenNightmare
hello mxc i need some help with this code
i want to make rush impact take 50 range but with this code only goes in front of target always, i want to go on which location skill is casted with 50 range
not front please help me
video here:
code here
public final Location getFlyLocation(L2Character target, Skill skill) { if (target == null) { target = this; } int sign = 1; Location toLoc = null; int heading = target == this ? getHeading() : target.getHeading(); double radian = Util.convertHeadingToRadian(heading); if (target != this) { toLoc = new Location(target.getX() + (int) (Math.sin(radian) * 40), target.getY() + (int) (Math.cos(radian) * 40), target.getZ()); } else { toLoc = new Location(target.getX() + (int) (Math.sin(radian) * (skill.getFlyRadius() * (-sign))), target.getY() + (int) (Math.cos(radian) * (skill.getFlyRadius() * sign)), target.getZ(), heading); } if (isFlying()) { return toLoc; } return GeoData.getInstance().moveCheck(this, toLoc); }
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.