Jump to content
kyleflow

Possesion Luck

Recommended Posts

Does anyone know where the script to decide luck and double EXP for possession skill in pet? I check the script for Skill_JLFT_BEGIN and its chain of setup, does not mentioned the setup of luck and exp. but exp can be seen reflected on exp gain but the luck is ambiguous. Can anyone guide me on this?

 

Share this post


Link to post
Share on other sites
6 hours ago, kyleflow said:

Does anyone know where the script to decide luck and double EXP for possession skill in pet? I check the script for Skill_JLFT_BEGIN and its chain of setup, does not mentioned the setup of luck and exp. but exp can be seen reflected on exp gain but the luck is ambiguous. Can anyone guide me on this?

 

Fairy possession just adds a state/effect, the real thing is upon calculating experience gain on monster kill. That's where it checks whether you have that special state/effect, if player does possess that state, it will multiply accordingly. As for drop, I can't remember if it does the same thing or it adds to the attribute "MF".

Share this post


Link to post
Share on other sites
7 hours ago, Angelix said:

Fairy possession just adds a state/effect, the real thing is upon calculating experience gain on monster kill. That's where it checks whether you have that special state/effect, if player does possess that state, it will multiply accordingly. As for drop, I can't remember if it does the same thing or it adds to the attribute "MF".

Yeah seem like you are right. ATTR_BMF is the drop attribute based on translation. Should I set it like this for it to have better drop or is it not reading it properly if I did like this.

 

local star = GetChaAttr( role, ATTR_BMF ) * lv_JL * 0.02 -- this is the preset setup

----change into something like this

local star = GetChaAttr( role, ATTR_BMF ) * lv_JL * 0.4 -- should work right?

Since the next part mentioning that

 

SetCharaAttr(star  ,role , ATTR_BMF)

Just that here it declared another check on ChaAttr but never used. Causing a confusion here

 

local star2 = GetChaAttr( role, ATTR_BMF ) -- not used until the closing of function

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...