Original Source
- Original title: Issue with adding states to the user when he casts a skill
- Original author: Uzi_Man
- Original date: July 7, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/issue-with-adding-states-to-the-user-when-he-casts-a-skill.64961/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
I don't know if there is a thread for this already, but when I want to add a state to the user when they use a skill, a few issues appear. Short story, I made a "Fast Attack" skill which is supposed to make the user attack twice in a row, with each attack having a -35% HIT ex-parameter. I posted two screenshots to show the setup. The issues are: 1) When the user casts the skill, the first attack always connects, it doesn't matter if I change the HIT ex-parameter to -100%. I saw that when the...
Archived First Post
Short story, I made a "Fast Attack" skill which is supposed to make the user attack twice in a row, with each attack having a -35% HIT ex-parameter. I posted two screenshots to show the setup. The issues are:
1) When the user casts the skill, the first attack always connects, it doesn't matter if I change the HIT ex-parameter to -100%. I saw that when the user casts the skill, he doesn't receive the -35% HIT state immediately: it appears immediately after he finishes the first strike, and then it applies the desired effects to the second attack. I originally intended that the state was added as soon as he casted the skill (so it would affect his next two attacks), and not when he finished his first attack, but that doesn't happen and I don't know why.
2) The state isn't applied when you use it two turns in a row.
As an overview of what happens: the user casts the skill to attack an enemy twice, his first hit always lands because it isn't affected by the -HIT% state, while the second one is. The user then casts the same skill after the turn ends, and now he isn't affected by the state at all, which means that both his first and second hit land normally. The user then casts the skill again after the turn ends, and now the state is applied but once again only to the second strike, and so it repeats.
I don't know how to fix this, and I'd appreciate some help.
Protected download
Protected download
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...

