Discord: https://discord.gg/z4rndWJzwq
 
HomeUseful information for Helbreath beginnersStatistics overviewSearchMemberlistGalleryRulesRegisterLog in

Post new topic   This topic is locked: you cannot edit posts or make replies.
 

 Como modificar el Hp de los npc

Go down 
2 posters
AuthorMessage
elchetofede


avatar

Silver 4
Earned by having 12 posts & comments.
10th Anniversary
Earned after being a member for 10 years.

Likes : 2

Como modificar el Hp de los npc Empty
#1PostSubject: Como modificar el Hp de los npc   Como modificar el Hp de los npc 999101/12/2017, 2:17 am

Hola comunidad WH queria sacarme la duda, estoy buscando como modificar el hp de los np por ej las Slime tiene 15 de hp busco en el npc.cfg y no lo encuentro a lo mejor sea desde src me podrian dar una manita por aqui...Muchas  :gracias: :
Back to top Go down
LifeX


LifeX

Diamond 1
Earned by having 144 posts & comments.
Civilian
Granted to members for high engagement.
Great Mentor
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.

Likes : 26

Como modificar el Hp de los npc Empty
#2PostSubject: Re: Como modificar el Hp de los npc   Como modificar el Hp de los npc 999101/12/2017, 2:53 am

Normally in all NPC.cfg, the 2nd configs is the HP.

Npc = Slime 10 1 10 30

10 = NPC Type No. ( When you do drop list and also pits placement in mapdata )

1 = HP of the NPC ( Calculation is as per below )

10 = Defense Ratio ( Dex for Slime ( Miss when players hit ) )

30 = Hit ratio ( NPC Damage to Players )

This is the default calculation for all default sources, you can change how it reads.



Code:
if(m_iHitDice <= 5)
 m_iHP  = abs(iDice(m_iHitDice, 4) + m_iHitDice);
else 
m_iHP  = abs(m_iHitDice * 5 + iDice(1, m_iHitDice));
Back to top Go down
elchetofede


avatar

Silver 4
Earned by having 12 posts & comments.
10th Anniversary
Earned after being a member for 10 years.

Likes : 2

Como modificar el Hp de los npc Empty
#3PostSubject: Re: Como modificar el Hp de los npc   Como modificar el Hp de los npc 999101/12/2017, 11:27 am

thank you Lifex
Back to top Go down
LifeX


LifeX

Diamond 1
Earned by having 144 posts & comments.
Civilian
Granted to members for high engagement.
Great Mentor
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.

Likes : 26

Como modificar el Hp de los npc Empty
#4PostSubject: Re: Como modificar el Hp de los npc   Como modificar el Hp de los npc 999101/12/2017, 2:07 pm

NP
Back to top Go down
Sponsored content






Como modificar el Hp de los npc Empty
#5PostSubject: Re: Como modificar el Hp de los npc   Como modificar el Hp de los npc 99910

Back to top Go down
 
Como modificar el Hp de los npc
Back to top 
Page 1 of 1
 Similar topics
-
» Modificar Cliente
» Como cambiarle el name a un hb?
» Como funciona los tiked de tp???
» como crear sprites
» Como agregar un NPC movimiento

Permissions in this forum:You can reply to topics in this forum
JoinHelbreath.net :: General :: Help Zone✅-
Post new topic   This topic is locked: you cannot edit posts or make replies.Jump to: