Jump to content
  • 0

FAW Silver Sniper & Magic Decoy


dreinor17

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   2
  • Joined:  02/08/14
  • Last Seen:  

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

already found the attack part of silver sniper, the code is:
mstatus->rhw.atk = mstatus->rhw.atk2 =  *200 * ud->skill_lv * status_get_dex(battle->get_master(mbl)); 

the only one left is the FAW - Magic Decoy based on luk magic damage..

Link to comment
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.   Paste as plain text instead

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