commonMain.com.bselzer.gw2.v2.model.trait.fact.TraitBuffConversionFact.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model Show documentation
Show all versions of v2-model Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.trait.fact
import com.bselzer.gw2.v2.model.enumeration.wrapper.AttributeName
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("BuffConversion")
data class TraitBuffConversionFact(
/**
* The name of the attribute to calculate the gain with.
*/
@SerialName("source")
val source: AttributeName = AttributeName(),
/**
* The percentage of the [source] attribute to add to the [target] attribute
*/
@SerialName("percent")
val percent: Double = 0.0,
/**
* The name of the attribute to apply the gain to.
*/
@SerialName("target")
val target: AttributeName = AttributeName()
) : TraitFact()