On the item editor i'm trying to make indirect effects that add different resistant levels when the item is equipped - but i'm having some trouble.
The default system script "Add Resist":
Data: Load Indirect Effect Info
Data: Variable [Target Resist W] = [Target Resist W] + [Indirect Rate]
Data: Variable [Target Resist M] = [Target Resist M] + [Indirect Rate]
When i use this it seems to increase the resistant levels of both the monsters and the party members, which muffs my whole battle system all to hell. So in order to try and fix this, i tried making my own script to caculate resist:
Script Branch: Condition: Flag [Side] Off
Data: Load Indirect Info
Data: Variable: [Target Resist W] = [Target Resist W] + [Indirect: Resist W]
Data: Variable: [Target Resist M] = [Target Resist M] + [Indirect: Resist M]
Script: Conditoin End
This seems to work until i load from a saved game file, then it's as if the resistances cease to exist, and the only way i can get them to show back up is to re-equip all of the items everytime i start a new game. This would get old really fast for the player.
If someone could tell me what i'm doing wrong and help me to write a script for the item editor to add resists when an item is equipped it would help me a lot. I need one that adds the resistances i set in the indirect effect to only the person who has the actual item equipped - and doesn't reset evertime a new game is started.
The default system script "Add Resist":
Data: Load Indirect Effect Info
Data: Variable [Target Resist W] = [Target Resist W] + [Indirect Rate]
Data: Variable [Target Resist M] = [Target Resist M] + [Indirect Rate]
When i use this it seems to increase the resistant levels of both the monsters and the party members, which muffs my whole battle system all to hell. So in order to try and fix this, i tried making my own script to caculate resist:
Script Branch: Condition: Flag [Side] Off
Data: Load Indirect Info
Data: Variable: [Target Resist W] = [Target Resist W] + [Indirect: Resist W]
Data: Variable: [Target Resist M] = [Target Resist M] + [Indirect: Resist M]
Script: Conditoin End
This seems to work until i load from a saved game file, then it's as if the resistances cease to exist, and the only way i can get them to show back up is to re-equip all of the items everytime i start a new game. This would get old really fast for the player.
If someone could tell me what i'm doing wrong and help me to write a script for the item editor to add resists when an item is equipped it would help me a lot. I need one that adds the resistances i set in the indirect effect to only the person who has the actual item equipped - and doesn't reset evertime a new game is started.



5198-2124-7210 Smash
Comment