Jump to content
  • 0

Question

10 answers to this question

Recommended Posts

Posted

only works on rathena?

im using svn 650 and

i dont know how to add the

- pc_has_permission(sd, PC_PERM_VIEW_HPMETER)

+ pc_has_permission(sd, PC_PERM_VIEW_HPMETER) ||

+ sd->sc.data[sC_HPVIEW]

to my:

if( (sd->status.party_id && dstsd->status.party_id == sd->status.party_id) || //Party-mate, or hpdisp setting.

(sd->state.bg_id && sd->state.bg_id == dstsd->state.bg_id) || //BattleGround

(battle_config.disp_hpmeter && (gmlvl = pc_isGM(sd)) >= battle_config.disp_hpmeter && gmlvl >= pc_isGM(dstsd)) )

clif_hpmeter_single(sd->fd, dstsd->bl.id, dstsd->battle_status.hp, dstsd->battle_status.max_hp);

Posted (edited)

if( (sd->status.party_id && dstsd->status.party_id == sd->status.party_id) || //Party-mate, or hpdisp setting.
(sd->state.bg_id && sd->state.bg_id == dstsd->state.bg_id) || //BattleGround
-(battle_config.disp_hpmeter && (gmlvl = pc_isGM(sd)) >= battle_config.disp_hpmeter && gmlvl >= pc_isGM(dstsd)) )
+(battle_config.disp_hpmeter && (gmlvl = pc_isGM(sd)) >= battle_config.disp_hpmeter && gmlvl >= pc_isGM(dstsd)) ||
+ sd->sc.data[sC_HPVIEW] )

try that one

Edited by clydelion
Posted

Yes that is true, but all the players who comes into view after removing it won't have hp bars anymore. If you want to instantly remove the hp bars, you can add @refresh on your unequip script.

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