Jump to content
  • 0

Items Script


skymia

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

can anyone help me to put script in a freebie item.

Item: Remover Hat (Id:5777)

Features:

Additional EXP by 10%

+1000 HP

Decrease -5 HP per leveling up

Increase HP and SP recovery by 5%

Hope someone can help me thanks in advance

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   53
  • Joined:  02/12/17
  • Last Seen:  

Hello, there's an easy way.
Go to rathena/doc/item_bonus.txt

and read what contains there. Thanks!

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

the only problem now for me is Decrease -5 HP per leveling up

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   3
  • Joined:  03/05/15
  • Last Seen:  

 bonus bMaxHP,1000; bonus2 bExpAddRace,RC_All,10; bonus2 bHPRegenRate,5,10000; bSPRegenRate,5,10000; [...] if(BaseLevel>97) { bonus bMaxHP,-485; }; if(BaseLevel>98) { bonus bMaxHP,-490; }; if(BaseLevel>99) { bonus bMaxHP,-495; };

 

Hey buddy, I recommend you do something like that.
I can not imagine another way this script works

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

4 hours ago, skymia said:

the only problem now for me is Decrease -5 HP per leveling up

Use Some item Condition statement in item{script} use If statement .

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

can you give me some example sir?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

@skymia
 

[...] if(BaseLevel>97) { bonus bMaxHP,-485; }; if(BaseLevel>98) { bonus bMaxHP,-490; }; if(BaseLevel>99) { bonus bMaxHP,-495; };
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

its like this?

5777,Remover_Hat,Remover Hat,4,20,,800,,2,,0,0xFFFFFFFF,7,2,256,,30,0,655,{ bonus2 bExpAddRace,RC_ALL,10; bonus bMaxHP,1000; bonus bHPrecovRate,5; bonus bSPrecovRate,5; if(BaseLevel>97) { bonus bMaxHP,-485; }; if(BaseLevel>98) { bonus bMaxHP,-490; }; if(BaseLevel>99) { bonus bMaxHP,-495; };},{},{}

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