Jump to content
  • 0

Npc.xml File Tag Guide...


millers

Question

Hello i'm looking for someone ho could explaine me how npc.xml stats works for example if i want to  create new npc with brand new stats like 200k hp 200k mana 250 def 250 mdef 5k patt and 5k matt ? i was looking on original mobs in game but i dont understand anything here is example why  : npc.xml file says 

 

 

 <set name="hp" val="2975.2369188"/>

<set name="mp" val="1742.976"/>
<set name="hpRegen" val="8.721"/>
<set name="mpRegen" val="3.0804"/>
<set name="pAtk" val="938.20801458"/>
<set name="pDef" val="354.8183475"/>
<set name="mAtk" val="656.66638089"/>
<set name="mDef" val="239.180922"/>
<set name="crit" val="4"/>
<set name="atkSpd" val="253"/>

 

 

in game it shows :

 

33c0rv6.jpg

 

all what i dont understand .. is where dos it get stats like this from and what means 

example:

<set name="pDef" val="354.8183475"/> 

 

all these extreme numbers  makes no sense !? 

can someone explaine me how to add some diff stats to mobs,npcs.!!!

 

Soory for my creepy English!

 

EDIT:

Oh and how dose the chance rate work ???

 

chance="800000"
chance="700000"
chance="300000"
chance="75000"
Edited by millers
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Chance,

 

1 000 000 - 100 %

 

About the stats. Take in consideration the other stats like STR, DEX, CON and such. Also, skills - passive mostly or under 'NPC Might/Shield', some mobs as you know has clan, self buffs :P

 

Yea, some crazy numbers, don't rly pay attention, off like ;)

Edited by SweeTs
Link to comment
Share on other sites

  • 0

354.8183475 = 355 pdef pretty much, same for the other stuff and the decimals really make about 0 impact on how they work

 

take into account their passive skills (hp modifiers, 'slightly strong/weak p/m atk/def', str, con) and stuff like that

 

so if 1 000 000 chance = 100%, 2 000 000 = 200% (2x drop amount at 100% rate)

900 000 = 90% etc

50 000 = 5%

9000 = .9%

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



×
×
  • Create New...