Jump to content

Recommended Posts

Posted (edited)

hello I bring you this npc plus a mobius mod of a buff with exprate, sprate, droprate, spoilrate

 

 

code:https://pastebin.com/L2MQckk3

 

 

edit in config/main/l2jorion

 

# Player gets pvp flag when attacks these MONSTERS or RAID BOSSES by ID
# Example.: RaidFlagIDs = 21420, 20000, 35645
# Get PvP flag from?
PvPFlagIDs = 34156
# or get pvp flag from all raid bosses?
GetPvPFlagFromRaidBosses = True
# from champions?
GetPvPFlagFromChampions = False

 

xml buff

 

<skill id="2624" levels="1" name="Festival Buff">
  <set name="mpConsume" val="2"/>
  <set name="target" val="TARGET_ONE"/>
  <set name="reuseDelay" val="6"/>
  <set name="hitTime" val="4000"/>
  <set name="skillType" val="BUFF"/>
  <set name="isMagic" val="true"/>
  <set name="isDebuff" val="true"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="castRange" val="400"/>
  <set name="effectRange" val="400"/>
  <set name="aggroPoints" val="495"/>
  <for>
    <effect count="1" name="Buff" time="360" val="0" stackOrder="1.3" stackType="FestivalSpoil">
      <mul order="0x30" stat="xpGain" val="1.2"/>   <!--   +20% XP   -->
      <mul order="0x30" stat="spGain" val="1.2"/>   <!--   +20% SP   -->
      <mul order="0x30" stat="dropRate" val="1.1"/>   <!--   +10% Drop Rate   -->
       <mul order="0x30" stat="spoilRate" val="1.1"/>   <!--   +10% Spoil Rate   -->    
    </effect>
  </for>
</skill>

 

 

 

Config

#=============================================================
#   Clan Buff Strongold
#=============================================================

ClanBuffId = 2624

#=============================================================
#   Spawn Npc Stronghold in world
#=============================================================
ClanStrongholdSpawnEnable = True

 

 

npc

34156    32068    Clan Stronghold Device    1        0    NPC.a_mageguild_master_MHuman    10    33    80    male    L2ClanStronghold    0    64816    1493    11,85    2,78    40    43    30    21    20    10    0    0    1314    1916    780    935    278    0    333    0    0    0    0    0        0    1    0    LAST_HIT    0

 

 

html of the npc data/html/mods

<html><body>
<title>Clan Stronghold Device</title>
<br>
Clan Stronghold Device:<br>
Solo <font color="LEVEL">Podra Ser Capturado Si El Npc No Tiene Clan. Si El Npc Esta Capturado Por Otro Clan Tendras Que Matarme. Para Poder Capturarme.</font> Cuando Me Captures Podras Sentir El Clan Stronghold Effect Un Buffs Que Te Dara un 20% De EXP - 20% SP - 5% DROPRATE.<br>

<br>
<br>
<center>


<td><div align="center"><button value="Capturar" action="bypass -h npc_%objectId%_capturar" width=75 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton" width=67 height=19"></div></td>
</body></html>

 

 

 

 

 

Edited by tensador3
  • Like 2
Posted (edited)
3 hours ago, tensador3 said:

hello I bring you this npc plus a mobius mod of a buff with exprate, sprate, droprate, spoilrate

 

 

code:https://pastebin.com/L2MQckk3

 

 

edit in config/main/l2jorion

 

# Player gets pvp flag when attacks these MONSTERS or RAID BOSSES by ID
# Example.: RaidFlagIDs = 21420, 20000, 35645
# Get PvP flag from?
PvPFlagIDs = 34156
# or get pvp flag from all raid bosses?
GetPvPFlagFromRaidBosses = True
# from champions?
GetPvPFlagFromChampions = False

 

xml buff

 

<skill id="2624" levels="1" name="Festival Buff">
  <set name="mpConsume" val="2"/>
  <set name="target" val="TARGET_ONE"/>
  <set name="reuseDelay" val="6"/>
  <set name="hitTime" val="4000"/>
  <set name="skillType" val="BUFF"/>
  <set name="isMagic" val="true"/>
  <set name="isDebuff" val="true"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="castRange" val="400"/>
  <set name="effectRange" val="400"/>
  <set name="aggroPoints" val="495"/>
  <for>
    <effect count="1" name="Buff" time="360" val="0" stackOrder="1.3" stackType="FestivalSpoil">
      <mul order="0x30" stat="xpGain" val="1.2"/>   <!--   +20% XP   -->
      <mul order="0x30" stat="spGain" val="1.2"/>   <!--   +20% SP   -->
      <mul order="0x30" stat="dropRate" val="1.1"/>   <!--   +10% Drop Rate   -->
       <mul order="0x30" stat="spoilRate" val="1.1"/>   <!--   +10% Spoil Rate   -->    
    </effect>
  </for>
</skill>

 

 

 

Config

#=============================================================
#   Clan Buff Strongold
#=============================================================

ClanBuffId = 2624

#=============================================================
#   Spawn Npc Stronghold in world
#=============================================================
ClanStrongholdSpawnEnable = True

 

 

npc

34156    32068    Clan Stronghold Device    1        0    NPC.a_mageguild_master_MHuman    10    33    80    male    L2ClanStronghold    0    64816    1493    11,85    2,78    40    43    30    21    20    10    0    0    1314    1916    780    935    278    0    333    0    0    0    0    0        0    1    0    LAST_HIT    0

 

 

html of the npc data/html/mods

<html><body>
<title>Clan Stronghold Device</title>
<br>
Clan Stronghold Device:<br>
Solo <font color="LEVEL">Podra Ser Capturado Si El Npc No Tiene Clan. Si El Npc Esta Capturado Por Otro Clan Tendras Que Matarme. Para Poder Capturarme.</font> Cuando Me Captures Podras Sentir El Clan Stronghold Effect Un Buffs Que Te Dara un 20% De EXP - 20% SP - 5% DROPRATE.<br>

<br>
<br>
<center>


<td><div align="center"><button value="Capturar" action="bypass -h npc_%objectId%_capturar" width=75 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton" width=67 height=19"></div></td>
</body></html>

 

 

 

 

 

Good morning my friend, nice post, thanks for sharing with us.
And this server there with the items and etc shown in the video, can you post it for us?

Edited by maverickbomber
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock