Jump to content
  • 0

increase apple of idun


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello rA

how to increase hp skill apple of idun?

which 1 i need edit?

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

rathena/src/map/skill.c

		case BA_APPLEIDUN:
#ifdef RENEWAL
			hp = 100 + 5 * skill_lv + 5 * (status_get_vit(src) / 10); // HP recovery
#else
			hp = 30 + 5 * skill_lv + 5 * (status_get_vit(src) / 10); // HP recovery
#endif

If your server is renewal edit

			hp = 100 + 5 * skill_lv + 5 * (status_get_vit(src) / 10); // HP recovery

else 

			hp = 30 + 5 * skill_lv + 5 * (status_get_vit(src) / 10); // HP recovery

Example in renewal server:

Skill level: 10
Vit of the player: 90

100 + (5 * 10) + (5 * 90/10)
100 + 50 + 45
195

This will give +195 HP if im not wrong

 

 

* Note:  (status_get_vit(src) / 10) = Player vit/10

Edited by Promise
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

im used pre

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

hp = 30 + 5 * skill_lv + 5 * (status_get_vit(src) / 10); // HP recovery

Edit this

 

30 + 5 * skill level + 5 * player VIT /10

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hp = 30 + 5 * skill_lv + 5 * (status_get_vit(src) / 10); // HP recovery

Edit this

 

30 + 5 * skill level + 5 * player VIT /10

 

 

did i need edit the vit?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Depends on what u want to edit of the skill, if you want to add a litte more hp, you can just replace the 30 for another number

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