Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Fixed Summoning Creation XP
(_getItemSources: Rework Rhaelyx special treatment, adds Summoning for jewel & mysterious stone)
(Fixed Summoning Creation XP)
Line 163: Line 163:
     skill = 'Summoning'
     skill = 'Summoning'
     lvl = item.summoningLevel
     lvl = item.summoningLevel
     xp = item.summoningXP
    --Summoning uses a formula to calculate XP for creation instead of referring to the item's XP data directly
     xp = (5 + 2 * math.floor(item.summoningLevel / 5))
     local ShardCostArray = {}
     local ShardCostArray = {}
     for j, cost in Shared.skpairs(item.summoningReq[1]) do
     for j, cost in Shared.skpairs(item.summoningReq[1]) do