Updated supportmagic bypass handler.
This commit is contained in:
parent
cbd54fba8e
commit
3c4449a121
@ -1,10 +1,10 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
If you need advice, please do not hesitate to ask me! I'll try my very best to help you.<br>
|
||||
If you are in need of advice, please do not hesitate to ask. I will give you what guidance I can.<br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 1">Ask for advice.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NpcLocationInfo">NPC location information.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/BlessingOfProtection.htm">Receive blessing of protection.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 12">Ask about the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieTravelToken">Teleport using the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">Check list of available support magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask for help with a newbie item.</a>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">Receive help from beneficial magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask about the novice characters.</a>
|
||||
</body></html>
|
@ -6,5 +6,5 @@ Don't hesitate to tell me if you require assistance. I can teach you about a num
|
||||
<a action="bypass -h npc_%objectId%_Chat 12">Ask about the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieTravelToken">Teleport using the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">Receive help from beneficial magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask for help with a newbie item.</a>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask about the novice characters.</a>
|
||||
</body></html>
|
@ -1,10 +1,10 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
If you need advice, do not hesitate to ask me! I will do my very best to help you.<br>
|
||||
If you are in need of advice, please do not hesitate to ask. I will give you what guidance I can.<br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 1">Ask for advice.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NpcLocationInfo">NPC Location Information.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/BlessingOfProtection.htm">Receive blessing of protection.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 12">Ask about the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieTravelToken">Teleport using the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">Receive help from beneficial magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask for help with a newbie item.</a>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask about the novice characters.</a>
|
||||
</body></html>
|
@ -1,10 +1,10 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
Can I help you with anything? Eh? Well, then, what would you like to know?<br>
|
||||
Is there anything I can help you with? What do you want to know?<br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 1">Ask for advice.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NpcLocationInfo">NPC Location Information.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/BlessingOfProtection.htm">Receive blessing of protection.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 12">Ask about the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieTravelToken">Teleport using the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">Receive help from beneficial magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask for help with a newbie item.</a>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask about the novice characters.</a>
|
||||
</body></html>
|
@ -6,5 +6,5 @@ You wish to grow strong and powerful, Eh? Then listen carefully; I will advice y
|
||||
<a action="bypass -h npc_%objectId%_Chat 12">Ask about the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieTravelToken">Teleport using the Newbie Travel Token.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">Receive help from beneficial magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask for help with a newbie item.</a>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Ask about the novice characters.</a>
|
||||
</body></html>
|
@ -1,11 +1,9 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
A class transfer permits a character who has reached a certain level of experience and ability to acquire a new, higher-level occupation.<br>
|
||||
In order to complete the class transfer, you must undertake a <font color="LEVEL">Class Change Quest</font>. Only characters who are at least level 19 may perform this quest; the class transfer takes effect once the quest is completed and the character reaches level 20. Choose your new occupation wisely, because you cannot undue it once the class transfer is completed.<br>
|
||||
To hear detailed information about where you can receive a Class Transfer Quest, which occupations you can choose, and more, you should speak to the appropriate Grand Master.<br>
|
||||
Fighters and Elven Fighters should visit Grand Master Ramos of the Fighters Guild.<br>
|
||||
Mages and Elven Mages should visit High Priestess Levian of the Temple.<br>
|
||||
Dark Fighters and Dark Mages should visit Grand Master Xenos of the Dark Elf Guild.<br>
|
||||
Orc Fighters and Orc Mages should visit High Prefect Osborn.<br>
|
||||
Dwarf Fighters should visit Warehouse Chief Moke or Head Blacksmith Tapoy.<br>
|
||||
Kamael Soldiers should visit Grand Master Yeniche of the Kamael Guild.
|
||||
Once you achieve a certain level of ability and experience you may advance to a higher class through the class transfer system.<br>
|
||||
To accomplish a class transfer you must fulfill a <font color="LEVEL">class transfer quest</font>. These quests can be undertaken by characters of level 19 and above. After fulfilling the quest and achieving level 20 or higher, class transfer can be completed. At the time of class transfer you will choose one of many available professions. Once made, your decision is irreversible. Make your choice carefully.<br>
|
||||
I know all of the teachers in this area for any profession you might choose.<br>
|
||||
Human and Elven Fighters are trained by Grand Master Ramos of the Fighters Guild.<br>
|
||||
Human and Elven Mystics learn from High Priestess Levian at the temple. Dark Fighters and Dark Mystics go to Grand Master Xenos of the Dark Elf Guild.<br>
|
||||
Orc Fighters and Mystics are taught by High Prefect Osborn.<br>
|
||||
Dwarven Fighters train with Warehouse Chief Moke at his warehouse or Head Blacksmith Tapoy at his blacksmith shop.
|
||||
</body></html>
|
@ -1,9 +1,7 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
May Einhasad's light protect you! It is my responsibility to advise new adventurers.<br>
|
||||
The power of evil is growing day by day, we hear tales of unending wars, and -- most ominous of all -- even the power of Dawn and Dusk struggle for supremacy... You will need all your strength and skill to survive in such a dangerous world. Please pay heed to my advice...<br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 1">Ask for advice about class transfers.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">See the list of available supplemental magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagicServitor.htm">See the list of the supplemental magic for servitors.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/BlessingOfProtection.htm">Receive Blessing of Protection.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Receive support with a Newbie item.</a>
|
||||
May the divine blessing of light be upon you... I advise young adventurers like yourself.<br>
|
||||
The evil of the creatures in this world knows no bounds! Unprecedented violence and hatred have led to endless wars; ominous struggles in which dawn and dusk mingle in the sky... Power and wisdom are essential if you are to survive in such a dangerous world. You must heed my words carefully...<br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 1">"Tell me about class transfers."</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">"Give me some support magic."</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">"Tell me about novice characters."</a>
|
||||
</body></html>
|
@ -1,11 +1,10 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
A class transfer permits a character who has reached a certain level of experience and ability to acquire a new, higher-level occupation.<br>
|
||||
In order to complete the class transfer, you must undertake a <font color="LEVEL">Class Change Quest</font>. Only characters who are at least level 19 may perform this quest; the class transfer takes effect once the quest is completed and the character reaches level 20. Choose your new occupation wisely, because you cannot undue it once the class transfer is completed.<br>
|
||||
To hear detailed information about where you can receive a Class Transfer Quest, which occupations you can choose, and more, you should speak to the appropriate Grand Master.<br>
|
||||
Fighters and Elven Fighters should visit Grand Master Rains of the Fighters Guild.<br>
|
||||
Mages and Elven Mages should visit High Priest Raymond of the Temple.<br>
|
||||
Dark Fighters and Dark Mages should visit Grand Master Tobias of the Dark Elf Guild.<br>
|
||||
Orc Fighters and Orc Mages should visit High Prefect Drikus.<br>
|
||||
Dwarf Fighters should visit Warehouse Chief Rikadio or Head Blacksmith Mendio.<br>
|
||||
Kamael Soldiers should visit Grand Master Gershwin of the Kamael Guild.
|
||||
Once you achieve a certain level of ability and experience you may advance to a higher class through the class transfer system.<br>
|
||||
To accomplish a class transfer you must fulfill a <font color="LEVEL">class transfer quest</font>. These quests can be undertaken by characters of level 19 and above. After fulfilling the quest and achieving level 20 or higher, class transfer can be completed. At the time of class transfer you will choose one of many available professions. Once made, your decision is irreversible. Make your choice carefully.<br>
|
||||
I know all of the teachers in this area for any profession you might choose.<br>
|
||||
Human and Elven Fighters train with Grand Master Rains of the Fighters Guild.<br>
|
||||
Human and Elven Mystics are taught by High Priest Raymond at the temple.<br>
|
||||
Dark Fighters and Dark Mystics go to Grand Master Tobias of the Dark Elf Guild.<br>
|
||||
Orc Fighters and Mystics are taught by High Prefect Drikus.<br>
|
||||
Dwarven Fighters are trained by Warehouse Chief Rikadio at his warehouse or Head Blacksmith Mendio at his blacksmith shop.
|
||||
</body></html>
|
@ -1,9 +1,7 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
May blessing of light be upon you! It is my responsibility to help beginning adventurers adjust.<br>
|
||||
This world is getting dangerous! Violent spirits, unending wars, even this unnatural struggle between Dawn and Dusk! You will need both strength and wisdom to survive. Please remember my advice...<br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 1">Ask for advice about class transfers.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">See the list of available supplemental magic.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagicServitor.htm">See the list of supplemental magic for servitors.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/BlessingOfProtection.htm">Receive Blessing of Protection.</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">Receive support with a Newbie item.</a>
|
||||
May the blessing of light be upon you! I enjoy helping young adventurers like yourself.<br>
|
||||
The evil of the creatures in this world knows no bounds! Unprecedented violence and hatred have led to endless wars; ominous struggles in which dawn and dusk mingle in the sky... Power and wisdom are essential if you are to survive in such a dangerous world. You must heed my words carefully...<br>
|
||||
<a action="bypass -h npc_%objectId%_Chat 1">"Tell me about class transfers."</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Link default/SupportMagic.htm">"Give me some support magic."</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest NewbieCoupons">"Tell me about novice characters."</a>
|
||||
</body></html>
|
@ -1,12 +1,11 @@
|
||||
<html><body>
|
||||
You are eligible to receive the following supplemental magic:<br>
|
||||
Levels 6-75: Wind Walk<br1>
|
||||
Levels 6-75: Shield<br1>
|
||||
Levels 6-75: Magic Barrier<br1>
|
||||
Levels 6-75: Bless the Body (Fighter), Bless the Soul (Wizard)<br1>
|
||||
Levels 6-75: Vampiric Rage (Fighter), Acumen (Wizard)<br1>
|
||||
Levels 6-75: Regeneration (Fighter), Concentration (Wizard)<br1>
|
||||
Levels 6-75: Haste (effect increases after level 40), Empower (Wizard)<br1>
|
||||
Levels 16-34: Life Cubic<br>
|
||||
Levels 8-39: Wind Walk<br1>
|
||||
Levels 11-39: Shield<br1>
|
||||
Levels 16-36: Life Cubic<br1>
|
||||
Levels 12-38: Bless the Body (Fighter), Bless the Soul (Wizard)<br1>
|
||||
Levels 13-38: Vampiric Rage (Fighter), Acumen (Wizard)<br1>
|
||||
Levels 14-38: Regeneration (Fighter), Concentration (Wizard)<br1>
|
||||
Levels 15-37: Haste (Fighter), Empower (Wizard)<br1>
|
||||
<a action="bypass -h npc_%objectId%_SupportMagic">Receive supplemental magic.</a>
|
||||
</body></html>
|
@ -1,3 +1,3 @@
|
||||
<html><body>
|
||||
Support magic is only available for characters who are <font color="LEVEL">level 75 or below</font>.
|
||||
Support magic is only available for characters who are <font color="LEVEL">level 39 or below</font>.
|
||||
</body></html>
|
@ -1,3 +1,3 @@
|
||||
<html><body>Newbie Guide:<br>
|
||||
You do not yet require Support Magic. Come see me again when you reach level 6.
|
||||
You do not yet require Support Magic. Come see me again when you reach level 8.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>
|
||||
Only servitors can receive this Support Magic. If you do not have a servitor, you cannot access these spells.
|
||||
</body></html>
|
@ -1,6 +0,0 @@
|
||||
<html><body>
|
||||
Your servitor is eligible to receive the supplemental magic listed below. These spells do not benefit pets.<br>
|
||||
Eligibility is determined by the master's level.<br>
|
||||
Levels 6-75: Wind Walk, Shield, Magic Barrier, Bless the Body, Bless the Soul, Vampiric Rage, Acumen, Regeneration, Concentration, Haste (increased effect after level 40), Empower<br>
|
||||
<a action="bypass -h npc_%objectId%_SupportMagicServitor">Receive supplemental magic for servitor.</a>
|
||||
</body></html>
|
@ -51,7 +51,6 @@ public class Link implements IBypassHandler
|
||||
VALID_LINKS.add("common/welcomeback003.htm");
|
||||
VALID_LINKS.add("default/BlessingOfProtection.htm");
|
||||
VALID_LINKS.add("default/SupportMagic.htm");
|
||||
VALID_LINKS.add("default/SupportMagicServitor.htm");
|
||||
VALID_LINKS.add("fisherman/fishing_championship.htm");
|
||||
VALID_LINKS.add("fortress/foreman.htm");
|
||||
VALID_LINKS.add("olympiad/hero_main2.htm");
|
||||
|
@ -16,64 +16,23 @@
|
||||
*/
|
||||
package handlers.bypasshandlers;
|
||||
|
||||
import org.l2jmobius.gameserver.data.xml.SkillData;
|
||||
import org.l2jmobius.gameserver.enums.CategoryType;
|
||||
import org.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import org.l2jmobius.gameserver.model.actor.Creature;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.Player;
|
||||
import org.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
|
||||
public class SupportMagic implements IBypassHandler
|
||||
{
|
||||
private static final String[] COMMANDS =
|
||||
{
|
||||
"supportmagicservitor",
|
||||
"supportmagic"
|
||||
};
|
||||
|
||||
// Buffs
|
||||
private static final SkillHolder HASTE_1 = new SkillHolder(4327, 1);
|
||||
private static final SkillHolder HASTE_2 = new SkillHolder(5632, 1);
|
||||
private static final SkillHolder CUBIC = new SkillHolder(4338, 1);
|
||||
private static final SkillHolder[] FIGHTER_BUFFS =
|
||||
{
|
||||
new SkillHolder(4322, 1), // Wind Walk
|
||||
new SkillHolder(4323, 1), // Shield
|
||||
new SkillHolder(5637, 1), // Magic Barrier
|
||||
new SkillHolder(4324, 1), // Bless the Body
|
||||
new SkillHolder(4325, 1), // Vampiric Rage
|
||||
new SkillHolder(4326, 1), // Regeneration
|
||||
};
|
||||
private static final SkillHolder[] MAGE_BUFFS =
|
||||
{
|
||||
new SkillHolder(4322, 1), // Wind Walk
|
||||
new SkillHolder(4323, 1), // Shield
|
||||
new SkillHolder(5637, 1), // Magic Barrier
|
||||
new SkillHolder(4328, 1), // Bless the Soul
|
||||
new SkillHolder(4329, 1), // Acumen
|
||||
new SkillHolder(4330, 1), // Concentration
|
||||
new SkillHolder(4331, 1), // Empower
|
||||
};
|
||||
private static final SkillHolder[] SUMMON_BUFFS =
|
||||
{
|
||||
new SkillHolder(4322, 1), // Wind Walk
|
||||
new SkillHolder(4323, 1), // Shield
|
||||
new SkillHolder(5637, 1), // Magic Barrier
|
||||
new SkillHolder(4324, 1), // Bless the Body
|
||||
new SkillHolder(4325, 1), // Vampiric Rage
|
||||
new SkillHolder(4326, 1), // Regeneration
|
||||
new SkillHolder(4328, 1), // Bless the Soul
|
||||
new SkillHolder(4329, 1), // Acumen
|
||||
new SkillHolder(4330, 1), // Concentration
|
||||
new SkillHolder(4331, 1), // Empower
|
||||
};
|
||||
|
||||
// Levels
|
||||
private static final int LOWEST_LEVEL = 6;
|
||||
private static final int HIGHEST_LEVEL = 75;
|
||||
private static final int CUBIC_LOWEST = 16;
|
||||
private static final int CUBIC_HIGHEST = 34;
|
||||
private static final int HASTE_LEVEL_2 = 40;
|
||||
private static final int LOWEST_LEVEL = 8;
|
||||
private static final int HIGHEST_LEVEL = 39;
|
||||
|
||||
@Override
|
||||
public boolean useBypass(String command, Player player, Creature target)
|
||||
@ -85,24 +44,16 @@ public class SupportMagic implements IBypassHandler
|
||||
|
||||
if (command.equalsIgnoreCase(COMMANDS[0]))
|
||||
{
|
||||
makeSupportMagic(player, (Npc) target, true);
|
||||
}
|
||||
else if (command.equalsIgnoreCase(COMMANDS[1]))
|
||||
{
|
||||
makeSupportMagic(player, (Npc) target, false);
|
||||
makeSupportMagic(player, (Npc) target);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void makeSupportMagic(Player player, Npc npc, boolean isSummon)
|
||||
private void makeSupportMagic(Player player, Npc npc)
|
||||
{
|
||||
final int level = player.getLevel();
|
||||
if (isSummon && !player.hasServitor())
|
||||
{
|
||||
npc.showChatWindow(player, "data/html/default/SupportMagicNoSummon.htm");
|
||||
return;
|
||||
}
|
||||
else if (level > HIGHEST_LEVEL)
|
||||
if (level > HIGHEST_LEVEL)
|
||||
{
|
||||
npc.showChatWindow(player, "data/html/default/SupportMagicHighLevel.htm");
|
||||
return;
|
||||
@ -118,53 +69,67 @@ public class SupportMagic implements IBypassHandler
|
||||
return;
|
||||
}
|
||||
|
||||
if (isSummon)
|
||||
{
|
||||
npc.setTarget(player.getSummon());
|
||||
for (SkillHolder skill : SUMMON_BUFFS)
|
||||
{
|
||||
npc.doCast(skill.getSkill());
|
||||
}
|
||||
|
||||
if (level >= HASTE_LEVEL_2)
|
||||
{
|
||||
npc.doCast(HASTE_2.getSkill());
|
||||
}
|
||||
else
|
||||
{
|
||||
npc.doCast(HASTE_1.getSkill());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
npc.setTarget(player);
|
||||
if (player.isInCategory(CategoryType.BEGINNER_MAGE))
|
||||
{
|
||||
for (SkillHolder skill : MAGE_BUFFS)
|
||||
if ((player.getLevel() >= 8) && (player.getLevel() <= 39))
|
||||
{
|
||||
npc.doCast(skill.getSkill());
|
||||
npc.doCast(SkillData.getInstance().getSkill(4322, 1)); // WindWalk
|
||||
}
|
||||
if ((player.getLevel() >= 11) && (player.getLevel() <= 39))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4323, 1)); // Shield
|
||||
}
|
||||
if ((player.getLevel() >= 16) && (player.getLevel() <= 36))
|
||||
{
|
||||
player.doSimultaneousCast(SkillData.getInstance().getSkill(4338, 1)); // Life Cubic
|
||||
}
|
||||
if ((player.getLevel() >= 12) && (player.getLevel() <= 38))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4328, 1)); // Bless the Soul
|
||||
}
|
||||
if ((player.getLevel() >= 13) && (player.getLevel() <= 38))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4329, 1)); // Acumen
|
||||
}
|
||||
if ((player.getLevel() >= 14) && (player.getLevel() <= 38))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4330, 1)); // Concentration
|
||||
}
|
||||
if ((player.getLevel() >= 15) && (player.getLevel() <= 37))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4331, 1)); // Empower
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (SkillHolder skill : FIGHTER_BUFFS)
|
||||
if ((player.getLevel() >= 8) && (player.getLevel() <= 39))
|
||||
{
|
||||
npc.doCast(skill.getSkill());
|
||||
npc.doCast(SkillData.getInstance().getSkill(4322, 1)); // WindWalk
|
||||
}
|
||||
|
||||
if (level >= HASTE_LEVEL_2)
|
||||
if ((player.getLevel() >= 11) && (player.getLevel() <= 39))
|
||||
{
|
||||
npc.doCast(HASTE_2.getSkill());
|
||||
npc.doCast(SkillData.getInstance().getSkill(4323, 1)); // Shield
|
||||
}
|
||||
else
|
||||
if ((player.getLevel() >= 16) && (player.getLevel() <= 36))
|
||||
{
|
||||
npc.doCast(HASTE_1.getSkill());
|
||||
player.doSimultaneousCast(SkillData.getInstance().getSkill(4338, 1)); // Life Cubic
|
||||
}
|
||||
}
|
||||
|
||||
if ((level >= CUBIC_LOWEST) && (level <= CUBIC_HIGHEST))
|
||||
if ((player.getLevel() >= 12) && (player.getLevel() <= 38))
|
||||
{
|
||||
player.doSimultaneousCast(CUBIC.getSkill());
|
||||
npc.doCast(SkillData.getInstance().getSkill(4324, 1)); // Bless the Body
|
||||
}
|
||||
if ((player.getLevel() >= 13) && (player.getLevel() <= 38))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4325, 1)); // Vampiric Rage
|
||||
}
|
||||
if ((player.getLevel() >= 14) && (player.getLevel() <= 38))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4326, 1)); // Regeneration
|
||||
}
|
||||
if ((player.getLevel() >= 15) && (player.getLevel() <= 37))
|
||||
{
|
||||
npc.doCast(SkillData.getInstance().getSkill(4327, 1)); // Haste
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,7 @@ What is done
|
||||
-Fixed skill enchanting.
|
||||
-Adjusted MagicSkillUse packet.
|
||||
-Fixed item enchanting.
|
||||
-Updated supportmagic bypass handler.
|
||||
|
||||
TODO: Important (project unusable due to the following)
|
||||
-Adjust all skills according to Interlude description.
|
||||
|
Loading…
Reference in New Issue
Block a user