Can anyone tell me why my staff says "<elementalName>" Instead of Ice? { "itemName" : "namistaff", "level" : 6, "price" : 1440, "maxStack" : 1, "rarity" : "Legendary", "description" : "Conjuers deadly Ice bolts and allows for team healing.", "shortdescription" : "Tidecaller's Staff", "category" : "staff", "twoHanded" : true, "itemTags" : ["weapon","staff"], "tooltipKind" : "staff", "animation" : "/items/active/weapons/staff/staff.animation", "animationParts" : { "staff" : "namistaff.png", "stone" : "", "chargeEffect" : "namistaffglow.png" }, "animationCustom" : { "particleEmitters" : { "electriccharge" : { "offsetRegion" : [-0.5, 1.75, 0.5, 3.25] } } }, "inventoryIcon" : "namistaff.png", "scripts" : ["/items/active/weapons/staff/staff.lua"], "stances" : { "idle" : { "armRotation" : -90, "weaponRotation" : 0, "twoHanded" : false, "allowRotate" : false, "allowFlip" : true }, "charge" : { "duration" : 1.1, "armRotation" : 20, "weaponRotation" : -20, "twoHanded" : true, "allowRotate" : false, "allowFlip" : true }, "charged" : { "armRotation" : 20, "weaponRotation" : -20, "twoHanded" : true, "allowRotate" : false, "allowFlip" : false }, "discharge" : { "duration" : 0.5, "armRotation" : 20, "weaponRotation" : -20, "twoHanded" : true, "allowRotate" : true, "allowFlip" : true }, "cooldown" : { "duration" : 0.5, "armRotation" : -45, "weaponRotation" : 0, "twoHanded" : true, "allowRotate" : false, "allowFlip" : true } }, "elementalType" : "ice", "primaryAbilityType" : "elementrain", "primaryAbility" : {}, "altAbilityType" : "healingzone", "altAbility" : {}, "builder" : "/items/buildscripts/buildunrandweapon.lua" }
If you look in the elementrain.weaponability it has the line Code: "name" : "<elementalName> Rain", It seems that since you specified the weapons element (where as the generated weapons using this ability have there's randomly assigned) the game has a little trouble. If you change this part of your code it should display the name correctly. Code: "primaryAbilityType" : "elementrain", "primaryAbility" : { "name" : "Ice Rain" },