Jump to content
  • 0
dreinor

FAW Silver Sniper & Magic Decoy

Question

Hi.. Can someone help me.. i want to modify the Magic Attack of Magic Decoy and Silver Sniper.. 

I want the Damage of Silver Sniper to be affected by the DEX stats of the caster.. here is the code for the damage of FAW - Silver Sniper:

                      if( ud->skill_id == NC_SILVERSNIPER )
                    mstatus->rhw.atk = mstatus->rhw.atk2 = 200 * ud->skill_lv;

What Code Should I add so that the damage of Silver Sniper be affected by the Dex of the caster? btw, this is found in status.c


2nd is the FAW - Magic Decoy.. i want the Matk of the Magic Decoy to be affected by the Luk of the caster.. Here is the code for the matk that is found on skill.c:

                      md->status.matk_min = md->status.matk_max = 250 + (50 * skill_id)

What Code Should I add so that the Matk of the Magic Decoy be affected by the luk of the caster? sorry.. I'm not really familiar with the language of the codes, can someone help me on this? thanks..

i tried adding status_get_luk & status_get_dex but it wasn't working.. i don't know the proper identifier for the desired effect.. i tried, src, bl & src2.. 
Edited by dreinor

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

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

Guest
Answer this question...

×   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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.