mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
skill weapon type requirement UI
This commit is contained in:
@@ -120,6 +120,7 @@ update_notes=[
|
||||
"Last Update [28th of February]",
|
||||
"Poison passive ability for items",
|
||||
"PR: add cooldown time when failing to equip (use) potion #154",
|
||||
"PR: Showing a skill tooltip now also shows weapon type requirement #121",
|
||||
]
|
||||
ip_to_subdomain={ #IMPORTANT: SPECIAL PAGE RULES ARE NEEDED: https://dash.cloudflare.com/b6f5a13bded5fdd273e4a1cd3777162d/adventure.land/page-rules - uss1 / eus1 was best
|
||||
"35.187.255.184":"asia1",
|
||||
|
||||
+1
-1
@@ -2225,7 +2225,7 @@ function render_skill(selector,skill_name,args)
|
||||
if(skill.range_multiplier && skill.range_bonus) html+=bold_prop_line("Range",to_pretty_float(skill.range_multiplier||1)+"X + "+skill.range_bonus,"gray");
|
||||
else if(skill.range_multiplier) html+=bold_prop_line("Range",to_pretty_float(skill.range_multiplier||1)+"X of Character Range","gray");
|
||||
if(skill.level) html+=bold_prop_line("Level Requirement",skill.level,"gray");
|
||||
if(skill.wtype) html+=bold_prop_line("Weapon Requirement", is_array(skill.wtype) ? skill.wtype.join(", ") : skill.wtype,"gray");
|
||||
if (skill.wtype) html += bold_prop_line("Weapon Requirement", is_array(skill.wtype) ? `"${skill.wtype.join('", "')}"` : `"${skill.wtype}"`, "gray");
|
||||
if(skill.max) html+=bold_prop_line("Max",skill.max,"gray");
|
||||
if(skill.type=="passive") html+="<div><span style='color: #696C68;'>Passive</span></div>";
|
||||
if(skill.damage_type)
|
||||
|
||||
Reference in New Issue
Block a user