Al conseguir 100 pvp, te da un tatoo que aumenta tus stats. Facil de editar.
CitarConfig.java
+
+ /** Fighter Tattoo */
+ public static boolean FIGHTER_TATTOO_ENABLE;
+ public static int PVP_COUNT;
+ public static int TATTOO_FIGHTER_ID;
+
+ /** Fighter Tattoo */
+ public static boolean MAGE_TATTOO_ENABLE;
+ public static int PVP_COUNT1;
+ public static int TATTOO_MAGE_ID;
+
+
+ /** Fighter Tattoo */
+ FIGHTER_TATTOO_ENABLE = customs.getProperty("FighterTattooEnable", false);
+ PVP_COUNT = customs.getProperty("PvpKillsCount", 100);
+ TATTOO_FIGHTER_ID = customs.getProperty("FighterTattooId", 32);
+
+ /** Mage Tattoo */
+ MAGE_TATTOO_ENABLE = customs.getProperty("MageTattooEnable", false);
+ PVP_COUNT1 = customs.getProperty("PvpKillsCount", 100);
+ TATTOO_MAGE_ID = customs.getProperty("PvpKillsCount", 33);
+
CitarL2PcInstance.java
public L2GameClient getClient()
{
return _client;
}
public void setClient(L2GameClient client)
{
_client = client;
}
+
+ // Fighter Tattoo //
+
+ /**
+ * @param pvpKillCount
+ */
+ public void addItem(int pvpKillCount)
+ {
+ if(Config.FIGHTER_TATTOO_ENABLE)
+ {
+ if (pvpKillCount == Config.PVP_COUNT)
+ {
+ addItem(Config.TATTOO_FIGHTER_ID);
+ }
+ }
+ }
+
+ // Mage Tattoo //
+ /**
+ * @param pvpKillCountMage
+ */
+ private void addItemMage(int pvpKillCountMage)
+ {
+ if(Config.MAGE_TATTOO_ENABLE)
+ {
+ if (pvpKillCountMage == Config.PVP_COUNT1)
+ {
+ addItem(Config.TATTOO_MAGE_ID);
+ sendMessage("Congratulations! 100 PvP Kills! You won Custom Tattoo's.");
+ }
+ }
+ }
+
// Add PvP point to attacker.
setPvpKills(getPvpKills() + 1);
+ addItem(getPvpKills());
+ addItemMage(getPvpKills());
+
Citarconfig.properties
# Custom Tattoo Fighter/Mage.
# Default: False.
# Default: 100 Pvp Kills.
FighterTattooEnable = false
PvpKillsCount = 100
FighterTattooId = 492
MageTattooEnable = false
PvpKillsCount = 100
MagerTattooId = 493
CitarData/stats/armor/0400-0499.xml
<item id='492' name="Tattoo of Soul">
<for>
<set val='500' order='0x010' stat='pAtk'/>
<set val='300' order='0x010' stat='pAtkSpd'/>
<set val='15' order='0x010' stat='rCrit'/>
<add val='100' order='0x10' stat='pDef'/>
<add val='50' order='0x010' stat='runSpd'/>
<add val='100' order='0x10' stat='mDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='493' name="Tattoo of Avadon">
<for>
<set val='500' order='0x010' stat='mAtk'/>
<set val='300' order='0x010' stat='mAtkSpd'/>
<set val='15' order='0x010' stat='mCrit'/>
<add val='50' order='0x010' stat='runSpd'/>
<add val='100' order='0x10' stat='pDef'/>
<add val='100' order='0x10' stat='mDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>