Class: Wowr::Classes::ItemPlansFor
- Inherits:
-
ItemCreation
- Object
- ItemCreation
- Wowr::Classes::ItemPlansFor
- Defined in:
- lib/wowr/classes.rb
Overview
<plansFor>
<spell name="Shadowprowler's Chestguard" icon="trade_leatherworking" id="42731">
<item name="Shadowprowler's Chestguard" icon="inv_chest_plate11" type="Leather" level="105" id="33204" quality="4"></item>
<reagent name="Heavy Knothide Leather" icon="inv_misc_leatherscrap_11" id="23793" count="10"></reagent>
<reagent name="Bolt of Soulcloth" icon="inv_fabric_soulcloth_bolt" id="21844" count="16"></reagent>
<reagent name="Primal Earth" icon="inv_elemental_primal_earth" id="22452" count="12"></reagent>
<reagent name="Primal Shadow" icon="inv_elemental_primal_shadow" id="22456" count="12"></reagent>
<reagent name="Primal Nether" icon="inv_elemental_primal_nether" id="23572" count="2"></reagent>
</spell>
</plansFor>
Instance Attribute Summary
Attributes inherited from ItemCreation
#icon, #id, #item, #name, #reagents
Instance Method Summary collapse
-
#initialize(elem) ⇒ ItemPlansFor
constructor
A new instance of ItemPlansFor.
Constructor Details
#initialize(elem) ⇒ ItemPlansFor
Returns a new instance of ItemPlansFor.
1209 1210 1211 1212 1213 |
# File 'lib/wowr/classes.rb', line 1209 def initialize(elem) super(elem) # TODO: Multiple items? @item = CreatedItem.new(elem%'item') if (elem%'item') end |