TuxedinhoBR

Towns (How equip heros)

May 4th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. If you go to livingentities.xml and scroll down a little bit you see this thing
  2.  
  3. "<!-- HEROES -->
  4. <sips>
  5. <type>HERO</type>
  6. <hate>ENEMY</hate>
  7.  
  8. <name esES="Sips, el creador de campamentos">Sips, the campmaker</name>
  9.  
  10. <attack>1d900+1800</attack>
  11. <attackSpeed>6</attackSpeed>
  12. <defense>1d450+350</defense>
  13. <healthPoints>1d600+2000</healthPoints>
  14. <attackVerb esES="golpea">punches</attackVerb>
  15. <attackVerbInfinitive esES="golpear">punch</attackVerbInfinitive>
  16. <damage>1d90+200</damage>
  17. <LOS>1d4+3</LOS>
  18.  
  19. <movePCT>1d12+12</movePCT>
  20. <walkSpeed>60</walkSpeed>
  21.  
  22. <HPRegeneration>1</HPRegeneration>
  23. <maxHungryTurns>1d360+3440</maxHungryTurns>
  24. <maxSleepTurns>1d240+4160</maxSleepTurns>
  25. <eatZone>ztavern</eatZone>
  26.  
  27. <heroComePrerequisite>sips</heroComePrerequisite>
  28. <heroStayPrerequisite>sips</heroStayPrerequisite>
  29. <heroBehaviour>sips</heroBehaviour>
  30. <heroSkills>sips</heroSkills>
  31.  
  32. <facingDirections>true</facingDirections>
  33.  
  34. <equip>sipswand</equip>
  35. <equipAllowed>cloth,bone,wand,misc</equipAllowed>
  36. <evadeTraps>true</evadeTraps>
  37. <moral>1d60+25</moral>
  38. <drop>
  39. <item>sipscorpse</item>
  40. <PCT>100</PCT>
  41. </drop>
  42.  
  43. <fxDead>fxdeadmale</fxDead>
  44. </sips>"
  45.  
  46. If you want the Heros to equip you stuff you need to change this line
  47. "<equipAllowed>cloth,bone,wand,misc</equipAllowed>"
  48. and add Gold, Iron, Etc
  49. Like this
  50. "<equipAllowed>wood,cloth,bone,iron,gold,wand,misc</equipAllowed>"
  51. Just a tip :)
Advertisement
Add Comment
Please, Sign In to add comment