Jump to content
  • 0

Increase Sanctuary Heal Effet (255 / 170 server)


donpedro

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  03/24/14
  • Last Seen:  

how to increase sanctuary heal effect?. in our server it only heal 777, i want to make it 20k

can anyone help me with this matter?.

tnx and godbless.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

src/map/skill.c

 

Edit this line:

case PR_SANCTUARY:
hp = (skill_lv>6)?777:skill_lv*100;
break;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  03/24/14
  • Last Seen:  

shall i just change the 777 to 20000?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Yes, or to any value you want. Because based on the skill, after level 6, its heal will be a constant 777. You can try looking for the formula of heal too, and based it on int

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  03/24/14
  • Last Seen:  

ok tnx sir sandbox :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  34
  • Reputation:   1
  • Joined:  07/04/13
  • Last Seen:  

src/map/skill.c then find this line 

 

case PR_SANCTUARY:
hp = (skill_lv>6)?777:skill_lv*100;
break;

 

Change to 

   case PR_SANCTUARY:
        if( ( (TBL_MOB*)target)->class_ == MOBID_EMPERIUM )
            hp = (skill_lv>6)?20000:skill_lv*1;
        else 
            hp = (skill_lv>6)?777:skill_lv*100;    
        break;

 

 

Then Recompile your server done :)

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