Jump to content
  • 0

Item Script (bonus by (Upgrade - 5) * 2)


Question

Posted (edited)

Help me with this item script please:

Quote

+6 upgrade bonus:

[Bless] Lv 1: Increases healing bonus by (Upgrade - 5) * 2, til an upgrade of +14.

The healing bonus is increased by 5%.

Magical attacks bypass the defense of [Demi-Human] race targets by 5%.

I need only the first line, It's too confusing for me. :unsure:

It's from iRO DB, I'm trying update some items scripts.

Edited by BrOgBr

3 answers to this question

Recommended Posts

  • 0
Posted
1 hour ago, sader1992 said:

try this


bonus bHealPower,min(18,((getrefine()-5)*2)));

 

But where does this come in: 

Quote

[Bless] Lv 1: 

:blink:

I did it:

1641,Krieger_Onehand_Staff2,Glorious Cure Wand,5,20,,0,70:135,,1,0,0x00818314,63,2,2,4,80,1,10,{ bonus bHealPower,14; bonus bDelayRate,-10; bonus bUnbreakableWeapon,1; .@r = getrefine(); if(.@r > 5) { bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,5; bonus2 bIgnoreMdefRaceRate,RC_Player,5; bonus bHealPower,5+(min(14,.@r)-5)*2; bonus bHealPower,min(18,((getrefine()-5)*2))); } if(.@r > 8) bonus5 bAutoSpellOnSkill,"AL_HEAL","AL_HEAL",10,100,1; if(.@r > 9) { bonus bHealPower,10; } },{},{}


In the iRO DB, the description is so:

Quote

Reduces the skill usage delay by 10%.

Increases the recovery power of the user's healing skills 14%.

+6 upgrade bonus:

[Bless] Lv 1: Increases healing bonus by (Upgrade - 5) * 2, til an upgrade of +14.

The healing bonus is increased by 5%.

Magical attacks bypass the defense of [Demi-Human] race targets by 5%.

+9 upgrade bonus:

Adds a 10% chance of using [Heal] Lv 10 on the target when [Heal] is used.

+10 upgrade bonus:

The healing bonus is increased by 10%.

Special Notes:

Obtained with 2000 points from KVM Battlegrounds.

In Divine Pride is so:

Choosing iRO's server.

Quote

Reduces the fixed casting time of skills by 10%.
Increases the recovery rate of recovery skills by 14%.
This item is indestructible in battle.
If upgrade level is +6 or higher,
Bypass 5% of hard magic defense of Demi-Human race targets when performing a magical attack.
Enables Level 1 Bless.
Increases the recovery rate of recovery skills by an additional 5%.
If upgrade level is +9 or higher,
Adds a 10% chance of casting Level 10 Heal on the target when using Heal.
If upgrade level is +10 or higher,
Increases the recovery rate of recovery skills by an additional 10%.

and choosing kRO's server:

using translator haha

Quote

[Blessing] Lv 1 (However, increased healing due to the blessing option only applies to +14 for smelting.)

 

  • 0
Posted

check the script again you are doing this

bonus bHealPower,5+(min(14,.@r)-5)*2; bonus bHealPower,min(18,((getrefine()-5)*2)));

however i did put 18 cuz refine +14 = (14-5)*2 = 18

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...