[
  {
    "uid": "ability_lust_aura",
    "name": "Lust Aura",
    "descript": "Emanates a powerful lust aura that continuously drains the opponent's lust resistance. While active, the caster pulses lust damage every second scaled by Lust Attack. Ends when the opponent reaches 60% lust or after 6 seconds.",
    "iconFile": "../_base/pics/icons/skills/Warlock_25.png",
    "tags": ["BUFF", "TAUNT"],
    "costs": {
      "energyCost": 10.0,
      "cooldown": 20.0
    },
    "aiParams": {
      "range": [0.0, 30.0],
      "isBuffingAbility": true
    },
    "duration": 1.0,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "f_selfie_stand",
          "effects": [
            {
              "ActionStatBonuses": {
                "bonusFlinchResist": -20.0
              }
            },
            {
              "SpawnEmitter": {
                "emitterId": "ma_charge_arcane",
                "scale": 1.2,
                "life": 0.8,
                "spawnLocation": {
                  "SpawnAtModel": {
                    "dirEnum": "MODEL_UP"
                  }
                }
              }
            },
            {
              "SayLine": {
                "customDialogueTrigger": "TAUNTING",
                "chance": 0.6
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.8
              }
            },
            {
              "AbilityTransition": {
                "always": true,
                "transitionInto": {
                  "abilityId": "ability_lust_aura_loop"
                }
              }
            }
          ]
        }
      }
    }
  },

  {
    "uid": "ability_lust_aura_loop",
    "name": "Lust Aura",
    "descript": "Lust Aura pulse 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
              }
            },
            {
              "SpawnEmitter": {
                "emitterId": "ma_sparkle_small",
                "scale": 0.9,
                "life": 0.5,
                "spawnLocation": {
                  "SpawnAtModel": {
                    "dirEnum": "MODEL_UP"
                  }
                }
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.5
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "InflictDamage": {
                      "type": "LUST",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": 0.8
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.95
              }
            },
            {
              "AbilityTransition": {
                "onCondition": {
                  "conditions": [
                    {
                      "StateCheck": {
                        "state": "LUST_PERCENTAGE",
                        "op": "GREATER_EQUAL",
                        "value": 0.6
                      }
                    }
                  ]
                },
                "transitionInto": {
                  "abilityId": "ability_lust_aura_end"
                }
              }
            },
            {
              "AbilityTransition": {
                "always": true,
                "transitionInto": {
                  "abilityId": "ability_lust_aura_loop"
                }
              }
            }
          ]
        }
      }
    }
  },

  {
    "uid": "ability_lust_aura_end",
    "name": "Lust Aura",
    "descript": "Lust Aura ending state.",
    "costs": {
      "energyCost": 0.0,
      "cooldown": 0.0
    },
    "aiParams": {
      "range": [0.0, 100.0]
    },
    "duration": 0.5,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "f_selfie_stand",
          "effects": [
            {
              "SpawnEmitter": {
                "emitterId": "ma_charge_arcane",
                "scale": 0.8,
                "life": 0.4,
                "spawnLocation": {
                  "SpawnAtModel": {
                    "dirEnum": "MODEL_UP"
                  }
                }
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "RestoreDamage": {
                      "type": "SUPER_METER",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": 0.5
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  },

  {
    "uid": "ability_seduction_pulse",
    "name": "Seduction Pulse",
    "descript": "Unleashes a rapid burst of seductive energy. Fires 3 fast lust damage pulses in quick succession, then drains the caster's stamina. High risk, high reward  -  best used when the opponent is already aroused.",
    "iconFile": "../_base/pics/icons/skills/Warlock_25.png",
    "tags": ["BUFF", "TAUNT"],
    "costs": {
      "energyCost": 15.0,
      "cooldown": 28.0
    },
    "aiParams": {
      "range": [0.0, 30.0],
      "isBuffingAbility": true
    },
    "duration": 1.5,
    "action": {
      "AbilityAction": {
        "anim": {
          "animId": "f_selfie_stand",
          "effects": [
            {
              "ActionStatBonuses": {
                "bonusFlinchResist": -30.0
              }
            },
            {
              "SayLine": {
                "customDialogueTrigger": "TAUNTING",
                "chance": 0.8
              }
            },
            {
              "SpawnEmitter": {
                "emitterId": "ma_charge_arcane",
                "scale": 1.5,
                "life": 0.6,
                "spawnLocation": {
                  "SpawnAtModel": {
                    "dirEnum": "MODEL_UP"
                  }
                }
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.25
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "InflictDamage": {
                      "type": "LUST",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": 1.2
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.5
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "InflictDamage": {
                      "type": "LUST",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": 1.2
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.75
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "InflictDamage": {
                      "type": "LUST",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": 1.2
                    }
                  }
                ]
              }
            },
            {
              "WaitUntil": {
                "timeRatio": 0.9
              }
            },
            {
              "ApplyEffects": {
                "effects": [
                  {
                    "RestoreDamage": {
                      "type": "STAMINA",
                      "scalingStat": "LUS_ATT",
                      "scalingMultiplier": -0.4
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  }
]
