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:
+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