What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Query a labor cost on dooded object

MentalSpirit

New Member
Joined
Nov 15, 2015
Messages
6
Reaction score
0
Basically i want to know how i can query how much will be a labor cost when use a skill on dooded object
 
If i recall correctly, you can see how much labor it will cost to gather a doodad on the description (on mouse over).

You could try getting the skill description of the doodad, and then splitting that string up with substring.
 
the skill description isnt accurate against your proficiency;

check the property db.consumeLp from skill
 
Hello guys thanks for the directions. Basically here is what i want to do.
i Have one seed for example Rose Seed i want somehow to query the database how much labor will cost me the product of that seed (Rose). and actually dont care about cost decrease based on proficiency level.
 
Here what i was looking for its ugly probably not accurate but its at least direction
Code:
var obj = sqlCore.sqlItems.Where(x => x.Value.name == "Rose Seed").First();
var consumeLp = sqlCore.sqlDoodadAlmighties.Where(x => x.Value.id == obj.Value.doodadAlmightyId).First().Value.phases.Where(y=> y.name=="Rose").First().useSkills[0].consumeLp ;

Thanks guys you helped me alot
 
Back
Top