darkace77450
Member
Here's the scenario. I'm wanting a job class to use items from inventory to fuel the class skills. The items would then be consumed. If the items needed are not in the inventory then the ability would not work. I would like to do this with the Common Event function so I can circumvent the use of scripts and set it up myself. As an example we'll say the class is 'Pastry Chef', the skill is 'Cake', and the items needed are 'Cake Mix' and 'Icing' (just an example, not actually part of my game).
In my failed attempt I set up a skill 'Cake' and had the class learn it at level 1. I then made that skill call a Common Event called 'Cake'. This skill did nothing but call the common event. The Common Event uses a conditional branch to check the inventory for the items needed. If the items are there then the final conditional branch removes one of each from inventory. From there I have hit a block on how to finish the skill.
Here's where I need help. What I did was set up a second skill called 'Cake'2. This skill is where I set up the animation and effects were inputed. If all the conditions from the common event were met then I had a Force Action: 'Cake2' setup. But I can't figure out how to make the 'Cake2' skill target the original target of the 'Cake' skill. The Force Action targets are ambiguous or to wide in scope.
I simply want the 'Cake2' action to target the same enemy as 'Cake' when the Pastry Chef targeted an enemy to recieve the effects of his skill at the start of the turn. Any suggestions on how to iron the wrinkles out of this problem? Thanks in advance.
darkace77450
In my failed attempt I set up a skill 'Cake' and had the class learn it at level 1. I then made that skill call a Common Event called 'Cake'. This skill did nothing but call the common event. The Common Event uses a conditional branch to check the inventory for the items needed. If the items are there then the final conditional branch removes one of each from inventory. From there I have hit a block on how to finish the skill.
Here's where I need help. What I did was set up a second skill called 'Cake'2. This skill is where I set up the animation and effects were inputed. If all the conditions from the common event were met then I had a Force Action: 'Cake2' setup. But I can't figure out how to make the 'Cake2' skill target the original target of the 'Cake' skill. The Force Action targets are ambiguous or to wide in scope.
I simply want the 'Cake2' action to target the same enemy as 'Cake' when the Pastry Chef targeted an enemy to recieve the effects of his skill at the start of the turn. Any suggestions on how to iron the wrinkles out of this problem? Thanks in advance.
darkace77450