elchetofede

Posts : 16 Since : 2014-04-23
 | Subject: Como modificar el Hp de los npc 1/11/2017, 11:17 pm | |
| 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


Posts : 249 Since : 2014-11-15
 | Subject: Re: Como modificar el Hp de los npc 1/11/2017, 11:53 pm | |
| 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

Posts : 16 Since : 2014-04-23
 | Subject: Re: Como modificar el Hp de los npc 1/12/2017, 8:27 am | |
| | |
|
LifeX


Posts : 249 Since : 2014-11-15
 | Subject: Re: Como modificar el Hp de los npc 1/12/2017, 11:07 am | |
| NP
LifeX
Helbreath Crusade << Click
| |
|