So (some? most?) artifacts gained during the Trial of Greed are created with no modifiers except the placeholder +0.01 Prestige. They're good for selling, but not much else.
I believe it may be due to the way get_treasure_reward is written in common\scripted_effects\expedition_trial_of_greed_effects.txt, specifically all the create_artifact = { ... } blocks, e.g.:
name = artifact_elf_dagger_name
description = artifact_elf_dagger_description
# creator = scope:creator
visuals = dagger
type = dagger
modifier = artifact_placeholder_modifier
wealth = scope:wealth
quality = scope:quality
save_scope_as = newly_created_elf_artifact
}
scope:activity = {
add_to_variable_list = {
name = artifact_rewards
target = scope:newly_created_elf_artifact
}
}```
Looking at the code for the regular expedition artifacts, I believe you need a block between the _create_artifact = {...}_ and _scope:activity = {...}_ of:
```scope:newly_created_elf_artifact = {
# Rarity determines prowess bonus
add_scaled_artifact_modifier_prowess_effect = yes
add_elf_weapon_modifier = yes
}```
(Or the equivalent for _artifact_elf_armor_mail_ or _artifact_elf_axe_)