All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.gw2.v2.model.trait.fact.TraitBuffConversionFact.kt Maven / Gradle / Ivy

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()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy