Jump to content
  • 0

Blessing Skill Augment


Kidlatsv

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  09/19/17
  • Last Seen:  

Hey guys, I have been pulling my hair with this, so, I guess it's time to ask for professional help.

 

How do I increase the buff of Blessing to +20 instead of +10?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

I'm not professional, but I can try help you haha.

I can't test it to you, but you can try it:

Go to src/map/skill.c

Search for this lines:

Quote

case 6: // Level 10 Blessing
                        sc_start(ss, bl, SC_BLESSING, 100, 10, skill_get_time(AL_BLESSING, 10));

Change for this:

case 6: // Level 10 Blessing
						sc_start(ss, bl, SC_BLESSING, 100, 20, skill_get_time(AL_BLESSING, 20));

So recompile.

Edited by BrOgBr
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  10/26/20
  • Last Seen:  

 

On 1/12/2018 at 4:12 AM, BrOgBr said:

I'm not professional, but I can try help you haha.

I can't test it to you, but you can try it:

Go to src/map/skill.c

Search for this lines:

Change for this:


case 6: // Level 10 Blessing
						sc_start(ss, bl, SC_BLESSING, 100, 20, skill_get_time(AL_BLESSING, 20));

So recompile.

This is tottaly wrong, that lines refers to UNT_GOSPEL, so you are modifying golspel bless, I'm looking for bless lines too right now, if I got it I'll edit here

 

 

@edit

You need to edit file status.cpp. If you wanna lv 10 bless give 20 stats so change sc->data[SC_BLESSING]->val2  to  sc->data[SC_BLESSING]->val2 * 2

Quote

 

    if(sc->data[SC_BLESSING]) {
        if(sc->data[SC_BLESSING]->val2)
            str += sc->data[SC_BLESSING]->val2 ;
        else
            str >>= 1;
    }

///////////////////////

    if(sc->data[SC_BLESSING]) {
        if (sc->data[SC_BLESSING]->val2)
            dex += sc->data[SC_BLESSING]->val2 ;
        else
            dex >>= 1;
    }

//////////////////////////

    if(sc->data[SC_BLESSING]) {
        if (sc->data[SC_BLESSING]->val2)
            int_ += sc->data[SC_BLESSING]->val2 ;
        else
            int_ >>= 1;
    }

Edited by fusqueta
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...