[
  {
    "uid": "ability_self_grow_penis",
    "name": "Grow Penis",
    "descript": "Grows a temporary magical penis that can be used for penetrations.",
    "iconFile": "../_base/pics/icons/sci_fi/g_13.png",
    "costs": {
      "energyCost": 0.0,
      "cooldown": 30.0
    },
    "aiParams": {
      "range": [
        0.0,
        100.0
      ]
    },
    "duration": 5.0,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "f_selfie_stand",
          "effects": [
            {
              "AbilityTransition": {
                "always": true,
                "transitionInto": {
                  "abilityId": "_ability_self_grow_penis_loop"
                }
              }
            }
          ]
        }
      }
    }
  },
  {
    "uid": "_ability_self_grow_penis_loop",
    "costs": {
      "energyCost": 0.0,
      "cooldown": 0.0
    },
    "aiParams": {
      "range": [
        0.0,
        100.0
      ]
    },
    "duration": 1.0,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "f_selfie_stand",
          "effects": [
            {
              "WaitUntil": {
                "timeRatio": 0.4
              }
            },
            {
              "PlaySound": {
                "soundId": "liquid_splash",
                "volume": 0.02
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.5
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "InflictDamage": {
                      "type": "LUST",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": 1.0
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.95
              }
            },
            {
              "AbilityTransition": {
                "onCondition": {
                  "conditions": [
                    {
                      "StateCheck": {
                        "state": "LUST_PERCENTAGE",
                        "op": "GREATER_EQUAL",
                        "value": 0.5
                      }
                    }
                  ]
                },
                "transitionInto": {
                  "abilityId": "_ability_penis_growth_ending"
                }
              }
            },
            {
              "AbilityTransition": {
                "always": true,
                "transitionInto": {
                  "abilityId": "_ability_self_grow_penis_loop"
                }
              }
            }
          ]
        }
      }
    }
  },
  {
    "uid": "_ability_penis_growth_ending",
    "name": "Grow Penis",
    "costs": {
      "energyCost": 0.0,
      "cooldown": 0.0
    },
    "aiParams": {
      "range": [
        0.0,
        100.0
      ]
    },
    "duration": 1.0,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "fight_bodyburst",
          "effects": [
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "BodyTransformationEffect": {
                      "growTemporaryPenis": true
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.35
              }
            },
            {
              "PlaySound": {
                "soundId": "liquid_splash",
                "volume": 0.02
              }
            },
            {
              "SpawnEmitter": {
                "emitterId": "squirt_weak",
                "spawnLocation": {
                  "SpawnAtBone": {
                    "boneId": "penis",
                    "attached": true
                  }
                }
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.4
              }
            },
            {
              "SpawnEmitter": {
                "emitterId": "squirt_weak",
                "spawnLocation": {
                  "SpawnAtBone": {
                    "boneId": "penis",
                    "attached": true
                  }
                }
              }
            }
          ]
        }
      }
    }
  },
  {
    "uid": "ability_self_corrupted_bloom",
    "name": "Corrupted Bloom",
    "descript": "Corruption seeps into the flesh, consuming and dissolving the penetrative form until nothing remains. Requires lust to build before the transformation manifests. Only effective on those who bear the mark.",
    "iconFile": "../_base/pic/Skill/Warlock_21.png",
    "costs": {
      "energyCost": 0.0,
      "cooldown": 30.0
    },
    "aiParams": {
      "range": [
        0.0,
        100.0
      ]
    },
    "duration": 5.0,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "f_selfie_stand",
          "effects": [
            {
              "AbilityTransition": {
                "always": true,
                "transitionInto": {
                  "abilityId": "_ability_self_corrupted_bloom_loop"
                }
              }
            }
          ]
        }
      }
    }
  },
  {
    "uid": "_ability_self_corrupted_bloom_loop",
    "costs": {
      "energyCost": 0.0,
      "cooldown": 0.0
    },
    "aiParams": {
      "range": [
        0.0,
        100.0
      ]
    },
    "duration": 1.0,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "f_selfie_stand",
          "effects": [
            {
              "WaitUntil": {
                "timeRatio": 0.4
              }
            },
            {
              "PlaySound": {
                "soundId": "liquid_splash",
                "volume": 0.02
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.5
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "InflictDamage": {
                      "type": "LUST",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": 1.0
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.95
              }
            },
            {
              "AbilityTransition": {
                "onCondition": {
                  "conditions": [
                    {
                      "StateCheck": {
                        "state": "LUST_PERCENTAGE",
                        "op": "GREATER_EQUAL",
                        "value": 0.5
                      }
                    }
                  ]
                },
                "transitionInto": {
                  "abilityId": "_ability_corrupted_bloom_ending"
                }
              }
            },
            {
              "AbilityTransition": {
                "always": true,
                "transitionInto": {
                  "abilityId": "_ability_self_corrupted_bloom_loop"
                }
              }
            }
          ]
        }
      }
    }
  },
  {
    "uid": "_ability_corrupted_bloom_ending",
    "name": "Corrupted Bloom",
    "costs": {
      "energyCost": 0.0,
      "cooldown": 0.0
    },
    "aiParams": {
      "range": [
        0.0,
        100.0
      ]
    },
    "duration": 1.0,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "fight_bodyburst",
          "effects": [
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "RemoveAttach": {
                      "outfitId": "attach_FB_Penis"
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.35
              }
            },
            {
              "PlaySound": {
                "soundId": "liquid_splash",
                "volume": 0.02
              }
            },
            {
              "SpawnEmitter": {
                "emitterId": "squirt_weak",
                "spawnLocation": {
                  "SpawnAtBone": {
                    "boneId": "penis",
                    "attached": true
                  }
                }
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.4
              }
            },
            {
              "SpawnEmitter": {
                "emitterId": "squirt_weak",
                "spawnLocation": {
                  "SpawnAtBone": {
                    "boneId": "penis",
                    "attached": true
                  }
                }
              }
            }
          ]
        }
      }
    }
  }
]