Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Ok... I must be very slow, but i can't find a way to make this possible.
I want a skill that will remains for 5 turns. That skill will drain 50% HP of what the monster got hit for each time the actor hit the monster. I tried many options and so far the best i got was to drain only one turn, if i added dmg in the base damage option of the skill. But i dont want to add an amount of damage to the skill.
If you can help me on this i'll be more than happy. And sorry for the bad typing, english isnt my native language.
Okay, well, without a script this will be a hell of a lot of work. That or the way I did it is a lot more complicated than it actually is! Anyways I got a fairly similar effect to what you are asking for; perhaps you can elaborate on my method and make it work more flawlessly.
1) Create a new state that will do nothing except last for 5 turns. This will be used for common event calling. I called this state 'Soul Link.'
Step 3 is perhaps where my method might be most flawed. If you don't like the way it works out just do some experimenting and perhaps you can make it better!
3) Now you are going to create 4 new spells. I'll be using a spell named 'Blast' for this example.
a) Name the first spell you create 'Blast.' And for now make it essentially do nothing. Not even damage!
(Note: Ignore the common event for now but you will be coming back to it.)
b) Name your next spell G-Blast (in this case 'G' stands for 'greater'). Make this spell function how it would function normally - standard
damage in this case. The common event should be set to none.
c) Name your third spell L-Blast (in this case 'L' stands for 'lesser'). Make this spell function at half the damage G-Blast functions at.
The common event should be set to none.
d) Name your fourth spell Dr-Blast (in this case 'Dr' stands for 'draining'). Make this spell also function at half the damage G-Blast
functions at but add absorbing to it. The common event should be set to none.
5) Now go back to the first spell we created and set the common event to 'drain.'
AND GAHHHHHHH!!!! I just realized how seriously flawed my method is now! This will only work on enemy 1 and therefore in order for it to properly work on enemies 2-8 you would have to continue to create mirror spells just to get this effect. Hopefully my post will assist you in some way!
God I feel stupid now! Oh well, gave it a shot. Perhaps there's a script out there somewhere that can make this a heck of a lot easier!
hey man thank you, im so gonna try it, at least its 100 steps ahead of what i created so far hahaha! soon 1am here, so ill try it tomorrow and ill give you some comeback. thanks again !
this is sadly where the 2nd problems is. Unless im wrong, when the enemy #1 is inflicted with Soul Link, only the actor 1 can use the skill. Since I have more than 4 actors and the player can switch between them in the course of the game, the spell will work only if the good actor is placed in the good spot.
At least the skill is working if all the condition are apply. Its a good thing to start of. But sadly with the option we have this cant be done without a script.
If some people have some idea to solve the problem at this point, feel free to help. If it require a script, maybe a moderator should move the thread to another section of the forum. Thanks again for the help The-sink!
Well, in order for it to work properly for other characters you would have to create a new common event but change the event to "Force Action: Actor No. 2 [Spell] Index X" BUT if you are doing it for the exact same spell, 'Blast,' but on a different actor you will need to create new 'Blast' spell that will have the Common Event that specifies use for Actor 2 or whatever actor you desire (Note: You shouldn't need to create an additional 'G-Blast' or any of those since those do not call the common event). If you use the same 'Blast' spell then it will call the common event for actor 1 which is not what you want. As you can see it will be an enormous amount of work to get this to work universally throughout your game. It can be done but it might be better to look for a script or ask someone to help you write one. Unfortunately, I am no where near able to write my own scripts!
yep sadly im not near close to be able to do a script for that. And like you said its a big amount of work to do. Dont really want to put that much time on a single skill, that make non sense. Well, I'll see if no one come up with a script, ill see near the end of my project if i really want to do that work or not. thanks again for your help.
Oh by the way, one thing i must tell you, the way you explaining your method is damn pro. Each step with a screenshot, i love your way of explaining!