### Eclipse Workspace Patch 1.0
#P aCis_datapack
Index: data/html/mods/Faction/delevel.htm
===================================================================
--- data/html/mods/Faction/delevel.htm (revision 0)
+++ data/html/mods/Faction/delevel.htm (working copy)
@@ -0,0 +1,15 @@
+<html><title>Faction Manager</title>
+<body>
+
+<center>
+
+<font color="LEVEL">Delevel Services</font><br>
+<br>
+
+<a action="bypass -h npc_%objectId%_delevel">Delevel Me!</a><br>
+<br>
+</center>
+
+</body>
+
+</html>
Index: data/html/mods/Faction/faction.htm
===================================================================
--- data/html/mods/Faction/faction.htm (revision 0)
+++ data/html/mods/Faction/faction.htm (working copy)
@@ -0,0 +1,26 @@
+<html><title>Faction Manager</title>
+<body>
+
+<center>
+
+<font color="LEVEL">Choose Your Faction</font><br>
+<br>
+
+<a action="bypass -h npc_%objectId%_setffaction">Join The First Faction</a><br>
+<br>
+<a action="bypass -h npc_%objectId%_setsfaction">Join The Second Faction</a><br>
+<br>
+<br>
+<font color="LEVEL">Other Services</font><br>
+<br>
+<a action="bypass -h npc_%objectId%_setnoblesse">Gain Noblesse Status</a><br>
+<br>
+<a action="bypass -h npc_%objectId%_Link Faction/levelup.htm">Level Up Services</a><br>
+<br>
+<a action="bypass -h npc_%objectId%_Link Faction/delevel.htm">DeLevel Services</a><br>
+<br>
+</center>
+
+</body>
+
+</html>
Index: data/xml/npcs/50000-50999.xml
===================================================================
--- data/xml/npcs/50000-50999.xml (revision 5)
+++ data/xml/npcs/50000-50999.xml (working copy)
@@ -108,4 +108,40 @@
<skill id="4416" level="18"/>
</skills>
</npc>
+ <npc id="50009" idTemplate="31228" name="Faction Manager" title="By CaFi">
+ <set name="level" val="70"/>
+ <set name="radius" val="9"/>
+ <set name="height" val="16"/>
+ <set name="rHand" val="0"/>
+ <set name="lHand" val="0"/>
+ <set name="type" val="L2Faction"/>
+ <set name="exp" val="0"/>
+ <set name="sp" val="10"/>
+ <set name="hp" val="2444.46819"/>
+ <set name="mp" val="1345.8"/>
+ <set name="hpRegen" val="7.5"/>
+ <set name="mpRegen" val="2.7"/>
+ <set name="pAtk" val="688.86373"/>
+ <set name="pDef" val="295.91597"/>
+ <set name="mAtk" val="470.40463"/>
+ <set name="mDef" val="216.53847"/>
+ <set name="crit" val="4"/>
+ <set name="atkSpd" val="253"/>
+ <set name="str" val="40"/>
+ <set name="int" val="21"/>
+ <set name="dex" val="30"/>
+ <set name="wit" val="20"/>
+ <set name="con" val="43"/>
+ <set name="men" val="20"/>
+ <set name="corpseTime" val="7"/>
+ <set name="walkSpd" val="80"/>
+ <set name="runSpd" val="120"/>
+ <set name="dropHerbGroup" val="0"/>
+ <set name="attackRange" val="40"/>
+ <ai type="default" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="0" canMove="true" seedable="false"/>
+ <skills>
+ <skill id="4045" level="1"/>
+ <skill id="4416" level="7"/>
+ </skills>
+ </npc>
</list>
\ No newline at end of file
Index: data/html/mods/Faction/delevel.htm
===================================================================
--- data/html/mods/Faction/delevel.htm (revision 0)
+++ data/html/mods/Faction/delevel.htm (working copy)
@@ -0,0 +1,15 @@
+<html><title>Faction Manager</title>
+<body>
+
+<center>
+
+<font color="LEVEL">Delevel Services</font><br>
+<br>
+
+<a action="bypass -h npc_%objectId%_delevel">Delevel Me!</a><br>
+<br>
+</center>
+
+</body>
+
+</html>
Index: data/html/mods/Faction/faction.htm
===================================================================
--- data/html/mods/Faction/faction.htm (revision 0)
+++ data/html/mods/Faction/faction.htm (working copy)
@@ -0,0 +1,26 @@
+<html><title>Faction Manager</title>
+<body>
+
+<center>
+
+<font color="LEVEL">Choose Your Faction</font><br>
+<br>
+
+<a action="bypass -h npc_%objectId%_setffaction">Join The First Faction</a><br>
+<br>
+<a action="bypass -h npc_%objectId%_setsfaction">Join The Second Faction</a><br>
+<br>
+<br>
+<font color="LEVEL">Other Services</font><br>
+<br>
+<a action="bypass -h npc_%objectId%_setnoblesse">Gain Noblesse Status</a><br>
+<br>
+<a action="bypass -h npc_%objectId%_Link Faction/levelup.htm">Level Up Services</a><br>
+<br>
+<a action="bypass -h npc_%objectId%_Link Faction/delevel.htm">DeLevel Services</a><br>
+<br>
+</center>
+
+</body>
+
+</html>
Index: data/html/mods/Faction/levelup.htm
===================================================================
--- data/html/mods/Faction/levelup.htm (revision 0)
+++ data/html/mods/Faction/levelup.htm (working copy)
@@ -0,0 +1,15 @@
+<html><title>Faction Manager</title>
+<body>
+
+<center>
+
+<font color="LEVEL">Level Up Services</font><br>
+<br>
+
+<a action="bypass -h npc_%objectId%_levelup">Level Me Up!</a><br>
+<br>
+</center>
+
+</body>
+
+</html>
Index: data/html/mods/Faction/levelup.htm
===================================================================
--- data/html/mods/Faction/levelup.htm (revision 0)
+++ data/html/mods/Faction/levelup.htm (working copy)
@@ -0,0 +1,15 @@
+<html><title>Faction Manager</title>
+<body>
+
+<center>
+
+<font color="LEVEL">Level Up Services</font><br>
+<br>
+
+<a action="bypass -h npc_%objectId%_levelup">Level Me Up!</a><br>
+<br>
+</center>
+
+</body>
+
+</html>
Index: sql/characters.sql
===================================================================
--- sql/characters.sql (revision 5)
+++ sql/characters.sql (working copy)
@@ -54,6 +54,8 @@
`clan_join_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0,
`clan_create_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0,
`death_penalty_level` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
+ `ffaction` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `sfaction` TINYINT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (obj_Id),
KEY `clanid` (`clanid`)
);
\ No newline at end of file