Jump to content

Question

Posted

I would like to ask some database expert here. I'll just leave the description here. I would be glad if someone could help me! Thank you in advance rAthenians

Quote

[ Refine Rate from 1 ~ 6 ]
Increase HP + 30 every refine until ( REFINE + 6 )

( then the Additional HP Total 30 x 6 = 180 I want to continue it but the the additional stats will be change from 30 to 50  )

[ Refine Rate from 7 ~ 10 ]
so Ex : ( Refine + 6 : Increase 180HP ) + Increase HP + 50 x 3 every refine. Total of 330 when refine by +10 

image.png.add56829f3c5520b8ebb478e90bcdbdc.png

2 answers to this question

Recommended Posts

  • 0
Posted (edited)
12 hours ago, Gerzzie said:

I would like to ask some database expert here. I'll just leave the description here. I would be glad if someone could help me! Thank you in advance rAthenians

image.png.add56829f3c5520b8ebb478e90bcdbdc.png

maybe like this :

this for HP recovery you can change script for MAx HP

   
{ if (getrefine()>=1) bonus2 bHPRegenRate,30,5000;  if (getrefine()>=2) bonus2 bHPRegenRate,60,5000; if (getrefine()>=3) bonus2 bHPRegenRate,90,5000;  if (getrefine()>=4) bonus2 bHPRegenRate,120,5000; if (getrefine()>=5) bonus2 bHPRegenRate,150,5000;  if (getrefine()>=6) bonus2 bHPRegenRate,180,5000; if (getrefine()>=7) bonus2 bHPRegenRate,230,5000;  if (getrefine()>=8) bonus2 bHPRegenRate,280,5000; if (getrefine()>=9) bonus2 bHPRegenRate,330,5000;  if (getrefine()>=10) bonus2 bHPRegenRate,380,5000;


refine +1 = 30
refine +2 = 60
refine +3 = 90
refine +4 = 120
refine +5 = 150
refine +6 = 180
refine +7 = 230
refine +8 = 280
refine +9 = 330
refine +10 = 380

Edited by Slammer
  • 0
Posted
4 hours ago, Sakurada said:

You can do that? 

Cool

@Sakurada
correction

{ if (getrefine()>=1) { bonus bMaxHP,30; } if (getrefine()>=2) { bonus bMaxHP,60; } }


refine +1 = Max HP +30
refine +2 = Max HP +60

you can edit more

  • 0
Posted (edited)
itemDB,.....,{ .@refine = getrefine(); if (.@refine <= 6) bonus bMaxHP,(.@refine * 30); else bonus bMaxHP,(((.@refine/3) * 50) + (6 * 30));}, { }, { }

 

Edited by Emistry
  • Love 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...