pub struct SpellDataFlat {Show 99 fields
pub id: i32,
pub name: CompactString,
pub description: String,
pub aura_description: String,
pub description_variables: String,
pub file_name: CompactString,
pub is_passive: bool,
pub proc_chance: i32,
pub proc_type_mask: i64,
pub proc_category_recovery_ms: i32,
pub knowledge_source: KnowledgeSource,
pub cast_time: i32,
pub recovery_time: i32,
pub category_recovery_time: i32,
pub category_id: i32,
pub charge_category_id: i32,
pub start_recovery_category: i32,
pub start_recovery_time: i32,
pub mana_cost: i32,
pub power_costs: Vec<PowerCostEntry>,
pub charge_recovery_time: i32,
pub max_charges: i32,
pub range_max_0: f32,
pub range_max_1: f32,
pub range_min_0: f32,
pub range_min_1: f32,
pub cone_degrees: f32,
pub target_flags: i32,
pub max_targets: i32,
pub radius_max: f32,
pub radius_min: f32,
pub defense_type: i32,
pub school_mask: i32,
pub bonus_coefficient_from_ap: f64,
pub effect_bonus_coefficient: f64,
pub min_scaling_level: i32,
pub max_scaling_level: i32,
pub interrupt_aura_0: i32,
pub interrupt_aura_1: i32,
pub interrupt_channel_0: i32,
pub interrupt_channel_1: i32,
pub interrupt_flags: i32,
pub duration: i32,
pub max_duration: i32,
pub can_empower: bool,
pub empower_stages: Vec<EmpowerStage>,
pub dispel_type: i32,
pub mechanic: i32,
pub facing_caster_flags: i32,
pub speed: f32,
pub launch_delay: f32,
pub spell_class_mask_1: i32,
pub spell_class_mask_2: i32,
pub spell_class_mask_3: i32,
pub spell_class_mask_4: i32,
pub spell_class_set: i32,
pub base_level: i32,
pub max_level: i32,
pub max_passive_aura_level: i32,
pub spell_level: i32,
pub caster_aura_spell: i32,
pub caster_aura_state: i32,
pub exclude_caster_aura_spell: i32,
pub exclude_caster_aura_state: i32,
pub exclude_target_aura_spell: i32,
pub exclude_target_aura_state: i32,
pub target_aura_spell: i32,
pub target_aura_state: i32,
pub replacement_spell_id: i32,
pub shapeshift_exclude_0: i32,
pub shapeshift_exclude_1: i32,
pub shapeshift_mask_0: i32,
pub shapeshift_mask_1: i32,
pub stance_bar_order: i32,
pub required_totem_category_0: i32,
pub required_totem_category_1: i32,
pub totem_0: i32,
pub totem_1: i32,
pub attributes: Vec<i32>,
pub equipped_item_requirement: Option<EquippedItemRequirement>,
pub effect_trigger_spell: Vec<i32>,
pub implicit_target: Vec<i32>,
pub learn_spells: Vec<LearnSpell>,
pub effects: Vec<SpellEffect>,
pub proc_charges: i32,
pub max_stacks: i32,
pub periodic_type: Option<PeriodicType>,
pub tick_period_ms: i32,
pub refresh_behavior: RefreshBehavior,
pub duration_hasted: bool,
pub hasted_ticks: bool,
pub pandemic_refresh: bool,
pub rolling_periodic: bool,
pub tick_may_crit: bool,
pub tick_on_application: bool,
pub rppm_base_rate: f32,
pub rppm_flags: i32,
pub rppm_mods: Vec<RppmMod>,
pub labels: Vec<SpellLabel>,
}Fields§
§id: i32§name: CompactString§description: String§aura_description: String§description_variables: String§file_name: CompactString§is_passive: bool§proc_chance: i32SpellAuraOptions.ProcChance in percent points; 0 when the spell has no proc data.
proc_type_mask: i64Combined SpellAuraOptions.ProcTypeMask_0/1 event mask.
proc_category_recovery_ms: i32SpellAuraOptions.ProcCategoryRecovery internal cooldown in milliseconds.
knowledge_source: KnowledgeSource§cast_time: i32§recovery_time: i32§category_recovery_time: i32Some CDs record their real cooldown here with recovery_time at 0, so engines must use max(recovery_time, category_recovery_time).
category_id: i32DBC SpellCategories.Category; category-cooldown modifiers target this identity.
charge_category_id: i32DBC SpellCategories.ChargeCategory; category-targeted cooldown passives use this instead of class masks.
start_recovery_category: i32DBC SpellCategories.StartRecoveryCategory; recovery locks only conflict within this category.
start_recovery_time: i32§mana_cost: i32§power_costs: Vec<PowerCostEntry>§charge_recovery_time: i32§max_charges: i32§range_max_0: f32§range_max_1: f32§range_min_0: f32§range_min_1: f32§cone_degrees: f32§target_flags: i32Raw SpellTargetRestrictions.Targets cast-target bitmask.
max_targets: i32DBC SpellTargetRestrictions.MaxTargets; zero means no spell-level cap.
radius_max: f32§radius_min: f32§defense_type: i32§school_mask: i32§bonus_coefficient_from_ap: f64§effect_bonus_coefficient: f64§min_scaling_level: i32§max_scaling_level: i32§interrupt_aura_0: i32§interrupt_aura_1: i32§interrupt_channel_0: i32§interrupt_channel_1: i32§interrupt_flags: i32§duration: i32§max_duration: i32§can_empower: bool§empower_stages: Vec<EmpowerStage>§dispel_type: i32§mechanic: i32Raw SpellCategories.Mechanic; zero means the spell carries no mechanic tag.
facing_caster_flags: i32§speed: f32§launch_delay: f32SpellMisc.LaunchDelay, in seconds.
spell_class_mask_1: i32§spell_class_mask_2: i32§spell_class_mask_3: i32§spell_class_mask_4: i32§spell_class_set: i32§base_level: i32§max_level: i32§max_passive_aura_level: i32§spell_level: i32§caster_aura_spell: i32§caster_aura_state: i32§exclude_caster_aura_spell: i32§exclude_caster_aura_state: i32§exclude_target_aura_spell: i32§exclude_target_aura_state: i32§target_aura_spell: i32§target_aura_state: i32§replacement_spell_id: i32§shapeshift_exclude_0: i32§shapeshift_exclude_1: i32§shapeshift_mask_0: i32§shapeshift_mask_1: i32§stance_bar_order: i32§required_totem_category_0: i32§required_totem_category_1: i32§totem_0: i32§totem_1: i32§attributes: Vec<i32>§equipped_item_requirement: Option<EquippedItemRequirement>§effect_trigger_spell: Vec<i32>§implicit_target: Vec<i32>§learn_spells: Vec<LearnSpell>§effects: Vec<SpellEffect>§proc_charges: i32SpellAuraOptions.ProcCharges; positive values are stacks applied per cast.
max_stacks: i32§periodic_type: Option<PeriodicType>§tick_period_ms: i32§refresh_behavior: RefreshBehavior§duration_hasted: bool§hasted_ticks: bool§pandemic_refresh: bool§rolling_periodic: bool§tick_may_crit: bool§tick_on_application: bool§rppm_base_rate: f32§rppm_flags: i32§rppm_mods: Vec<RppmMod>§labels: Vec<SpellLabel>Trait Implementations§
Source§impl Clone for SpellDataFlat
impl Clone for SpellDataFlat
Source§fn clone(&self) -> SpellDataFlat
fn clone(&self) -> SpellDataFlat
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CopyInsert for SpellDataFlat
impl CopyInsert for SpellDataFlat
Source§impl Debug for SpellDataFlat
impl Debug for SpellDataFlat
Source§impl Default for SpellDataFlat
impl Default for SpellDataFlat
Source§fn default() -> SpellDataFlat
fn default() -> SpellDataFlat
Source§impl<'de> Deserialize<'de> for SpellDataFlat
impl<'de> Deserialize<'de> for SpellDataFlat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for SpellDataFlat
impl JsonSchema for SpellDataFlat
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more