-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply fixes and edits to summon, rearrange and prepare Cargo.toml to …
…0.3.96
- Loading branch information
1 parent
b846462
commit 4d2ea11
Showing
4 changed files
with
74 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use blue_archive::{types::summons::Skill, Language}; | ||
|
||
#[tokio::main] | ||
async fn main() -> anyhow::Result<()> { | ||
for summon in blue_archive::fetch_all_summons(Language::English).await? { | ||
println!("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"); | ||
println!("Passive Skills for {}", summon.id); | ||
|
||
for skill in summon.skills { | ||
if let Skill::Passive(passive_skill) = skill { | ||
println!("{:#?}", passive_skill.icon()) | ||
} | ||
} | ||
} | ||
|
||
Ok(()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters