Jump to content
  • 0

Show the amount of HP and SP amount to all players


Question

Posted

I remember seeing this modification awhile back. I can't seem to find it.
It's really basic it just shows the amount of HP and SP from Pots or grape juice to all players near you.

 

6 answers to this question

Recommended Posts

Posted

why not just use this ? to enable all player view the HP bar.. O.O

	permissions: {
		view_hpmeter: true
	}

It's kinda different from that. It shows the numbers of how much they got healed by when using a potion and SP. 

Posted

like this ?

 

inside

trunk/src/map/pc.c

below this

		// Recovery Potion
		if( sd->sc.data[SC_INCHEALRATE] )
			hp += (int)(hp * sd->sc.data[SC_INCHEALRATE]->val1/100.);

try add this..

		if( hp )
			clif_skill_nodamage(NULL, &sd->bl, SM_RECOVERY, hp, 1);
Posted

im interessting in a modifikation that shows the HP of Monsters in Numbers instead a bar. How can i do these ?

trunk/conf/battle/monster.conf

// Display some mob info next to their name? (add as needed)
// (does not works on guardian or emperium)
// 1: Display mob HP (Hp/MaxHp format)
// 2: Display mob HP (Percent of full life format)
// 4: Display mob's level
show_mob_info: 0

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