Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doomhammer artifact #884

Merged
merged 15 commits into from
Dec 15, 2024
16 changes: 16 additions & 0 deletions common/artifacts/templates/wc_historical_artifacts_templates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

unique = yes
}

gorehowl_template = {
can_equip = {
}
Expand Down Expand Up @@ -163,4 +164,19 @@ book_of_medivh_template = {
can_equip = {
always = yes
}
}

doomhammer_template = {
can_equip = {
}

# can this character benefit from the full modifiers of the artifact?
can_benefit = {
}

# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
fallback = {
}

unique = yes
}
19 changes: 19 additions & 0 deletions common/artifacts/visuals/wc_historical.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,25 @@ maraad_memento = {
icon = "wc_maraad_memento.dds"
asset = ep2_western_tun_barrel_01_a_entity
}
doomhammer = {
icon = "wc_doomhammer.dds"
asset = {
trigger = {
scope:owner = { NOT = { has_culture = culture:frostwolf } }
is_thrall_trigger = no
}
reference = doomhammer_classic_entity
}
asset = {
trigger = {
OR = {
scope:owner = { has_culture = culture:frostwolf }
is_thrall_trigger = yes
}
}
reference = doomhammer_frostwolf_entity
}
}
bloodhoof_runespear = {
icon = "wc_bloodhoof_runespear.dds"
asset = bloodhoof_runespear_portrait_entity
Expand Down
9 changes: 9 additions & 0 deletions common/modifiers/wc_historical_artifact_modifiers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ book_of_medivh_modifier = { ##might need to be rebalanced, but placeholder for n
prowess = 3
monthly_learning_lifestyle_xp_gain_mult = 0.20
}
doomhammer_modifier = {
prowess = 9
knight_limit = 1
knight_effectiveness_mult = 0.05
levy_reinforcement_rate_same_faith = 0.15
happy_powerful_vassal_levy_contribution_mult = 0.15
monthly_martial_lifestyle_xp_gain_mult = 0.05
monthly_learning_lifestyle_xp_gain_mult = 0.05
}
bloodhoof_runespear_modifier = {
martial_per_prestige_level = 2
health = 0.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,35 @@ create_artifact_hammer_of_twilight_effect = {
set_variable = { name = hammer_of_twilight value = yes }
}
}

create_artifact_doomhammer_effect = {
# Get the character the artifact is being made for.
$OWNER$ = { save_scope_as = owner }
set_artifact_rarity_illustrious = yes

# Create the artifact
create_artifact = {
name = doomhammer_name
description = doomhammer_desc
type = mace
template = doomhammer_template
visuals = doomhammer
wealth = scope:wealth
quality = scope:quality
history = {
type = created_before_history
}
modifier = doomhammer_modifier
save_scope_as = newly_created_artifact
decaying = no
}

scope:newly_created_artifact = {
set_variable = { name = historical_unique_artifact value = yes }
set_variable = { name = doomhammer value = yes }
}
}

create_artifact_bloodhoof_runespear_effect = {
# Get the character the artifact is being made for.
$OWNER$ = { save_scope_as = owner }
Expand Down
18 changes: 18 additions & 0 deletions events/artifacts/historical_artifacts_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,24 @@ historical_artifacts.0023 = {
game_start_date >= 1.1.1
}
}

# Doomhammer
if = {
limit = {
exists = character:10050 # Orgrim
character:10050 = { is_alive = yes }
game_start_date = 583.1.1
}
character:10050 = { create_artifact_doomhammer_effect = { OWNER = this } }
}
if = {
limit = {
exists = character:10021 # Thrall
character:10021 = { is_alive = yes }
game_start_date >= 603.1.1
}
character:10021 = { create_artifact_doomhammer_effect = { OWNER = this } }
}
}
}

Expand Down
Binary file added gfx/interface/icons/artifact/wc_doomhammer.dds
Binary file not shown.
3 changes: 3 additions & 0 deletions localization/english/artifacts/wc_artifacts_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@
book_of_medivh_name:0 "Book Of Medivh"
book_of_medivh_description:0 "The last surviving spellbook written by Medivh, the Last Guardian of Trisfal. This book is a powerful and ancient artifact that contains vast arcane knowledge and dark secrets. It is imbued with Medivh's magical prowess and power. It is rumoured to have the power to alter the fabric of reality and wield unimaginable magical power."

doomhammer_name:0 "Doomhammer"
doomhammer_desc:0 "Forged on Draenor in a lava basin and passed down through generations, this mighty hammer harnesses the power of the elements and is capable of dealing a devastating blow to any enemy."

bloodhoof_runespear_name:0 "Bloodhoof Runespear"
bloodhoof_runespear_desc:0 "This spear was handed down through many generations of the Bloodhoof line. Each owner carved his own major history into the shaft before passing it on to the next generation."
2 changes: 2 additions & 0 deletions localization/german/artifacts/wc_artifacts_l_german.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@
dark_crystal_name:0 "Dunkler Kristall"
dark_crystal_desc:0 "Aus diesem seltsamen Kristall entspringt die Magie der Leere, aber irgendwo in seinem Inneren spürt Ihr die Präsenz des Lichts."

doomhammer_name:0 "Schicksalshammer"
doomhammer_desc: "Der Schicksalshammer wurde auf Draenor in einem Lava-Becken geschmiedet und vom Vater an den Sohn vererbt.Dieser gewaltige Hammer absorbiert er die Kraft der Elemente und ist in der Lage, jedem Gegner einen vernichtenden Schlag zu versetzen."
bloodhoof_runespear_name:0 "Runenspeer der Bloodhoofs"
bloodhoof_runespear_desc:0 "Dieser Speer wurde über viele Generationen der Bloodhoof-Linie weitergegeben. Jeder Eigentümer hat seine eigene große Geschichte in den Schaft geschnitzt, bevor er ihn an die nächste Generation weitergab."
Loading