Argument missing (CS0839)
So I was gone add the abyss troom code from the doomed source to my club559 source. I deleted the items on lootBehavior and when i rebuild i get error
(Argument missing (CS0839) - C:\Users\Bruker-1\Desktop\ROTMGServer-master\wServer\logic\db\BehaviorDb.Abyss.cs:337,25 )
For those who want to see the line 337.25
Code:
loot: new LootBehavior(LootDef.Empty,
Tuple.Create(100, new LootDef(0, 5, 0, 10,
Tuple.Create(0.5, (ILoot) new ItemLoot("Potion of Defense")),
Tuple.Create(0.5, (ILoot) new ItemLoot("Potion of Vitality")),
Tuple.Create(0.005, (ILoot) new ItemLoot("Demon Blade")),
Tuple.Create(0.005, (ILoot) new ItemLoot("Wine Cellar Incantation")),
)))))
Its on the "))" its wronge I think.
If anyone could help me it would be really nice!