State activating when in combat

● ARCHIVED · READ-ONLY
Started by Khaz 5 posts View original ↗
  1. Hello!

    I'm currently in progress of creating a game in which have this item/accessory called "Stone Charm" that is supposed to add state to its wearer that heals them for 5% of their HP every turn in combat, however after hassling a little bit it and trying look for an answer, I was unable to find and I was hoping that maybe the lot more knowledgeable community here might be able to help me solve this!

    Here I have provided you with screenshots of both the item:

    Accessory.jpg

    And the state:

    State.jpg

    Thank you in advance!

    -Khaz
  2. In all of the combat screens (toggle it to 'turn'), put in:

    Conditional branch:

    If stone charm equipped HRG 5%

    And some text explaining what the charm did.

    That is the very simple non-scripty way to do it.
  3. You don't need the State.

    Just add the HRG 5% Parameter directly to the Accessory and it'll work just fine.  Go to the Parameter tab for the Stone Charm and just add the Parameter there.

    What you are doing is saying "I want this Accessory to change the probability that the wearer will get the Stone Charm state."   

    That's much more often used for, say, a Ring of Poison Resistance which might say "State Rate: Poison 10%"
  4. Hotfirelegend said:
    In all of the combat screens (toggle it to 'turn'), put in:

    Conditional branch:

    If stone charm equipped HRG 5%

    And some text explaining what the charm did.

    That is the very simple non-scripty way to do it.
    I truly appreciate the help, thank you. ^^

    whitesphere said:
    You don't need the State.

    Just add the HRG 5% Parameter directly to the Accessory and it'll work just fine.  Go to the Parameter tab for the Stone Charm and just add the Parameter there.

    What you are doing is saying "I want this Accessory to change the probability that the wearer will get the Stone Charm state."   

    That's much more often used for, say, a Ring of Poison Resistance which might say "State Rate: Poison 10%"
    I tried this method and it worked - should I say - like a charm!

    Puns aside, thank you both for your help!

    Both methods will most assuredly be of good use later on in the game, as well. :3
  5. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.