Skip to content

Commit

Permalink
Merge pull request #337 from zhykzhykzhyk/mualani_fix
Browse files Browse the repository at this point in the history
Fix compile error introduced in #336
  • Loading branch information
wormtql authored Oct 19, 2024
2 parents b5a3586 + 9b12fc3 commit 0a31fff
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
use crate::artifacts::Artifact;
use crate::artifacts::effect_config::ArtifactEffectConfig;
use crate::artifacts::effect_config::{ArtifactEffectConfig, ArtifactEffectConfigBuilder};
use crate::attribute::SimpleAttributeGraph2;
use crate::character::{Character, CharacterName};
use crate::character::character_common_data::CharacterCommonData;
use crate::character::characters::Mualani;
use crate::character::skill_config::CharacterSkillConfig;
use crate::character::traits::CharacterTrait;
use crate::common::item_config_type::ItemConfig;
use crate::common::i18n::locale;
use crate::damage::{DamageContext, SimpleDamageBuilder};
use crate::enemies::Enemy;
Expand Down Expand Up @@ -91,6 +92,6 @@ impl TargetFunctionMetaTrait for MualaniDefaultTargetFunction {
]);

fn create(character: &CharacterCommonData, weapon: &WeaponCommonData, config: &TargetFunctionConfig) -> Box<dyn TargetFunction> {
Box::new(MualaniDefaultTargetFunction(config))
Box::new(MualaniDefaultTargetFunction::new(config))
}
}

0 comments on commit 0a31fff

Please sign in to comment.