sbrick LearnRequiresOneOfSkills

Added by nimbus3 over 4 years ago

Hi

I am curious to know where the 0 in some sbrick xml derives from, i.e.

<ATOM Name="LearnRequiresOneOfSkills" Value="SC 0"/>

I know that the SC = Craft

thx

Nimbus3


Replies (5)

RE: sbrick LearnRequiresOneOfSkills - Added by molator over 4 years ago

Yeap, that's the craft root skill.

_D8145C8EEA5A3CA6 SC Craft a the Craft the Craft

0 is the min level you need to use the skill.

Have a look in code\ryzom\server\src\entities_game_service\phrase_manager\available_phrases.cpp:

// Check if the brick is below or equal the skill value limit
if ( ! skillRequiredAreBelowSkillValueLimit( skillValueLimit, staticBrick->LearnRequiresOneOfSkills ) )
  return false;

RE: sbrick LearnRequiresOneOfSkills - Added by nimbus3 over 4 years ago

ah ha, thank you yet again for clearing up my question.

for some reason I thought you could answer this Molator :)

ty

RE: sbrick LearnRequiresOneOfSkills - Added by molator over 4 years ago

You're welcome.

And as i didn't figure out everything yet, feel free to share what you know in a wiki :).

RE: sbrick LearnRequiresOneOfSkills - Added by nimbus3 over 4 years ago

I right now I am just information gathering and storing, I intend on writting some guide (which I am doing as I learn too) being "a novice" at all this its a rather long learning curse for me though. But I would like to share my experiences so thank you for the invite.

On another note. I have noticed there is no advanced armour crafting title. is it just a case of adding them to the phrases ??

RE: sbrick LearnRequiresOneOfSkills - Added by sfb over 4 years ago

nimbus3,

Another thing to note is that the LearnRequiresOneOfSkills field is colon (:) delimited. So you could do:

SC 10:SM 10

Thus requiring a level of 10 in crafting and magic.

Thanks!
sfb
/s

(1-5/5)