SetWeatherMutation.kt

package io.github.lishangbu.avalon.game.battle.engine.core.mutation

/**
 * 设置天气变更。
 *
 * @property weatherEffectId 目标天气 effect 标识。
 * @property duration 可选的持续回合数。
 * @property sourceId 可选的来源单位标识。
 */
data class SetWeatherMutation(
    val weatherEffectId: String,
    val duration: Int? = null,
    val sourceId: String? = null,
) : BattleMutation