[Help] Change skill image frame wrong

bansheemir.com

Wummy

Loyal Member
Loyal Member
Aug 24, 2015
595
73
55
basically im trying to change MeteorStrike Image to another image and im not sure where i went wrong, im not good with coding but this seems pretty simple to me
so the new image is in magic10 starts off at 1670 and ends at 1709


here is the code and Video
1659042479071.png

1659042537889.png
1659042593135.png
 
MirWall Mir2 Server

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
573
2
28
135
I'm not exactly good with codeing but I think you need to...

Change:

Effects.Add(new Effect(Libraries.Magic10, 1670, 39, Frame.Count * FrameInterval, this));

To this:

Effects.Add(new Effect(Libraries.Magic10, 1670, 10, Frame.Count * FrameInterval, this));

And:

DrawFrame = 1670;
FrameInterval = 100;
FrameCount = 39;

To this:

DrawFrame = 1680;
FrameInterval = 100;
FrameCount = 30;

As you currently have it.. I think its trying to play all 39 frames of the skill image over the player character on casting and then all 39 frames at target location as well.
Also that skill image your trying to use dosnt have the same amount of frames/images as original MeteorShower, original has an extra 10 frames which the code is currently setup for.
Like I said I'm not good with codeing but I hope this helps. :)
 
Last edited:
  • Like
Reactions: Wummy
Upvote 0
Solution

Wummy

Loyal Member
Loyal Member
Aug 24, 2015
595
73
55
yeah all fixed now, someone helped me and told me about player is the cast and spell is the landing so i managed to fix it from there :)
 
  • Like
Reactions: andykid131
Upvote 0