I didn't want to make a new thread for every single skill I had a problem with, so I've gathered them now and ask for them at once. Don't worry, they're not many ^^°
The scripts I'm using:
https://forums.rpgmakerweb.com/inde...sideview-battle-system-now-with-editor.29231/
https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/skill-cost-manager/
And these are the skills I have a problem with:
Skill #1:
The skill is supposed to have a sort of "death timer". Which means that after a certain amount of turns, the enemy dies, no matter the HP. I don't know how I should include this death timer, though. Should it be a state? A common event? I've tried them though and it doesn't work.
Skill #2:
It's basically like a counterattack skill, but the animation is supposed to be different. Rather than normally attack the enemy after being hit, it's supposed to be a shattering barrier. I've tried copying the counterattack animations (and everything I thought is linked to it as well as adding a new state) and renamed it barrier, but it doesn't seem to do anything. It's as if the script doesn't realize it's there. (Note that I also have a simple counterattack skill, which uses another animation)
Skill #3:
This one is supposed to work in two ways: If the enemy is killed through this skill, nothing else happens. But if the enemy doesn't die, the user will die instead. I've tried using the [if] command, but I don't know if I'm using it correctly. This is what I'm using: [:if, "target.state?(1)", [:end_action], ("InstaDeath")], "InstaDeath" would be the skill that happens if the enemy isn't killed.
I really hope someone can help me with these ^^°
[VXAce]Problems with several skills
● ARCHIVED · READ-ONLY
-
-
#1 check tsulihimes blog, she has a script for placeholder state or follow up states or so (I don't remember the exact name and she made a lot of state scripts).
Basically you make one state that does nothing, but is replaced by the death state after its turns run out.
#3 damage formula code, no need for scripts or notetags.
basically calculate the damage the skill would do before applying it and check if the enemy has more or less HP. If less HP apply the damage, if more HP kill user and then apply the damage. -
Thanks, the first one helped^^
About the other one: I barely know how to use damage formulas. All I can do (and understand) are the default formulas and how to add percentages ^^° -
1. https://forums.rpgmakerweb.com/index.php?threads/timed-states.31477/
Showcase:
2. Have you read this? https://github.com/theoallen/TSBS/wiki/State-Notetags
3. Try to use [:if, "target.dead?"] instead (only works for single target).
As for self damage, change target to self by using [:change_target, 11], then [:target_damage, <skill id for instant death>] -
Thank you very very much^^ I'm not very good with scripting so I really apprecciate your help^^
I guess with this, the thread can be closed^^ -
then you need to report it to be closed, posting something is not guaranteed to be read by mods.I guess with this, the thread can be closed^^
-
Sorry ^^° I'll report it now.
-
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.