Addition of basic Fafurion AI.
This commit is contained in:
parent
00025ff4d1
commit
348e934b07
@ -25,4 +25,5 @@ INSERT IGNORE INTO `grandboss_data` (`boss_id`,`loc_x`,`loc_y`,`loc_z`,`heading`
|
|||||||
(29336, 185080, -12613, -5499, 16550, 556345880, 86847), -- Anakim
|
(29336, 185080, -12613, -5499, 16550, 556345880, 86847), -- Anakim
|
||||||
(29348, 185062, -9605, -5499, 15640, 486021997, 79600), -- Lilith
|
(29348, 185062, -9605, -5499, 15640, 486021997, 79600), -- Lilith
|
||||||
(26124, 0, 0, 0, 0, 13945521, 50920), -- Kelbim
|
(26124, 0, 0, 0, 0, 13945521, 50920), -- Kelbim
|
||||||
(29305, 0, 0, 0, 0, 589355368, 51696); -- Helios
|
(29305, 0, 0, 0, 0, 589355368, 51696), -- Helios
|
||||||
|
(29364, 180712, 210664, -14823, 22146, 412872295, 124077); -- Fafurion
|
||||||
|
@ -184,3 +184,25 @@ HeliosMinPlayers = 70
|
|||||||
|
|
||||||
# Minimum players Level for enter to Helios. Retail: 102
|
# Minimum players Level for enter to Helios. Retail: 102
|
||||||
HeliosMinPlayerLvl = 99
|
HeliosMinPlayerLvl = 99
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
# Fafurion
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Delay of appearance time of Fafurion. Value is minute. Range 3-60
|
||||||
|
FafurionWaitTime = 10
|
||||||
|
|
||||||
|
# Interval time of Fafurion. Value is hour. Range 1-480
|
||||||
|
IntervalOfFafurionSpawn = 264
|
||||||
|
|
||||||
|
# Random interval. Range 1-192
|
||||||
|
RandomOfFafurionSpawn = 72
|
||||||
|
|
||||||
|
# Maximum count of players for enter to 200. Retail: 200
|
||||||
|
FafurionMaxPlayers = 200
|
||||||
|
|
||||||
|
# Minimal count of players for enter to Fafurion. Retail: 49
|
||||||
|
FafurionMinPlayers = 49
|
||||||
|
|
||||||
|
# Minimum players Level for enter to Fafurion. Retail: 105
|
||||||
|
FafurionMinPlayerLvl = 105
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align=center><button action="bypass -h admin_move_to 92771 161909 3494" value="Helios" width=120 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
<td align=center><button action="bypass -h admin_move_to 92771 161909 3494" value="Helios" width=120 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
<td align=center><button action="bypass -h admin_move_to 182048 247743 -3197" value="Fafurion" width=120 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
<td align=center><button action="bypass -h admin_move_to 180712 210664 -14823" value="Fafurion" width=120 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
|
5
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/34488-01.html
vendored
Normal file
5
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/34488-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Heart of Tsunami:<br>
|
||||||
|
(A thundering voice speaks in your head.)<br>
|
||||||
|
Do you dare challenge Water Dragon Fafurion?<br>
|
||||||
|
(Between 49 and 200 members can challenge Fafurion together.)
|
||||||
|
</body></html>
|
7
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/34488-02.html
vendored
Normal file
7
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/34488-02.html
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<html><body>Heart of Tsunami:<br>
|
||||||
|
(A thundering voice speaks in your head.)<br>
|
||||||
|
Leave, and<br>
|
||||||
|
prepare yourself<br>
|
||||||
|
to face Fafurion!<br>
|
||||||
|
(You cannot challenge Fafurion at this time.)<br>
|
||||||
|
</body></html>
|
8
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/34488.html
vendored
Normal file
8
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/34488.html
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<html><body>Heart of Tsunami:<br>
|
||||||
|
(A thundering voice speaks in your head.)<br>
|
||||||
|
Do you dare challenge Water Dragon Fafurion?<br>
|
||||||
|
(Between 49 and 200 members can challenge Fafurion together.)<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Fafurion enter_area">"I want to go to Fafurion's Nest."</Button>
|
||||||
|
<!-- <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Fafurion enter_area">"I want to challenge a stronger Fafurion."</Button> -->
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
203
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/Fafurion.java
vendored
Normal file
203
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/Fafurion/Fafurion.java
vendored
Normal file
@ -0,0 +1,203 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package ai.bosses.Fafurion;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.l2jmobius.Config;
|
||||||
|
import com.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||||
|
import com.l2jmobius.gameserver.model.L2Party;
|
||||||
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||||
|
|
||||||
|
import ai.AbstractNpcAI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class Fafurion extends AbstractNpcAI
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int HEART_OF_TSUNAMI = 34488;
|
||||||
|
private static final int FAFURION = 29364;
|
||||||
|
// Item
|
||||||
|
private static final int FONDUS_STONE = 80322;
|
||||||
|
// Locations
|
||||||
|
private static final Location RAID_ENTER_LOC = new Location(180059, 212896, -14727);
|
||||||
|
private static final Location FAFURION_SPAWN_LOC = new Location(180712, 210664, -14823, 22146);
|
||||||
|
// Status
|
||||||
|
private static final int ALIVE = 0;
|
||||||
|
private static final int WAITING = 1;
|
||||||
|
private static final int FIGHTING = 2;
|
||||||
|
private static final int DEAD = 3;
|
||||||
|
// Misc
|
||||||
|
private static final int RAID_DURATION = 5; // hours
|
||||||
|
private static L2Npc bossInstance;
|
||||||
|
|
||||||
|
private Fafurion()
|
||||||
|
{
|
||||||
|
addStartNpc(HEART_OF_TSUNAMI);
|
||||||
|
addTalkId(HEART_OF_TSUNAMI);
|
||||||
|
addFirstTalkId(HEART_OF_TSUNAMI);
|
||||||
|
addKillId(FAFURION);
|
||||||
|
// Unlock
|
||||||
|
final StatsSet info = GrandBossManager.getInstance().getStatsSet(FAFURION);
|
||||||
|
final int status = GrandBossManager.getInstance().getBossStatus(FAFURION);
|
||||||
|
if (status == DEAD)
|
||||||
|
{
|
||||||
|
final long time = info.getLong("respawn_time") - System.currentTimeMillis();
|
||||||
|
if (time > 0)
|
||||||
|
{
|
||||||
|
startQuestTimer("unlock_fafurion", time, null, null);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GrandBossManager.getInstance().setBossStatus(FAFURION, ALIVE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (status != ALIVE)
|
||||||
|
{
|
||||||
|
GrandBossManager.getInstance().setBossStatus(FAFURION, ALIVE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||||
|
{
|
||||||
|
String htmltext = null;
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "unlock_fafurion":
|
||||||
|
{
|
||||||
|
GrandBossManager.getInstance().setBossStatus(FAFURION, ALIVE);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "beginning":
|
||||||
|
{
|
||||||
|
if (GrandBossManager.getInstance().getBossStatus(FAFURION) == WAITING)
|
||||||
|
{
|
||||||
|
GrandBossManager.getInstance().setBossStatus(FAFURION, FIGHTING);
|
||||||
|
bossInstance = addSpawn(FAFURION, FAFURION_SPAWN_LOC.getX(), FAFURION_SPAWN_LOC.getY(), FAFURION_SPAWN_LOC.getZ(), FAFURION_SPAWN_LOC.getHeading(), false, 0, false);
|
||||||
|
startQuestTimer("resetRaid", RAID_DURATION * 60 * 60 * 1000, bossInstance, null);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "resetRaid":
|
||||||
|
{
|
||||||
|
final int status = GrandBossManager.getInstance().getBossStatus(FAFURION);
|
||||||
|
if ((status > ALIVE) && (status < DEAD))
|
||||||
|
{
|
||||||
|
GrandBossManager.getInstance().setBossStatus(FAFURION, ALIVE);
|
||||||
|
npc.deleteMe();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "enter_area":
|
||||||
|
{
|
||||||
|
final int status = GrandBossManager.getInstance().getBossStatus(FAFURION);
|
||||||
|
if (player.isGM())
|
||||||
|
{
|
||||||
|
player.teleToLocation(RAID_ENTER_LOC, true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (((status > ALIVE) && (status < DEAD)) || (status == DEAD))
|
||||||
|
{
|
||||||
|
return "34488-02.html";
|
||||||
|
}
|
||||||
|
if (!player.isInParty())
|
||||||
|
{
|
||||||
|
return "34488-01.html";
|
||||||
|
}
|
||||||
|
final L2Party party = player.getParty();
|
||||||
|
final boolean isInCC = party.isInCommandChannel();
|
||||||
|
final List<L2PcInstance> members = (isInCC) ? party.getCommandChannel().getMembers() : party.getMembers();
|
||||||
|
final boolean isPartyLeader = (isInCC) ? party.getCommandChannel().isLeader(player) : party.isLeader(player);
|
||||||
|
if (!isPartyLeader)
|
||||||
|
{
|
||||||
|
return "34488-02.html";
|
||||||
|
}
|
||||||
|
if ((members.size() < Config.FAFURION_MIN_PLAYERS) || (members.size() > Config.FAFURION_MAX_PLAYERS))
|
||||||
|
{
|
||||||
|
return "34488-01.html";
|
||||||
|
}
|
||||||
|
for (L2PcInstance member : members)
|
||||||
|
{
|
||||||
|
if (member.getLevel() < Config.FAFURION_MIN_PLAYER_LVL)
|
||||||
|
{
|
||||||
|
return "34488-01.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!hasQuestItems(player, FONDUS_STONE))
|
||||||
|
{
|
||||||
|
// TODO: Retail message.
|
||||||
|
player.sendMessage("You need to own a fondus stone.");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
takeItems(player, FONDUS_STONE, 1);
|
||||||
|
for (L2PcInstance member : members)
|
||||||
|
{
|
||||||
|
if ((member.calculateDistance2D(npc) < 1000) && (npc.getId() == HEART_OF_TSUNAMI))
|
||||||
|
{
|
||||||
|
member.teleToLocation(RAID_ENTER_LOC, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (status == ALIVE)
|
||||||
|
{
|
||||||
|
GrandBossManager.getInstance().setBossStatus(FAFURION, WAITING);
|
||||||
|
startQuestTimer("beginning", Config.FAFURION_WAIT_TIME * 60000, null, null);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||||
|
{
|
||||||
|
// TODO: More ids.
|
||||||
|
// switch (npc.getId())
|
||||||
|
// {
|
||||||
|
// case FAFURION:
|
||||||
|
// {
|
||||||
|
GrandBossManager.getInstance().setBossStatus(FAFURION, DEAD);
|
||||||
|
final long respawnTime = (Config.FAFURION_SPAWN_INTERVAL + getRandom(-Config.FAFURION_SPAWN_RANDOM, Config.FAFURION_SPAWN_RANDOM)) * 3600000;
|
||||||
|
final StatsSet info = GrandBossManager.getInstance().getStatsSet(FAFURION);
|
||||||
|
info.set("respawn_time", System.currentTimeMillis() + respawnTime);
|
||||||
|
GrandBossManager.getInstance().setStatsSet(FAFURION, info);
|
||||||
|
startQuestTimer("unlock_fafurion", respawnTime, null, null);
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
return super.onKill(npc, killer, isSummon);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||||
|
{
|
||||||
|
return "34488.html";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args)
|
||||||
|
{
|
||||||
|
new Fafurion();
|
||||||
|
}
|
||||||
|
}
|
@ -2811,7 +2811,64 @@
|
|||||||
<height normal="48" grown="57.6" />
|
<height normal="48" grown="57.6" />
|
||||||
</collision>
|
</collision>
|
||||||
</npc>
|
</npc>
|
||||||
<npc id="29361" level="118" type="L2RaidBoss" name="Fafurion" title="Wrathful Water Dragon">
|
<npc id="29361" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
||||||
|
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||||
|
<race>ETC</race>
|
||||||
|
<sex>FEMALE</sex>
|
||||||
|
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||||
|
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
|
||||||
|
<speed>
|
||||||
|
<walk ground="45" />
|
||||||
|
<run ground="270" />
|
||||||
|
</speed>
|
||||||
|
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
|
||||||
|
<defence physical="405.85106382979" magical="297.0297029703" />
|
||||||
|
</stats>
|
||||||
|
<status attackable="false" />
|
||||||
|
<collision>
|
||||||
|
<radius normal="200" />
|
||||||
|
<height normal="320" />
|
||||||
|
</collision>
|
||||||
|
</npc>
|
||||||
|
<npc id="29362" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
||||||
|
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||||
|
<race>ETC</race>
|
||||||
|
<sex>FEMALE</sex>
|
||||||
|
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||||
|
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
|
||||||
|
<speed>
|
||||||
|
<walk ground="45" />
|
||||||
|
<run ground="270" />
|
||||||
|
</speed>
|
||||||
|
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
|
||||||
|
<defence physical="405.85106382979" magical="297.0297029703" />
|
||||||
|
</stats>
|
||||||
|
<status attackable="false" />
|
||||||
|
<collision>
|
||||||
|
<radius normal="200" />
|
||||||
|
<height normal="320" />
|
||||||
|
</collision>
|
||||||
|
</npc>
|
||||||
|
<npc id="29363" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
||||||
|
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||||
|
<race>ETC</race>
|
||||||
|
<sex>FEMALE</sex>
|
||||||
|
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||||
|
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
|
||||||
|
<speed>
|
||||||
|
<walk ground="45" />
|
||||||
|
<run ground="270" />
|
||||||
|
</speed>
|
||||||
|
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
|
||||||
|
<defence physical="405.85106382979" magical="297.0297029703" />
|
||||||
|
</stats>
|
||||||
|
<status attackable="false" />
|
||||||
|
<collision>
|
||||||
|
<radius normal="200" />
|
||||||
|
<height normal="320" />
|
||||||
|
</collision>
|
||||||
|
</npc>
|
||||||
|
<npc id="29364" level="118" type="L2GrandBoss" name="Fafurion" title="Wrathful Water Dragon">
|
||||||
<race>DRAGON</race>
|
<race>DRAGON</race>
|
||||||
<acquire exp="108452897573760" sp="97607602024" raidPoints="1000" />
|
<acquire exp="108452897573760" sp="97607602024" raidPoints="1000" />
|
||||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||||
@ -2923,63 +2980,6 @@
|
|||||||
</drop>
|
</drop>
|
||||||
</dropLists>
|
</dropLists>
|
||||||
</npc>
|
</npc>
|
||||||
<npc id="29362" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
|
||||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
|
||||||
<race>ETC</race>
|
|
||||||
<sex>FEMALE</sex>
|
|
||||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
|
||||||
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
|
|
||||||
<speed>
|
|
||||||
<walk ground="45" />
|
|
||||||
<run ground="270" />
|
|
||||||
</speed>
|
|
||||||
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
|
|
||||||
<defence physical="405.85106382979" magical="297.0297029703" />
|
|
||||||
</stats>
|
|
||||||
<status attackable="false" />
|
|
||||||
<collision>
|
|
||||||
<radius normal="200" />
|
|
||||||
<height normal="320" />
|
|
||||||
</collision>
|
|
||||||
</npc>
|
|
||||||
<npc id="29363" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
|
||||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
|
||||||
<race>ETC</race>
|
|
||||||
<sex>FEMALE</sex>
|
|
||||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
|
||||||
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
|
|
||||||
<speed>
|
|
||||||
<walk ground="45" />
|
|
||||||
<run ground="270" />
|
|
||||||
</speed>
|
|
||||||
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
|
|
||||||
<defence physical="405.85106382979" magical="297.0297029703" />
|
|
||||||
</stats>
|
|
||||||
<status attackable="false" />
|
|
||||||
<collision>
|
|
||||||
<radius normal="200" />
|
|
||||||
<height normal="320" />
|
|
||||||
</collision>
|
|
||||||
</npc>
|
|
||||||
<npc id="29364" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
|
||||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
|
||||||
<race>ETC</race>
|
|
||||||
<sex>FEMALE</sex>
|
|
||||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
|
||||||
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
|
|
||||||
<speed>
|
|
||||||
<walk ground="45" />
|
|
||||||
<run ground="270" />
|
|
||||||
</speed>
|
|
||||||
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
|
|
||||||
<defence physical="405.85106382979" magical="297.0297029703" />
|
|
||||||
</stats>
|
|
||||||
<status attackable="false" />
|
|
||||||
<collision>
|
|
||||||
<radius normal="200" />
|
|
||||||
<height normal="320" />
|
|
||||||
</collision>
|
|
||||||
</npc>
|
|
||||||
<npc id="29365" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
<npc id="29365" level="85" type="L2Npc" name="Fafurion" title="Wrathful Water Dragon">
|
||||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||||
<race>ETC</race>
|
<race>ETC</race>
|
||||||
|
@ -193,4 +193,7 @@
|
|||||||
<zone name="Helios_Zone" id="210109" type="NoSummonFriendZone" shape="Cylinder" minZ="3400" maxZ="3600" rad="3100" >
|
<zone name="Helios_Zone" id="210109" type="NoSummonFriendZone" shape="Cylinder" minZ="3400" maxZ="3600" rad="3100" >
|
||||||
<node X="91076" Y="160788" />
|
<node X="91076" Y="160788" />
|
||||||
</zone>
|
</zone>
|
||||||
|
<zone name="Fafurion_Zone" id="210110" type="NoSummonFriendZone" shape="Cylinder" minZ="-14500" maxZ="-15500" rad="6000" >
|
||||||
|
<node X="180712" Y="210664" />
|
||||||
|
</zone>
|
||||||
</list>
|
</list>
|
@ -902,6 +902,14 @@ public final class Config
|
|||||||
public static int HELIOS_MIN_PLAYER;
|
public static int HELIOS_MIN_PLAYER;
|
||||||
public static int HELIOS_MIN_PLAYER_LVL;
|
public static int HELIOS_MIN_PLAYER_LVL;
|
||||||
|
|
||||||
|
// Fafurion
|
||||||
|
public static int FAFURION_WAIT_TIME;
|
||||||
|
public static int FAFURION_SPAWN_INTERVAL;
|
||||||
|
public static int FAFURION_SPAWN_RANDOM;
|
||||||
|
public static int FAFURION_MIN_PLAYERS;
|
||||||
|
public static int FAFURION_MAX_PLAYERS;
|
||||||
|
public static int FAFURION_MIN_PLAYER_LVL;
|
||||||
|
|
||||||
// Gracia Seeds Settings
|
// Gracia Seeds Settings
|
||||||
public static int SOD_TIAT_KILL_COUNT;
|
public static int SOD_TIAT_KILL_COUNT;
|
||||||
public static long SOD_STAGE_2_LENGTH;
|
public static long SOD_STAGE_2_LENGTH;
|
||||||
@ -2252,6 +2260,13 @@ public final class Config
|
|||||||
HELIOS_MIN_PLAYER = GrandBossSettings.getInt("HeliosMinPlayers", 70);
|
HELIOS_MIN_PLAYER = GrandBossSettings.getInt("HeliosMinPlayers", 70);
|
||||||
HELIOS_MIN_PLAYER_LVL = GrandBossSettings.getInt("HeliosMinPlayerLvl", 102);
|
HELIOS_MIN_PLAYER_LVL = GrandBossSettings.getInt("HeliosMinPlayerLvl", 102);
|
||||||
|
|
||||||
|
FAFURION_WAIT_TIME = GrandBossSettings.getInt("FafurionWaitTime", 10);
|
||||||
|
FAFURION_SPAWN_INTERVAL = GrandBossSettings.getInt("IntervalOfFafurionSpawn", 264);
|
||||||
|
FAFURION_SPAWN_RANDOM = GrandBossSettings.getInt("RandomOfFafurionSpawn", 72);
|
||||||
|
FAFURION_MIN_PLAYERS = GrandBossSettings.getInt("FafurionMinPlayers", 49);
|
||||||
|
FAFURION_MAX_PLAYERS = GrandBossSettings.getInt("FafurionMaxPlayers", 200);
|
||||||
|
FAFURION_MIN_PLAYER_LVL = GrandBossSettings.getInt("FafurionMinPlayerLvl", 105);
|
||||||
|
|
||||||
// Gracia Seeds
|
// Gracia Seeds
|
||||||
final PropertiesParser GraciaSeedsSettings = new PropertiesParser(GRACIASEEDS_CONFIG_FILE);
|
final PropertiesParser GraciaSeedsSettings = new PropertiesParser(GRACIASEEDS_CONFIG_FILE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user