Skip to content

Commit

Permalink
🎨 Update class field custom name : def -> defense
Browse files Browse the repository at this point in the history
  • Loading branch information
luoshuijs committed Nov 7, 2023
1 parent d79824d commit fed4c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applications/output/damage_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct PyDamageAnalysis {
pub hp: HashMap<String, f64>,
#[pyo3(get, set)]
pub hp_ratio: HashMap<String, f64>,
#[pyo3(get, set)]
#[pyo3(get, set, name = "defense")]
pub def: HashMap<String, f64>,
#[pyo3(get, set)]
pub def_ratio: HashMap<String, f64>,
Expand Down

0 comments on commit fed4c18

Please sign in to comment.