Jump to content

clydelion

Members
  • Posts

    754
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by clydelion

  1. make sure there's a data folder, else it wont save
  2. i think this line would probably answer your problem. basically it calculates the base HP then subtracts 1,000,000 hp checks if it is within the min and max hp supported by the emulator. all the bonuses will be checked afterwards. my suggestion is that instead of subtracting a raw 1000000 hp, why not lessen it by %? for example 20% of max hp i = sd->status.max_hp + (int)status->max_hp; + i = i - i*20/100 status->max_hp = cap_value(i, 0, INT_MAX);
  3. 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.
  4. 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
  5. Why not just make a diff out of your 3ceam files and apply it manually to the latest revision of rathena?
  6. Yeah. That's a normal behavior. Unless you want to refresh the client as soon as you unequip/equip it.
  7. care to try this one? sc_start SC_HPVIEW,600000,0; SC_HPVIEW.patch
  8. hi. here's a source modification for such request. kindly check if it works as I don't have a compiler present to test things out. remember to set val4 of the scriptcommand sc_start4 to 1 to make it infinite. What you are using right now is appropriate for this modification. sc_start4 SC_SPIRIT,600000,5,448,0,1; status.c.patch
  9. lahat lang ng mas mataas kesa sa current revision mo. pero kung fresh naman, di na kailangan.
×
×
  • Create New...