Jump to content
  • 0

Increase LK Spiral Pierce Damage


Kami675

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   1
  • Joined:  10/17/13
  • Last Seen:  

Hello, I am looking to increase LK's Spiral Pierce damage and I know which section I need to edit as of now if I use 0 equipment with 200 str and a normal poll axe it does around 1.5k damage I am looking to increase the damage to about 4k but i'm not sure how to do it i'm fairly afraid of messing with src coding since i'll prob mess up and cause errors XD

 

            case LK_SPIRALPIERCE:
            case ML_SPIRALPIERCE:
                if (sd) {
                    short index = sd->equip_index[EQI_HAND_R];

                    if (index >= 0 &&
                        sd->inventory_data[index] &&
                        sd->inventory_data[index]->type == IT_WEAPON)
                        wd.damage = sd->inventory_data[index]->weight*8/100; //80% of weight
                } else
                    wd.damage = sstatus->rhw.atk2*8/10; //Else use Atk2

                ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only.
                i = sstatus->str/10;
                i*=i;
                ATK_ADD(i); //Add str bonus.
                switch (tstatus->size) { //Size-fix. Is this modified by weapon perfection?
                    case 0: //Small: 125%
                        ATK_RATE(125);
                        break;
                    //case 1: //Medium: 100%
                    case 2: //Large: 75%
                        ATK_RATE(75);
                        break;
                }
                break;

do I edit the  ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only? or do i need to add a new line of code?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

Hello, I am looking to increase LK's Spiral Pierce damage and I know which section I need to edit as of now if I use 0 equipment with 200 str and a normal poll axe it does around 1.5k damage I am looking to increase the damage to about 4k but i'm not sure how to do it i'm fairly afraid of messing with src coding since i'll prob mess up and cause errors XD

 

            case LK_SPIRALPIERCE:

            case ML_SPIRALPIERCE:

                if (sd) {

                    short index = sd->equip_index[EQI_HAND_R];

                    if (index >= 0 &&

                        sd->inventory_data[index] &&

                        sd->inventory_data[index]->type == IT_WEAPON)

                        wd.damage = sd->inventory_data[index]->weight*8/100; //80% of weight

                } else

                    wd.damage = sstatus->rhw.atk2*8/10; //Else use Atk2

                ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only.

                i = sstatus->str/10;

                i*=i;

                ATK_ADD(i); //Add str bonus.

                switch (tstatus->size) { //Size-fix. Is this modified by weapon perfection?

                    case 0: //Small: 125%

                        ATK_RATE(125);

                        break;

                    //case 1: //Medium: 100%

                    case 2: //Large: 75%

                        ATK_RATE(75);

                        break;

                }

                break;

do I edit the  ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only? or do i need to add a new line of code?

 

Have you tried it?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   1
  • Joined:  10/17/13
  • Last Seen:  

 

Hello, I am looking to increase LK's Spiral Pierce damage and I know which section I need to edit as of now if I use 0 equipment with 200 str and a normal poll axe it does around 1.5k damage I am looking to increase the damage to about 4k but i'm not sure how to do it i'm fairly afraid of messing with src coding since i'll prob mess up and cause errors XD

 

            case LK_SPIRALPIERCE:

            case ML_SPIRALPIERCE:

                if (sd) {

                    short index = sd->equip_index[EQI_HAND_R];

                    if (index >= 0 &&

                        sd->inventory_data[index] &&

                        sd->inventory_data[index]->type == IT_WEAPON)

                        wd.damage = sd->inventory_data[index]->weight*8/100; //80% of weight

                } else

                    wd.damage = sstatus->rhw.atk2*8/10; //Else use Atk2

                ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only.

                i = sstatus->str/10;

                i*=i;

                ATK_ADD(i); //Add str bonus.

                switch (tstatus->size) { //Size-fix. Is this modified by weapon perfection?

                    case 0: //Small: 125%

                        ATK_RATE(125);

                        break;

                    //case 1: //Medium: 100%

                    case 2: //Large: 75%

                        ATK_RATE(75);

                        break;

                }

                break;

do I edit the  ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only? or do i need to add a new line of code?

 

Have you tried it?

 

well I wanted to make sure I was right before I tried anything XD. Also I didn't know how much to change it to increase it to 4k =/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

do I edit the  ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only? or do i need to add a new line of code?

 

skill_lv applies to the amount of skill points an LK/RK spent on the Spiral Pierce skill. Let's say he leveled it to 10 .

 

So by default:

50*skill_lv // skill_lv = skill level of Spiral Pierce
50*10 = 500

If you were to change 50 to 400:

400*10 = 4000
Edited by Valiente
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   1
  • Joined:  10/17/13
  • Last Seen:  

 

do I edit the  ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only? or do i need to add a new line of code?

 

skill_lv applies to the amount of skill points an LK/RK spent on the Spiral Pierce skill. Let's say he leveled it to 10 .

 

So by default:

50*skill_lv // skill_lv = skill level of Spiral Pierce
50*10 = 500

If you were to change 50 to 400:

400*10 = 4000

ah i c ok that makes sense XD thanks a ton for your help bro i'll change it and repack when less players are on and restart and tell u how it goes ^_^

Link to comment
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
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...