Help Change skill image frame wrong

Wummy

Majestic Mir 2
Dedicated Member
Aug 24, 2015
682
111
85
Majestic Town
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
 
Solution
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...

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
621
3
53
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