I know this has been mentioned before, but the scripts that were mentioned don't seem to work. I want to be able to teach my characters to use a Magic spell through a book. But only those who can use the Magic or those who don't already have the spell can learn it.
Does anyone have the updated script on how to do this with a common event?
P.s. If I just do learn skill through an item, it will teach it to anyone, even if they cant use magic. Thus wasting the item.
Hold on, I'll look at conditional branches in events and see if I can come up with something
Edit: ok i think i thought of something. The item adds a state then calls a common event; some characters are immune to the state.
It then goes through conditional branches checking each member of the party. If they have the state, it adds the skill, removes the state and does nothing. If no one has the state, it says "This person can't use this item." and nothing else happens
1•Go in Common Event
2•Pick a blank common event
3•Do a conditional branch
4•Go to actor section.
5•Chose which character you want to give the skill.
6•Click else.
7•Put the skill you want to add to your specific character.
8•Put in Else "This party member cannot learn this skill."
9•Put the common event in the effects of the item.
10• Choose if the item is consumable or not.
The other thing that complicates this is I give the main character a choice of weather they are a fighting class or magic class. So I can't target the main character as someone who can use the spell unless they have the ability to use magic. I need something that targets characters who have that particular skill set, and not by name, if possible.
what do you have for the damage formula? and did you copy the code I gave exactly?
I think you used a : in the formula and not a ;