PlaneShift
Gameplay => Newbie Help (Start Here) => Topic started by: X-maN on May 14, 2006, 11:22:07 pm
-
does mental stamina have something to do with the sucess of mining?
and is mining just pure luck? or are other factors put in play?
-
Mining is a combination of skill and luck. Mental stamina should stop you from mining when it's empty but according to my experience it only works occasionally for combat, not mining.
In the past there used to be different mining tools which would also make it easier to mine.
*wishes the master rock pick came back*
-
so basically if i am able to mine with 0 mental stamina, i have the same odds of getting ores as if i had 100% ?
how about the place where i stand? does it have to do with anything? like if i stand close to another miner, or if i move to a different spot in the same mining area, are different spots in that same mining area better than others?
-
As far as I know I've been still able to mine just as well with no mental stamina than with a full bar, yes.
As for the spot ... some say it matters, that some specific locations have a higher level of succes than others. Others think it doesn't matter one bit. Personally I've always believed it might matter a bit and when I really don't get anything from a specific spot I'll move somewhere else and try my luck there.
-
i highly doubt the area where you mine dictates the odds of your success, its just a roll of the dice.
-
i highly doubt the area where you mine dictates the odds of your success, its just a roll of the dice.
so here is the part of the source code that determines your luck of finding ore. However i am not sure, that it is the very latest code used in the recent release, but as it appear luck depends on
skill, item quality (which tool you use), and the distance from the center of recource (so the place actually matters)
Good luck
float roll = psserver->rng->Get();
// Calculate factor for skill
float f1 = event->dependency->GetCharacterData()->GetBaseSkill((PSSKILL)event->nr->skill->id);
f1 /= event->nr->skill_level;
// Calculate factor for item quality
float f2 = event->dependency->GetCharacterData()->GetItemInSlot(PSCHARACTER_SLOT_RIGHTHAND)->GetItemQuality();
f2 /= event->nr->item_quality;
// Calculate factor for distance from center of resource
csVector3 diff = event->nr->loc - event->position;
float dist = diff.Norm();
float f3 = 1 - (dist / event->nr->radius);
printf("Probability: %1.3f\n",event->nr->probability);
printf("Skill Factor: %1.3f\n",f1);
printf("Quality Factor: %1.3f\n",f2);
printf("Distance Factor: %1.3f\n",f3);
printf("Total Factor: %1.3f\n",event->nr->probability * f1 * f2 * f3);
printf("Roll: %1.3f\n",roll);
if (roll < event->nr->probability * f1 * f2 * f3) // successful!