elchetofede
Silver 4
Earned by having 12 posts & comments.
10th Anniversary
Earned after being a member for 10 years.
Likes : 2
| #1Subject: Como modificar el Hp de los npc 1/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: : |
|
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
| #2Subject: Re: Como modificar el Hp de los npc 1/12/2017, 2:53 am | |
| Normally in all NPC.cfg, the 2nd configs is the HP. Npc = Slime 10 1 10 3010 = 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)); |
|
elchetofede
Silver 4
Earned by having 12 posts & comments.
10th Anniversary
Earned after being a member for 10 years.
Likes : 2
| #3Subject: Re: Como modificar el Hp de los npc 1/12/2017, 11:27 am | |
| |
|
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
| #4Subject: Re: Como modificar el Hp de los npc 1/12/2017, 2:07 pm | |
| |
|
Sponsored content
| #5Subject: Re: Como modificar el Hp de los npc | |
| |
|