buff rule type
| rule_type | float | string | 備考 |
| always | 0 | いつでも発動。フロートは0に設定 | |
| skill | 0 | skill name ID | 特定スキルを使用した時に発動? |
| riposte | 0 | 反撃時発動 | |
| rangedonly | 0 | 遠距離攻撃時に発動 | |
| meleeonly | 0 | 近距離攻撃時に発動 | |
| actorStatus | 0 | poisoned bleeding stunned virtued afflicted | 使用者が特定のデバフを受けていると発動?virtuedは有徳、afflictedは悪徳 |
| monsterType | 0 | unholy man beast eldritch vampire corpse | モンスターが特定タイプだと発動 |
| monsterSize | value | モンスターサイズが特定だと発動 | |
| firstroundonly | 0 | 開始ターンのみ有効 | |
| in_camp | 0 | キャンプ時にのみ発動 | |
| in_dungeon | 0 | cove crypts warrens weald town darkestdungeon farm courtyard | 特定ダンジョンで発動 |
| in_activity | 0 | meditation prayer flagellation bar gambling rothel treatment disease_treatment | 町中での特定の施設利用時に発動 |
| in_room | 0 | ダンジョンの部屋にいる時に有効 | |
| in_corridor | 0 | ダンジョンの廊下にいる時に有効 | |
| at_deaths_door | 0 | デスドア時に有効? | |
| in_rank | 0~3 | 自分が配置されている場所によって発動。先頭の場合は0、最後尾の場合は3 | |
| hpbelow | value | HPが下回っていると発動 | |
| hpabove | value | HPが上回っていると発動 | |
| lightbelow | value | 松明が下回っていると発動 | |
| lightabove | value | 松明が上回っていると発動 | |
| stress_below | value | ストレスが下回っていると発動 | |
| stress_above | value | ストレスが上回っていると発動 | |
| virtued | 0 | 有徳時発動?actorstatusとは違うのかな? | |
| afflicted | 0 | 悪徳時発動? | |
| monster_type_count_min | value | monster type | モンスターの数が一定以下で発動? |
| is_vampire | 0 | 吸血鬼化時発動? | |
| target_is_vampire | 0 | ターゲットが吸血鬼化時発動? | |
| has_quirk | 0 | quirk ID | 特定の癖を持っている時に発動 |
| walking_backwards | 0 | 後退時発動 | |
| actor_base_class | 0 | monster or hero class | 使用者が特定のクラスの時に発動? |
| in_mode | 0 | mode ID | 特定のモード時発動。例えば忌まわしき者の場合humanかbeastか |
| is_guarded | 0 | ガードされている時に発動 | |
| target_is_guarded | 0 | ターゲットがガードされている時に発動 | |
| is_guarding | 0 | ガードしている時に発動 | |
| target_is_guarding | 0 | ターゲットがガードしている時に発動 | |
| is_stealthed | 0 | 潜伏時に発動 | |
| target_is_stealthed | 0 | ターゲットが潜伏している時に発動 | |
| has_item_id | 0 | item ID | 特定のアイテムを持っている時に発動? |
| has_item_type | 0 | item type | 特定種類のアイテムを持っている時に発動? |
| is_actor_status | 0 | tagged poisoned bleeding stunned virtued afflicted for "if virtued/afflicted" there're virtued and afflicted rules | |
| no_trinkets | 0 | トリンケットを持っていない時に発動 | |
| attacking_monster_type | 0 | monster type | 特定モンスターに攻撃された時に発動? |
| target_hpabove | value | ターゲットのHPが上回っていると発動 | |
| target_hpbelow | value | ターゲットのHPが下回っていると発動 |
activated_last 0
activated_first 0
ondeathsdoorenter 0
torch_setting 0 torch ID
wave_farm
wave_pre_time_and_space
wave_transition_a
wave_transition_b
wave_transition_c
wave_transition_d
If you want to prevent your buff from stacking with other similar buffs in tray (as in they have same type, sub type, rule, duration type but different amount and/or duration) you can put anything else rather than `0` or `` in `float` or `string` fields