How to find notetags?

● ARCHIVED · READ-ONLY
Started by JioInzagi 8 posts View original ↗
  1. Can someone plz tell me how to find notetags?

    Usuaaly i check Yanfly's scripts first when i want to see how to do something.

    But notetags seems too confusing for me.

    example:I want to check if an state(example) has a <poison> note tag, how would i do it?

    edit:

    the script have to find notetags.

    Because i'm (trying) to make a script that changes the way the poison skill does outside battle(Like vx,1 damage per step[instead of 10% every random steps]).

    Sorry for the lack of informations.
  2. Go to your database editor, go to states, see that huge white box on the bottom right? That's the Note box and you put Note tags there.
  3. No i mean, the script have to find notetags.

    Because i'm (trying) to make a script that changes the way the poison skill does outside battle(Like vx,1 damage per step[instead of 10% every random steps]).

    Sorry for the lack of informations.
  4. object.note would give you the notes of that object
  5. One of the simple approach is to be like this

    Code:
    class RPG::Something  def notetag    return @note_value if @note_value    if note[/<notetag: (\d+)>/i]      @note_value = $1.to_i    end    return @note_value ||= 0  endend
  6. Thank you very much guys!

    Now ican continue the script.