Make edit mode usable; complete #11

This commit is contained in:
NGnius (Graham) committed 2025-03-15 11:03:35 -04:00
1 parent 47eb32056c
commit 6fd4d673ca
40 files changed
+5313 -2162

No files matched your search

+4 -1
View File
@@ -115,7 +115,10 @@ impl WeaponData {
if !self.group_fire_scales.is_empty() {
let typed_arr: Vec<Typed<C>> = self.group_fire_scales.iter().map(|x| Typed::Float(*x)).collect();
out.push((Typed::Str("groupFireScales".into()), Typed::ObjArr(typed_arr.into())));
out.push((Typed::Str("groupFireScales".into()), Typed::Arr(polariton::operation::Arr {
ty: polariton::serdes::TypePrefix::Float,
items: typed_arr,
})));
}
self.mana_cost.map(|x| out.push((Typed::Str("manaCost".into()), Typed::Float(x))));