mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Humanoid skill config and AI skill check
updated axe skill with correct icons
This commit is contained in:
@ -482,7 +482,8 @@ pub fn handle_ability3_input(data: &JoinData, update: &mut StateUpdate) {
|
||||
ItemKind::Tool(tool) => Some(tool.kind),
|
||||
_ => None,
|
||||
};
|
||||
i.item_config_expect().ability3
|
||||
i.item_config_expect()
|
||||
.ability3
|
||||
.as_ref()
|
||||
.and_then(|s| match tool {
|
||||
Some(ToolKind::Sword)
|
||||
|
Reference in New Issue
Block a user