skymia Posted April 13, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Share Posted April 13, 2017 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 Quote Link to comment Share on other sites More sharing options...
0 Freya Posted April 13, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.01 Content Count: 120 Reputation: 54 Joined: 02/12/17 Last Seen: June 2, 2023 Share Posted April 13, 2017 Hello, there's an easy way. Go to rathena/doc/item_bonus.txt and read what contains there. Thanks! 1 Quote Link to comment Share on other sites More sharing options...
0 skymia Posted April 13, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Author Share Posted April 13, 2017 the only problem now for me is Decrease -5 HP per leveling up Quote Link to comment Share on other sites More sharing options...
0 Ozawaowa Posted April 13, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 3 Joined: 03/05/15 Last Seen: April 29, 2019 Share Posted April 13, 2017 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 Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted April 13, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted April 13, 2017 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 . Quote Link to comment Share on other sites More sharing options...
0 skymia Posted April 13, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Author Share Posted April 13, 2017 can you give me some example sir? Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted April 13, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted April 13, 2017 @skymia [...] if(BaseLevel>97) { bonus bMaxHP,-485; }; if(BaseLevel>98) { bonus bMaxHP,-490; }; if(BaseLevel>99) { bonus bMaxHP,-495; }; Quote Link to comment Share on other sites More sharing options...
0 skymia Posted April 14, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Author Share Posted April 14, 2017 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; };},{},{} Quote Link to comment Share on other sites More sharing options...
Question
skymia
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.