Hi all!
I asked this to Shaz directly and she told me that she will be off the forums for a while, but that there are users here that knows about her plug in. so this is the convo I had with her:
Hi Shaz!
Im using said plug in:
https://forums.rpgmakerweb.com/index.php?threads/dynamic-traits-and-effects.51533/
Now, I have 2 issues.
1. I need to add a trait via scriptcall. (I think i got his one)
2. Adding the trait is not working.
So, when I add the trait (ELEMENT ATTACK) to my weapon directly into the database, (element Alchemy ID 23)
And then I launch the game. Then I check in the console for that weapon traits, and it shows it without an issue:
The enemy who is weak to that element reacts with a weakness property, no problem.
So now, i remove the trait (ELEMENT ATTACK) from the data base and launch the game. I add the trait via plug in command
AddTrait WEAPON 24 TRAIT_ATTACK_ELEMENT 23 1
OR via scriptcall using this code:
addTrait = {code: 31, dataId: 23, value: 1} $dataWeapons[24].traits.push(addTrait)
and now I check the weapons traits via console. and yes , it is there.
And now when i go to battle and attack the enemy, it does not comes with the weakness outcome.
Like the trait wasn't there, but like I showed you, the trait is listed in the weapons trait and it is showed as when I placed the trait directly on the data base.
So, Do I am missing something? I know your plug in works because I add and remove an Stype all the time with no problem.
Would you have any idea why the trait element added via plug in or scriptcall is not working/ taking any effect.
thank you in advance, this is a long post =/
I asked this to Shaz directly and she told me that she will be off the forums for a while, but that there are users here that knows about her plug in. so this is the convo I had with her:
Hi Shaz!
Im using said plug in:
https://forums.rpgmakerweb.com/index.php?threads/dynamic-traits-and-effects.51533/
Now, I have 2 issues.1. I need to add a trait via scriptcall. (I think i got his one)
2. Adding the trait is not working.
So, when I add the trait (ELEMENT ATTACK) to my weapon directly into the database, (element Alchemy ID 23)
And then I launch the game. Then I check in the console for that weapon traits, and it shows it without an issue:
The enemy who is weak to that element reacts with a weakness property, no problem.
So now, i remove the trait (ELEMENT ATTACK) from the data base and launch the game. I add the trait via plug in command
AddTrait WEAPON 24 TRAIT_ATTACK_ELEMENT 23 1
OR via scriptcall using this code:
addTrait = {code: 31, dataId: 23, value: 1} $dataWeapons[24].traits.push(addTrait)
and now I check the weapons traits via console. and yes , it is there.
And now when i go to battle and attack the enemy, it does not comes with the weakness outcome.
Like the trait wasn't there, but like I showed you, the trait is listed in the weapons trait and it is showed as when I placed the trait directly on the data base.
So, Do I am missing something? I know your plug in works because I add and remove an Stype all the time with no problem.
Would you have any idea why the trait element added via plug in or scriptcall is not working/ taking any effect.
thank you in advance, this is a long post =/