Advertisement
Guest User

Faction System {Data}

a guest
Aug 25th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P aCis_datapack
  3. Index: data/html/mods/Faction/delevel.htm
  4. ===================================================================
  5. --- data/html/mods/Faction/delevel.htm (revision 0)
  6. +++ data/html/mods/Faction/delevel.htm (working copy)
  7. @@ -0,0 +1,15 @@
  8. +<html><title>Faction Manager</title>
  9. +<body>
  10. +
  11. +<center>
  12. +
  13. +<font color="LEVEL">Delevel Services</font><br>
  14. +<br>
  15. +
  16. +<a action="bypass -h npc_%objectId%_delevel">Delevel Me!</a><br>
  17. +<br>
  18. +</center>
  19. +
  20. +</body>
  21. +
  22. +</html>
  23. Index: data/html/mods/Faction/faction.htm
  24. ===================================================================
  25. --- data/html/mods/Faction/faction.htm (revision 0)
  26. +++ data/html/mods/Faction/faction.htm (working copy)
  27. @@ -0,0 +1,26 @@
  28. +<html><title>Faction Manager</title>
  29. +<body>
  30. +
  31. +<center>
  32. +
  33. +<font color="LEVEL">Choose Your Faction</font><br>
  34. +<br>
  35. +
  36. +<a action="bypass -h npc_%objectId%_setffaction">Join The First Faction</a><br>
  37. +<br>
  38. +<a action="bypass -h npc_%objectId%_setsfaction">Join The Second Faction</a><br>
  39. +<br>
  40. +<br>
  41. +<font color="LEVEL">Other Services</font><br>
  42. +<br>
  43. +<a action="bypass -h npc_%objectId%_setnoblesse">Gain Noblesse Status</a><br>
  44. +<br>
  45. +<a action="bypass -h npc_%objectId%_Link Faction/levelup.htm">Level Up Services</a><br>
  46. +<br>
  47. +<a action="bypass -h npc_%objectId%_Link Faction/delevel.htm">DeLevel Services</a><br>
  48. +<br>
  49. +</center>
  50. +
  51. +</body>
  52. +
  53. +</html>
  54. Index: data/xml/npcs/50000-50999.xml
  55. ===================================================================
  56. --- data/xml/npcs/50000-50999.xml (revision 5)
  57. +++ data/xml/npcs/50000-50999.xml (working copy)
  58. @@ -108,4 +108,40 @@
  59. <skill id="4416" level="18"/>
  60. </skills>
  61. </npc>
  62. + <npc id="50009" idTemplate="31228" name="Faction Manager" title="By CaFi">
  63. + <set name="level" val="70"/>
  64. + <set name="radius" val="9"/>
  65. + <set name="height" val="16"/>
  66. + <set name="rHand" val="0"/>
  67. + <set name="lHand" val="0"/>
  68. + <set name="type" val="L2Faction"/>
  69. + <set name="exp" val="0"/>
  70. + <set name="sp" val="10"/>
  71. + <set name="hp" val="2444.46819"/>
  72. + <set name="mp" val="1345.8"/>
  73. + <set name="hpRegen" val="7.5"/>
  74. + <set name="mpRegen" val="2.7"/>
  75. + <set name="pAtk" val="688.86373"/>
  76. + <set name="pDef" val="295.91597"/>
  77. + <set name="mAtk" val="470.40463"/>
  78. + <set name="mDef" val="216.53847"/>
  79. + <set name="crit" val="4"/>
  80. + <set name="atkSpd" val="253"/>
  81. + <set name="str" val="40"/>
  82. + <set name="int" val="21"/>
  83. + <set name="dex" val="30"/>
  84. + <set name="wit" val="20"/>
  85. + <set name="con" val="43"/>
  86. + <set name="men" val="20"/>
  87. + <set name="corpseTime" val="7"/>
  88. + <set name="walkSpd" val="80"/>
  89. + <set name="runSpd" val="120"/>
  90. + <set name="dropHerbGroup" val="0"/>
  91. + <set name="attackRange" val="40"/>
  92. + <ai type="default" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="0" canMove="true" seedable="false"/>
  93. + <skills>
  94. + <skill id="4045" level="1"/>
  95. + <skill id="4416" level="7"/>
  96. + </skills>
  97. + </npc>
  98. </list>
  99. \ No newline at end of file
  100. Index: data/html/mods/Faction/delevel.htm
  101. ===================================================================
  102. --- data/html/mods/Faction/delevel.htm (revision 0)
  103. +++ data/html/mods/Faction/delevel.htm (working copy)
  104. @@ -0,0 +1,15 @@
  105. +<html><title>Faction Manager</title>
  106. +<body>
  107. +
  108. +<center>
  109. +
  110. +<font color="LEVEL">Delevel Services</font><br>
  111. +<br>
  112. +
  113. +<a action="bypass -h npc_%objectId%_delevel">Delevel Me!</a><br>
  114. +<br>
  115. +</center>
  116. +
  117. +</body>
  118. +
  119. +</html>
  120. Index: data/html/mods/Faction/faction.htm
  121. ===================================================================
  122. --- data/html/mods/Faction/faction.htm (revision 0)
  123. +++ data/html/mods/Faction/faction.htm (working copy)
  124. @@ -0,0 +1,26 @@
  125. +<html><title>Faction Manager</title>
  126. +<body>
  127. +
  128. +<center>
  129. +
  130. +<font color="LEVEL">Choose Your Faction</font><br>
  131. +<br>
  132. +
  133. +<a action="bypass -h npc_%objectId%_setffaction">Join The First Faction</a><br>
  134. +<br>
  135. +<a action="bypass -h npc_%objectId%_setsfaction">Join The Second Faction</a><br>
  136. +<br>
  137. +<br>
  138. +<font color="LEVEL">Other Services</font><br>
  139. +<br>
  140. +<a action="bypass -h npc_%objectId%_setnoblesse">Gain Noblesse Status</a><br>
  141. +<br>
  142. +<a action="bypass -h npc_%objectId%_Link Faction/levelup.htm">Level Up Services</a><br>
  143. +<br>
  144. +<a action="bypass -h npc_%objectId%_Link Faction/delevel.htm">DeLevel Services</a><br>
  145. +<br>
  146. +</center>
  147. +
  148. +</body>
  149. +
  150. +</html>
  151. Index: data/html/mods/Faction/levelup.htm
  152. ===================================================================
  153. --- data/html/mods/Faction/levelup.htm (revision 0)
  154. +++ data/html/mods/Faction/levelup.htm (working copy)
  155. @@ -0,0 +1,15 @@
  156. +<html><title>Faction Manager</title>
  157. +<body>
  158. +
  159. +<center>
  160. +
  161. +<font color="LEVEL">Level Up Services</font><br>
  162. +<br>
  163. +
  164. +<a action="bypass -h npc_%objectId%_levelup">Level Me Up!</a><br>
  165. +<br>
  166. +</center>
  167. +
  168. +</body>
  169. +
  170. +</html>
  171. Index: data/html/mods/Faction/levelup.htm
  172. ===================================================================
  173. --- data/html/mods/Faction/levelup.htm (revision 0)
  174. +++ data/html/mods/Faction/levelup.htm (working copy)
  175. @@ -0,0 +1,15 @@
  176. +<html><title>Faction Manager</title>
  177. +<body>
  178. +
  179. +<center>
  180. +
  181. +<font color="LEVEL">Level Up Services</font><br>
  182. +<br>
  183. +
  184. +<a action="bypass -h npc_%objectId%_levelup">Level Me Up!</a><br>
  185. +<br>
  186. +</center>
  187. +
  188. +</body>
  189. +
  190. +</html>
  191. Index: sql/characters.sql
  192. ===================================================================
  193. --- sql/characters.sql (revision 5)
  194. +++ sql/characters.sql (working copy)
  195. @@ -54,6 +54,8 @@
  196. `clan_join_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0,
  197. `clan_create_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0,
  198. `death_penalty_level` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
  199. + `ffaction` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  200. + `sfaction` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  201. PRIMARY KEY (obj_Id),
  202. KEY `clanid` (`clanid`)
  203. );
  204. \ No newline at end of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement