Hello again!
My next stumbling block is this: I want to make a usable item's effect vary dependent on whether the party is in possession of a Key Item: specifically, Holy Water restores 100 HP to a party member, but if the Key Item Aspergillum is in the inventory, Holy Water restores 50 HP to all party members.
Two ways that I can think of to do this:
1.) "Damage" formula under Holy Water, though I know neither the Ruby syntax for checking if an item is in the inventory, nor if the damage formula can change the number of targets.
2.) Call Common Event when Holy Water is used. Here I can check if the Key Item is held, and heal the entire party, but I don't know how to make it so the target/user would be the only one gaining HP if the Key Item was not held.
Worst case scenario, I can just have the target gain 150 HP... maybe they got soaked. 🙂 Thanks for your time!
My next stumbling block is this: I want to make a usable item's effect vary dependent on whether the party is in possession of a Key Item: specifically, Holy Water restores 100 HP to a party member, but if the Key Item Aspergillum is in the inventory, Holy Water restores 50 HP to all party members.
Two ways that I can think of to do this:
1.) "Damage" formula under Holy Water, though I know neither the Ruby syntax for checking if an item is in the inventory, nor if the damage formula can change the number of targets.
2.) Call Common Event when Holy Water is used. Here I can check if the Key Item is held, and heal the entire party, but I don't know how to make it so the target/user would be the only one gaining HP if the Key Item was not held.
Worst case scenario, I can just have the target gain 150 HP... maybe they got soaked. 🙂 Thanks for your time!