diff --git a/trunk/dist/game/data/multisell/311262506.xml b/trunk/dist/game/data/multisell/311262506.xml index a8252408fb..2a15231b57 100644 --- a/trunk/dist/game/data/multisell/311262506.xml +++ b/trunk/dist/game/data/multisell/311262506.xml @@ -629,7 +629,7 @@ - + diff --git a/trunk/dist/game/data/scripts/handlers/effecthandlers/MagicalAttack.java b/trunk/dist/game/data/scripts/handlers/effecthandlers/MagicalAttack.java index fe298550f1..d4aab73851 100644 --- a/trunk/dist/game/data/scripts/handlers/effecthandlers/MagicalAttack.java +++ b/trunk/dist/game/data/scripts/handlers/effecthandlers/MagicalAttack.java @@ -104,10 +104,5 @@ public final class MagicalAttack extends AbstractEffect activeChar.sendDamageMessage(target, damage, mcrit, false, false); } } - - if (info.getSkill().isSuicideAttack()) - { - activeChar.doDie(activeChar); - } } } \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxCp.java b/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxCp.java index 90668398e1..446363ed8f 100644 --- a/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxCp.java +++ b/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxCp.java @@ -20,6 +20,7 @@ package handlers.effecthandlers; import com.l2jserver.gameserver.enums.EffectCalculationType; import com.l2jserver.gameserver.model.StatsSet; +import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.stat.CharStat; import com.l2jserver.gameserver.model.conditions.Condition; import com.l2jserver.gameserver.model.effects.AbstractEffect; @@ -27,6 +28,8 @@ import com.l2jserver.gameserver.model.skills.BuffInfo; import com.l2jserver.gameserver.model.stats.Stats; import com.l2jserver.gameserver.model.stats.functions.FuncAdd; import com.l2jserver.gameserver.model.stats.functions.FuncMul; +import com.l2jserver.gameserver.network.SystemMessageId; +import com.l2jserver.gameserver.network.serverpackets.SystemMessage; /** * @author Zealar @@ -65,11 +68,13 @@ public final class MaxCp extends AbstractEffect @Override public void onStart(BuffInfo info) { - final CharStat charStat = info.getEffected().getStat(); + final L2Character effected = info.getEffected(); + final CharStat charStat = effected.getStat(); + final double currentCp = effected.getCurrentCp(); + double amount = _power; synchronized (charStat) { - final double currentCp = info.getEffected().getCurrentCp(); switch (_type) { case DIFF: @@ -77,21 +82,29 @@ public final class MaxCp extends AbstractEffect charStat.getActiveChar().addStatFunc(new FuncAdd(Stats.MAX_CP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentCp((currentCp + _power)); + effected.setCurrentCp((currentCp + _power)); } break; } case PER: { + final double maxCp = effected.getMaxCp(); charStat.getActiveChar().addStatFunc(new FuncMul(Stats.MAX_CP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentCp((currentCp * _power)); + amount = (_power - 1) * maxCp; + effected.setCurrentCp(currentCp + amount); } break; } } } + if (_heal) + { + SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_CP_HAS_BEEN_RESTORED); + sm.addInt((int) amount); + effected.sendPacket(sm); + } } @Override diff --git a/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxHp.java b/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxHp.java index 17abae4521..9b52037705 100644 --- a/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxHp.java +++ b/trunk/dist/game/data/scripts/handlers/effecthandlers/MaxHp.java @@ -20,6 +20,7 @@ package handlers.effecthandlers; import com.l2jserver.gameserver.enums.EffectCalculationType; import com.l2jserver.gameserver.model.StatsSet; +import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.stat.CharStat; import com.l2jserver.gameserver.model.conditions.Condition; import com.l2jserver.gameserver.model.effects.AbstractEffect; @@ -27,6 +28,8 @@ import com.l2jserver.gameserver.model.skills.BuffInfo; import com.l2jserver.gameserver.model.stats.Stats; import com.l2jserver.gameserver.model.stats.functions.FuncAdd; import com.l2jserver.gameserver.model.stats.functions.FuncMul; +import com.l2jserver.gameserver.network.SystemMessageId; +import com.l2jserver.gameserver.network.serverpackets.SystemMessage; /** * @author Zealar @@ -65,33 +68,43 @@ public final class MaxHp extends AbstractEffect @Override public void onStart(BuffInfo info) { - final CharStat charStat = info.getEffected().getStat(); + final L2Character effected = info.getEffected(); + final CharStat charStat = effected.getStat(); + final double currentHp = effected.getCurrentHp(); + double amount = _power; synchronized (charStat) { - final double currentHp = info.getEffected().getCurrentHp(); switch (_type) { case DIFF: { + charStat.getActiveChar().addStatFunc(new FuncAdd(Stats.MAX_HP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentHp((currentHp + _power)); + effected.setCurrentHp((currentHp + _power)); } break; } case PER: { + final double maxHp = effected.getMaxHp(); charStat.getActiveChar().addStatFunc(new FuncMul(Stats.MAX_HP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentHp((currentHp * _power)); + amount = (_power - 1) * maxHp; + effected.setCurrentHp(currentHp + amount); } break; } } - + } + if (_heal) + { + SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_HP_HAS_BEEN_RESTORED); + sm.addInt((int) amount); + effected.sendPacket(sm); } } diff --git a/trunk/dist/game/data/scripts/handlers/effecthandlers/SetSkill.java b/trunk/dist/game/data/scripts/handlers/effecthandlers/SetSkill.java index 577948c3e5..15f0f97c6d 100644 --- a/trunk/dist/game/data/scripts/handlers/effecthandlers/SetSkill.java +++ b/trunk/dist/game/data/scripts/handlers/effecthandlers/SetSkill.java @@ -63,5 +63,6 @@ public final class SetSkill extends AbstractEffect } info.getEffected().getActingPlayer().addSkill(skill, true); + info.getEffected().getActingPlayer().sendSkillList(); } } diff --git a/trunk/dist/game/data/stats/skills/20000-20099.xml b/trunk/dist/game/data/stats/skills/20000-20099.xml index 91fa39d752..633442baff 100644 --- a/trunk/dist/game/data/stats/skills/20000-20099.xml +++ b/trunk/dist/game/data/stats/skills/20000-20099.xml @@ -91,7 +91,7 @@ - + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30120.htm b/trunk/dist/game/data_classic/html/villagemaster/30120.htm index 8bc387d850..bd04378f4d 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30120.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30120.htm @@ -1,6 +1,6 @@ High Priest Maximilian:
Pleased to meet you. I am High Priest Maximilian, may Einhasad's light comfort and sooth your soul. Why have you come here, to the heart of our faith?
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30191.htm b/trunk/dist/game/data_classic/html/villagemaster/30191.htm index de11c26cc8..c67c4e0277 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30191.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30191.htm @@ -1,6 +1,6 @@ High Priest Hollint:
Welcome! I am High Priest Hollint. What brings you to the Temple, my child?
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30500.htm b/trunk/dist/game/data_classic/html/villagemaster/30500.htm index 716c738690..28041f3c7a 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30500.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30500.htm @@ -1,6 +1,6 @@ High Prefect Osborn:
I, High Prefect Osborn, teach Orcs by the authority of Pa'agrio, the father of eternal fire. It is my duty to help ensure that we may once more attain the glory of our illustrious ancestors. You, young Orc warrior, you are like a tinderbox whose spark, though small, becomes a great blaze! In you I see the hope that will revive the trampled pride of our Orc tribe. How may I be of service to you?
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30505.htm b/trunk/dist/game/data_classic/html/villagemaster/30505.htm index 3b1c0b32b7..3b0fad921b 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30505.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30505.htm @@ -1,6 +1,6 @@ High Prefect Drikus:
The eternal fires of Pa'agrio have called me to teach the Orcs. It is my duty, and my honor, to help our race regain the glory that was once ours! You, young Orc warrior, you are like a tinderbox. A tiny spark who will grow to become a great blaze! In you I see the pride of our Orc tribe! How may I be of service to you?
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30508.htm b/trunk/dist/game/data_classic/html/villagemaster/30508.htm index 9662d8a20f..75cc9b7a56 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30508.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30508.htm @@ -1,6 +1,6 @@ High Prefect Castor:
I, High Prefect Cional, teach Orcs by the authority of Pa'agrio, the father of eternal fire. It is my duty to help ensure that we may once more attain the glory of our illustrious ancestors. You, young Orc warrior, you are like a tinderbox whose spark, though small, becomes a great blaze! In you I see the hope that will revive the trampled pride of our Orc tribe. How may I be of service to you?
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30513.htm b/trunk/dist/game/data_classic/html/villagemaster/30513.htm index 0c68b859d6..e82c45f8b4 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30513.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30513.htm @@ -1,6 +1,6 @@ High Perfect Penatus:
I train and test Orcs, by the light of the eternal fires of Pa'agrio, so that we might one day restore the race of Orcs to glory.
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30681.htm b/trunk/dist/game/data_classic/html/villagemaster/30681.htm index 2b0bdca818..e7e2dec33e 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30681.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30681.htm @@ -1,6 +1,6 @@ High Perfect Karia:
By the light and will of Pa'agrio, I guide and teach high level Orc warriors and magicians. Why have you come to see me?
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30704.htm b/trunk/dist/game/data_classic/html/villagemaster/30704.htm index 5ebacec994..1e18ced6ec 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30704.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30704.htm @@ -1,6 +1,6 @@ High Prefect Garvarentz:
I am High Prefect Garvarentz, and I teach high level Orc warriors and magicians by the will of Pa'agrio, the father of eternal fire. Why have you come to see me?
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30857.htm b/trunk/dist/game/data_classic/html/villagemaster/30857.htm index 540f503ff6..ec5d920f53 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30857.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30857.htm @@ -1,7 +1,7 @@ High Priest Orven:
Welcome to Aden, the heart of the kingdom! People speak of this place as the kingdom's cultural and religious center, and if that's true, then it's also the apex of faith that all who serve Einhasad must preserve....
True holiness can always be found in the ordinary, the everyday, the mundane. The prayer of a commoner may resonate more deeply with the mother of light than even the prayer of a high priest, so perhaps this place is not so different from other temples.
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30865.htm b/trunk/dist/game/data_classic/html/villagemaster/30865.htm index 9b62c3246b..307951ff9c 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30865.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30865.htm @@ -1,7 +1,7 @@ High Prefect Ladanza:
Welcome to the Human city, adventurer. The Humans petitioned Pa'agrio Lord Kakai to aid them during this time of turmoil. Ancestors Martankus and Ungoat, of the Duda-Mara tribe, say that this is related to the "Eternal Winter," the only thing that can make an Orc cower in fear.
Hmm, it's somewhat amusing that Pa'agrio's children are here, in the castle that used to belong to our enemy.
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30905.htm b/trunk/dist/game/data_classic/html/villagemaster/30905.htm index bf403dee79..d8fc917db6 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30905.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30905.htm @@ -1,6 +1,6 @@ High Priest Squillari:
Welcome, traveler. May the goddess of light's providence be always with you. I am Squillari, a servant of Einhasad, who lives to help fulfill the will of the goddess of light in this land of water. Traveler, it would be a blessing if I could help you in your search for instruction.
- + diff --git a/trunk/dist/game/data_classic/html/villagemaster/30913.htm b/trunk/dist/game/data_classic/html/villagemaster/30913.htm index 67a859bb02..77906ecba8 100644 --- a/trunk/dist/game/data_classic/html/villagemaster/30913.htm +++ b/trunk/dist/game/data_classic/html/villagemaster/30913.htm @@ -1,7 +1,7 @@ Head Prefect Tushku:
Welcome to the Heine, the city of water... Eh, the truth is that Orcs like me just can't get used to a city like this, with its white and shiny buildings and candy-stinking Elves. I feel like firecracker thrown into a pond.
But duty calls, and we do what must be done... So, why are you looking for me?
- + diff --git a/trunk/dist/game/data_classic/scripts.cfg b/trunk/dist/game/data_classic/scripts.cfg index fbe41f2290..629a7d0a02 100644 --- a/trunk/dist/game/data_classic/scripts.cfg +++ b/trunk/dist/game/data_classic/scripts.cfg @@ -57,6 +57,9 @@ village_master/Clan/Clan.java village_master/Alliance/Alliance.java village_master/DarkElvenChange1/DarkElvenChange1.java village_master/DarkElvenChange2/DarkElvenChange2.java +village_master/ElfHumanClericChange2/ElfHumanClericChange2.java +village_master/OrcChange1/OrcChange1.java +village_master/OrcChange2/OrcChange2.java # Instance Section instances/InstanceLoader.java diff --git a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MagicalAttack.java b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MagicalAttack.java index 5a5c90141e..d4aab73851 100644 --- a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MagicalAttack.java +++ b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MagicalAttack.java @@ -77,6 +77,13 @@ public final class MagicalAttack extends AbstractEffect if (damage > 0) { + // reduce damage if target has maxdamage buff + double maxDamage = (target.getStat().calcStat(Stats.MAX_SKILL_DAMAGE, 0, null, null)); + if (maxDamage > 0) + { + damage = (int) maxDamage; + } + // Manage attack or cast break of the target (calculating rate, sending message...) if (!target.isRaid() && Formulas.calcAtkBreak(target, damage)) { @@ -97,10 +104,5 @@ public final class MagicalAttack extends AbstractEffect activeChar.sendDamageMessage(target, damage, mcrit, false, false); } } - - if (info.getSkill().isSuicideAttack()) - { - activeChar.doDie(activeChar); - } } } \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxCp.java b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxCp.java index 90668398e1..446363ed8f 100644 --- a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxCp.java +++ b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxCp.java @@ -20,6 +20,7 @@ package handlers.effecthandlers; import com.l2jserver.gameserver.enums.EffectCalculationType; import com.l2jserver.gameserver.model.StatsSet; +import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.stat.CharStat; import com.l2jserver.gameserver.model.conditions.Condition; import com.l2jserver.gameserver.model.effects.AbstractEffect; @@ -27,6 +28,8 @@ import com.l2jserver.gameserver.model.skills.BuffInfo; import com.l2jserver.gameserver.model.stats.Stats; import com.l2jserver.gameserver.model.stats.functions.FuncAdd; import com.l2jserver.gameserver.model.stats.functions.FuncMul; +import com.l2jserver.gameserver.network.SystemMessageId; +import com.l2jserver.gameserver.network.serverpackets.SystemMessage; /** * @author Zealar @@ -65,11 +68,13 @@ public final class MaxCp extends AbstractEffect @Override public void onStart(BuffInfo info) { - final CharStat charStat = info.getEffected().getStat(); + final L2Character effected = info.getEffected(); + final CharStat charStat = effected.getStat(); + final double currentCp = effected.getCurrentCp(); + double amount = _power; synchronized (charStat) { - final double currentCp = info.getEffected().getCurrentCp(); switch (_type) { case DIFF: @@ -77,21 +82,29 @@ public final class MaxCp extends AbstractEffect charStat.getActiveChar().addStatFunc(new FuncAdd(Stats.MAX_CP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentCp((currentCp + _power)); + effected.setCurrentCp((currentCp + _power)); } break; } case PER: { + final double maxCp = effected.getMaxCp(); charStat.getActiveChar().addStatFunc(new FuncMul(Stats.MAX_CP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentCp((currentCp * _power)); + amount = (_power - 1) * maxCp; + effected.setCurrentCp(currentCp + amount); } break; } } } + if (_heal) + { + SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_CP_HAS_BEEN_RESTORED); + sm.addInt((int) amount); + effected.sendPacket(sm); + } } @Override diff --git a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxHp.java b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxHp.java index 17abae4521..9b52037705 100644 --- a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxHp.java +++ b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/MaxHp.java @@ -20,6 +20,7 @@ package handlers.effecthandlers; import com.l2jserver.gameserver.enums.EffectCalculationType; import com.l2jserver.gameserver.model.StatsSet; +import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.stat.CharStat; import com.l2jserver.gameserver.model.conditions.Condition; import com.l2jserver.gameserver.model.effects.AbstractEffect; @@ -27,6 +28,8 @@ import com.l2jserver.gameserver.model.skills.BuffInfo; import com.l2jserver.gameserver.model.stats.Stats; import com.l2jserver.gameserver.model.stats.functions.FuncAdd; import com.l2jserver.gameserver.model.stats.functions.FuncMul; +import com.l2jserver.gameserver.network.SystemMessageId; +import com.l2jserver.gameserver.network.serverpackets.SystemMessage; /** * @author Zealar @@ -65,33 +68,43 @@ public final class MaxHp extends AbstractEffect @Override public void onStart(BuffInfo info) { - final CharStat charStat = info.getEffected().getStat(); + final L2Character effected = info.getEffected(); + final CharStat charStat = effected.getStat(); + final double currentHp = effected.getCurrentHp(); + double amount = _power; synchronized (charStat) { - final double currentHp = info.getEffected().getCurrentHp(); switch (_type) { case DIFF: { + charStat.getActiveChar().addStatFunc(new FuncAdd(Stats.MAX_HP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentHp((currentHp + _power)); + effected.setCurrentHp((currentHp + _power)); } break; } case PER: { + final double maxHp = effected.getMaxHp(); charStat.getActiveChar().addStatFunc(new FuncMul(Stats.MAX_HP, 1, this, _power, null)); if (_heal) { - info.getEffected().setCurrentHp((currentHp * _power)); + amount = (_power - 1) * maxHp; + effected.setCurrentHp(currentHp + amount); } break; } } - + } + if (_heal) + { + SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_HP_HAS_BEEN_RESTORED); + sm.addInt((int) amount); + effected.sendPacket(sm); } } diff --git a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/SetSkill.java b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/SetSkill.java index 577948c3e5..15f0f97c6d 100644 --- a/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/SetSkill.java +++ b/trunk/dist/game/data_classic/scripts/handlers/effecthandlers/SetSkill.java @@ -63,5 +63,6 @@ public final class SetSkill extends AbstractEffect } info.getEffected().getActingPlayer().addSkill(skill, true); + info.getEffected().getActingPlayer().sendSkillList(); } } diff --git a/trunk/dist/game/data_classic/scripts/village_master/DarkElvenChange2/DarkElvenChange2.java b/trunk/dist/game/data_classic/scripts/village_master/DarkElvenChange2/DarkElvenChange2.java index 2da7e5440a..e18cff2b83 100644 --- a/trunk/dist/game/data_classic/scripts/village_master/DarkElvenChange2/DarkElvenChange2.java +++ b/trunk/dist/game/data_classic/scripts/village_master/DarkElvenChange2/DarkElvenChange2.java @@ -35,7 +35,6 @@ public final class DarkElvenChange2 extends Quest // NPCs private static int[] NPCS = { - 31328, // Innocentin 30195, // Brecson 30699, // Medown 30474, // Angus diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-01.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-01.htm new file mode 100644 index 0000000000..819015afea --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-01.htm @@ -0,0 +1,4 @@ + +You are limited to two occupational changes.
+You would be better served training yourself. Remember that strength flows from your mind, not your weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-02.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-02.htm new file mode 100644 index 0000000000..dcd3b0649a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-02.htm @@ -0,0 +1,5 @@ + +An occupational change occurs when one advances to a higher-level occupation. Clerics may advance to Bishop or Prophet. Which occupation would you like to learn about?
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-03.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-03.htm new file mode 100644 index 0000000000..a1615b9162 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-03.htm @@ -0,0 +1,6 @@ + +Bishops trust in the gods and use their power to heal and restore. They are the best practitioners of healing magic.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-04.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-04.htm new file mode 100644 index 0000000000..6378b64978 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-04.htm @@ -0,0 +1,7 @@ + +The Bishop is an expert in healing magic. He fights best in groups, and becomes vital in party play or siege. Even strong fighters will appreciate the presence of a Bishop.
+Bishops can revive the dead and are capable of strong white magic attacks.
+To be a Bishop, your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-05.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-05.htm new file mode 100644 index 0000000000..25cc32b3ca --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-05.htm @@ -0,0 +1,7 @@ + +Each mark requires its own trial.
+The Mark of the Pilgrim is reserved for those who pass the Trial of the Pilgrim. You must be above level 35 to qualify. To take this test you must visit Hermit Santiago in the Estate of Gludio. He lives on a farm with Piotur.
+The Mark of Trust is reserved for those who pass the Testimony of Trust. You must be above level 37 to qualify. To take this test you must visit High Priest Hollint at the Town of Oren.
+And last, the Mark of the Healer is reserved for those who pass the Test of the Healer. You must be above level 39 to qualify. To take this test you must visit Priest Bandellos in the temple of the Town of Giran.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-06.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-06.htm new file mode 100644 index 0000000000..5ffe47d8eb --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-06.htm @@ -0,0 +1,6 @@ + +Prophets are priests who practice the highest level of supplementary magic. Prophets are more mercenary than other priests.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-07.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-07.htm new file mode 100644 index 0000000000..d946cd0011 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-07.htm @@ -0,0 +1,7 @@ + +The Prophet is an expert in supplementary magic. Supplementary magic mainly strengthens allies. Prophets must possess heavy equipment and extra strength before fighting monsters. Prophets strengthen the force of their party, especially during battle.
+Their supplementary magic increases attack power, hit rate, evasion and defense.
+To be a Prophet, your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-08.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-08.htm new file mode 100644 index 0000000000..9a36ab892e --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-08.htm @@ -0,0 +1,7 @@ + +Each mark requires its own trial.
+The Mark of the Pilgrim is reserved for those who pass the Trial of the Pilgrim. You must be above level 35 to qualify. To take this test you must visit Hermit Santiago in the Estate of Gludio. He lives on a farm with Piotur.
+The Mark of Trust is reserved for those who pass the Testimony of Trust. You must be above level 37 to qualify. To take this test, visit High Priest Hollint at the Town of Oren.
+And last, the Mark of the Reformer is reserved for those who pass the Trial of the Reformer. You must be above level 39 to qualify. To take this test, visit Priestess Pupina at the temple of the Town of Giran.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-09.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-09.htm new file mode 100644 index 0000000000..b426fd71ed --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-09.htm @@ -0,0 +1,4 @@ + +An occupational change occurs when one advances to a higher-level occupation. An Oracle can advance to Elder. An Elven Priest does not advance.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-10.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-10.htm new file mode 100644 index 0000000000..be0909d13b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-10.htm @@ -0,0 +1,5 @@ + +The Elder serves Eva, the Goddess of Water. The goddess endows Elders with her magical powers.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-11.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-11.htm new file mode 100644 index 0000000000..3fe61b687d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-11.htm @@ -0,0 +1,7 @@ + +Elders practice both healing and supplementary magic. Elders do not specialize in one particular skill and thus are quite useful during small party play.
+They increase defense and evasion and are capable of healing allies and inflicting strong damage on the undead.
+To be an Elder, your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-12.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-12.htm new file mode 100644 index 0000000000..ad418d6749 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-12.htm @@ -0,0 +1,7 @@ + +Each mark requires its own trial.
+The Mark of the Pilgrim is reserved for those who pass the Trial of the Pilgrim. You must be above level 35 to qualify. To take this test visit the Hermit Santiago in the Estate of Gludio. He lives on a farm with Piotur.
+The Mark of Life is reserved for those who pass the Testimony of Life. You must be above level 37 to take the test. To take this trial, visit Master Cardien of the Town of Dion.
+And last, the Mark of the Healer is reserved for those who pass the Test of the Healer. You must be above level 39 to qualify. To take the Test of the Healer, visit Priest Bandellos in the temple of the Town of Giran.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-13.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-13.htm new file mode 100644 index 0000000000..4cfc7cdeae --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-13.htm @@ -0,0 +1,3 @@ + +You have not changed occupations once! I only teach clerics. Come back when you walk the path of service to Einhasad. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-14.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-14.htm new file mode 100644 index 0000000000..b7892e37a1 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-14.htm @@ -0,0 +1,3 @@ + +The Light of Einhasad must have led you here, however I only teach clerics. You must walk the path of the priest to be instructed by me. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-15.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-15.htm new file mode 100644 index 0000000000..c402c99f97 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-15.htm @@ -0,0 +1,4 @@ + +You are limited to two occupational changes.
+Judging by your strength, I feel that your faith is stronger than others. Keep this faith always, and constantly move forward. May the will of Einhasad guide you on path of righteousness. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-16.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-16.htm new file mode 100644 index 0000000000..f7bced9f13 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-16.htm @@ -0,0 +1,4 @@ + +To become a Bishop your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.
+Obviously you lack training even though you have all the marks. Come back to me when you have done more training and I will change your occupation to Bishop. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-17.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-17.htm new file mode 100644 index 0000000000..4194739dfa --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-17.htm @@ -0,0 +1,4 @@ + +To become a Bishop your level must be over 40 and you need to collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.
+Obviously you lack training and do not have all the marks. Come back to me when you have done this and I will change your occupation to Bishop. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-18.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-18.htm new file mode 100644 index 0000000000..a74444ac21 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-18.htm @@ -0,0 +1,4 @@ + +Congratulations! You have advanced one level as a Bishop, a child of the blessed goddess. Many more trials and hardships await you, but I trust that you will overcome them all. I congratulate you in the name of the goddess of light, Einhasad, whom you and I both serve.
+Our guild has prepared this small gift to assist you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you will be able to exchange it for a usable Shadow Weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-19.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-19.htm new file mode 100644 index 0000000000..5e06ef3fab --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-19.htm @@ -0,0 +1,4 @@ + +To become a Bishop your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Healer.
+Obviously your skills are adequate but you still have not gotten all the marks. Go and get the marks you lack and I will change your occupation to Bishop. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-20.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-20.htm new file mode 100644 index 0000000000..8a396a2c11 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-20.htm @@ -0,0 +1,4 @@ + +To become a Prophet your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.
+Obviously you lack training even though you have all the marks. Come back to me when you have done more training and I will change your occupation to Prophet. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-21.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-21.htm new file mode 100644 index 0000000000..cce6a28fbf --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-21.htm @@ -0,0 +1,4 @@ + +To become a Prophet your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.
+Obviously you lack training and do not have all the marks. Come back to me when you have done this and I will change your occupation to Prophet. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-22.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-22.htm new file mode 100644 index 0000000000..74166b58d8 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-22.htm @@ -0,0 +1,4 @@ + +Congratulations! You have become a Prophet and have advanced one level as a child of the goddess. Many more trials and hardships await you, but I trust that you will overcome them all. I congratulate you in the name of the goddess of light, Einhasad, whom you and I both serve.
+Our guild has prepared this small gift to assist you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you will be able to exchange it for a usable Shadow Weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-23.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-23.htm new file mode 100644 index 0000000000..f9d61fc366 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-23.htm @@ -0,0 +1,4 @@ + +To become a Prophet your level must be above 40 and you must collect the Mark of the Pilgrim, the Mark of Trust, and the Mark of the Reformer.
+Obviously your skills are adequate but you still have not gotten all the marks. Go and get the marks you lack and I will change your occupation to Prophet. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-24.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-24.htm new file mode 100644 index 0000000000..32ca0e2f49 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-24.htm @@ -0,0 +1,4 @@ + +To become an Elder your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.
+Obviously you lack training even though you have all the marks. Come back to me when you have done more training and I will change your occupation to Elder. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-25.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-25.htm new file mode 100644 index 0000000000..5b0bd4b42b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-25.htm @@ -0,0 +1,4 @@ + +To become an Elder your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.
+Obviously you lack training and do not have all the marks. Come back to me when you have done this and I will change your occupation to Elder. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-26.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-26.htm new file mode 100644 index 0000000000..607e7d639d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-26.htm @@ -0,0 +1,4 @@ + +Congratulations! With this, you have become an Elven Elder, a proud and mighty priest of Eva, the goddess of water. Many more trials and hardships await you, but I trust that you will overcome them all. May Eva bless and watch over you always.
+Our guild has prepared this small gift to assist you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you will be able to exchange it for a usable Shadow Weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-27.htm b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-27.htm new file mode 100644 index 0000000000..2eda917b32 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/30120-27.htm @@ -0,0 +1,4 @@ + +To become an Elder your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Life, and the Mark of the Healer.
+Obviously your skills are adequate but you still have not gotten all the marks. Go and get the marks you lack and I will change your occupation to Elder. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/ElfHumanClericChange2.java b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/ElfHumanClericChange2.java new file mode 100644 index 0000000000..9ce799ffd9 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/ElfHumanClericChange2/ElfHumanClericChange2.java @@ -0,0 +1,226 @@ +/* + * Copyright (C) 2004-2015 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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 . + */ +package village_master.ElfHumanClericChange2; + +import ai.npc.AbstractNpcAI; + +import com.l2jserver.gameserver.enums.CategoryType; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.base.ClassId; + +/** + * Elf Human class transfer AI. + * @author Adry_85 + */ +public final class ElfHumanClericChange2 extends AbstractNpcAI +{ + // NPCs + private static int[] NPCS = + { + 30120, // Maximilian + 30191, // Hollint + 30857, // Orven + 30905, // Squillari + 31279, // Gregory + 31328, // Innocentin + 31968, // Baryl + }; + + // Items + private static final int SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE = 8870; + private static final int MARK_OF_PILGRIM = 2721; // proof11x, proof12x, proof21x + private static final int MARK_OF_TRUST = 2734; // proof11y, proof12y + private static final int MARK_OF_HEALER = 2820; // proof11z, proof21z + private static final int MARK_OF_REFORMER = 2821; // proof12z + private static final int MARK_OF_LIFE = 3140; // proof21y + + // Classes + private static final int BISHOP = 16; + private static final int PROPHET = 17; + private static final int ELDER = 30; + + private ElfHumanClericChange2() + { + super(ElfHumanClericChange2.class.getSimpleName(), "village_master"); + addStartNpc(NPCS); + addTalkId(NPCS); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + String htmltext = null; + switch (event) + { + case "30120-02.htm": // master_lv3_hec003h + case "30120-03.htm": // master_lv3_hec006ha + case "30120-04.htm": // master_lv3_hec007ha + case "30120-05.htm": // master_lv3_hec007hat + case "30120-06.htm": // master_lv3_hec006hb + case "30120-07.htm": // master_lv3_hec007hb + case "30120-08.htm": // master_lv3_hec007hbt + case "30120-10.htm": // master_lv3_hec006ea + case "30120-11.htm": // master_lv3_hec007ea + case "30120-12.htm": // master_lv3_hec007eat + { + htmltext = event; + break; + } + case "16": + case "17": + case "30": + { + htmltext = ClassChangeRequested(player, Integer.valueOf(event)); + break; + } + } + return htmltext; + } + + private String ClassChangeRequested(L2PcInstance player, int classId) + { + String htmltext = null; + if (player.isInCategory(CategoryType.THIRD_CLASS_GROUP)) + { + htmltext = "30120-15.htm"; // fnYouAreThirdClass + } + else if ((classId == BISHOP) && (player.getClassId() == ClassId.CLERIC)) + { + if (player.getLevel() < 40) + { + if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_HEALER)) + { + htmltext = "30120-16.htm"; // fnLowLevel11 + } + else + { + htmltext = "30120-17.htm"; // fnLowLevelNoProof11 + } + } + else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_HEALER)) + { + takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_HEALER); + player.setClassId(BISHOP); + player.setBaseClass(BISHOP); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15); + htmltext = "30120-18.htm"; // fnAfterClassChange11 + } + else + { + htmltext = "30120-19.htm"; // fnNoProof11 + } + } + else if ((classId == PROPHET) && (player.getClassId() == ClassId.CLERIC)) + { + if (player.getLevel() < 40) + { + if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_REFORMER)) + { + htmltext = "30120-20.htm"; // fnLowLevel12 + } + else + { + htmltext = "30120-21.htm"; // fnLowLevelNoProof12 + } + } + else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_REFORMER)) + { + takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_TRUST, MARK_OF_REFORMER); + player.setClassId(PROPHET); + player.setBaseClass(PROPHET); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15); + htmltext = "30120-22.htm"; // fnAfterClassChange12 + } + else + { + htmltext = "30120-23.htm"; // fnNoProof12 + } + } + else if ((classId == ELDER) && (player.getClassId() == ClassId.ORACLE)) + { + if (player.getLevel() < 40) + { + if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_LIFE, MARK_OF_HEALER)) + { + htmltext = "30120-24.htm"; // fnLowLevel21 + } + else + { + htmltext = "30120-25.htm"; // fnLowLevelNoProof21 + } + } + else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_LIFE, MARK_OF_HEALER)) + { + takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_LIFE, MARK_OF_HEALER); + player.setClassId(ELDER); + player.setBaseClass(ELDER); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15); + htmltext = "30120-26.htm"; // fnAfterClassChange21 + } + else + { + htmltext = "30120-27.htm"; // fnNoProof21 + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + String htmltext = null; + if (player.isInCategory(CategoryType.CLERIC_GROUP) && player.isInCategory(CategoryType.FOURTH_CLASS_GROUP) && (player.isInCategory(CategoryType.HUMAN_CALL_CLASS) || player.isInCategory(CategoryType.ELF_CALL_CLASS))) + { + htmltext = "30120-01.htm"; // fnYouAreFourthClass + } + else if (player.isInCategory(CategoryType.CLERIC_GROUP) && (player.isInCategory(CategoryType.HUMAN_CALL_CLASS) || player.isInCategory(CategoryType.ELF_CALL_CLASS))) + { + final ClassId classId = player.getClassId(); + if ((classId == ClassId.CLERIC) || (classId == ClassId.BISHOP) || (classId == ClassId.PROPHET)) + { + htmltext = "30120-02.htm"; // fnClassList1 + } + else if ((classId == ClassId.ORACLE) || (classId == ClassId.ELDER)) + { + htmltext = "30120-09.htm"; // fnClassList2 + } + else + { + htmltext = "30120-13.htm"; // fnYouAreFirstClass + } + } + else + { + htmltext = "30120-14.htm"; // fnClassMismatch + } + return htmltext; + } + + public static void main(String[] args) + { + new ElfHumanClericChange2(); + } +} diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-01.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-01.htm new file mode 100644 index 0000000000..56f303b800 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-01.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. Orc Fighters can change profession to an Orc Raider or a Monk. Which profession do you want to know about
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-02.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-02.htm new file mode 100644 index 0000000000..d08ea09994 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-02.htm @@ -0,0 +1,7 @@ +High Prefect Osborn:
+Orc Raiders are superb fighters who fight powerfully with weapons. They rely on their pure power and skill to win, not on tactical tricks. Orc Raiders are the most consistent fighters on the battlefield. Their power overwhelms the skills of their enemies.
+The most skillful Orc Raiders are later selected as Destroyers. One to one, Destroyers surpass all other Fighters.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-03.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-03.htm new file mode 100644 index 0000000000..922cd27a13 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-03.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+Basically, to earn the qualifications to become an Orc Raider, your level must be at least be 20, and you must pass the Test of the Orc Raider.
+To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village use a Gatekeeper.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-04.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-04.htm new file mode 100644 index 0000000000..59cd83ccbf --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-04.htm @@ -0,0 +1,7 @@ +High Prefect Osborn:
+Monks are priests that devote themselves to the path of flame. Unlike Orc Raiders, they do not rely on swords or large weapons, but use their own bodies as weapons of war. Because they do not depend on weapons or armor, they learn many skills to protect themselves.
+The finest Monks are selected to become Tyrants, for still more advanced physical and technical training.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-05.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-05.htm new file mode 100644 index 0000000000..753c680962 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-05.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+Basically, to become a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+To take the Test of the Monk, seek the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-06.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-06.htm new file mode 100644 index 0000000000..4145712e59 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-06.htm @@ -0,0 +1,4 @@ +High Prefect Osborn:
+To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. All Orc Mystics can change profession to become Orc Shamans.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-07.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-07.htm new file mode 100644 index 0000000000..af7425104d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-07.htm @@ -0,0 +1,7 @@ +High Prefect Osborn:
+Orc Shamans have the blessing of Pa'agrio, God of Fire, and are able to perform miracles with fire. They bless warriors going into battle to strengthen their allies' attack skills, while placing curses to cripple and hinder their enemies. They are the pride of the Orcs. Their works become far stronger when they act in concert with other shamans.
+The Shaman who have the highest qualifications become Chief candidates and are called Overlords. Only Shamans can become Overlords. Certain Shamans are also selected as Warcryers, and learn even stronger spells.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-08.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-08.htm new file mode 100644 index 0000000000..1f3a627fd8 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-08.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+To take the Test of the Orc Shaman, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-09.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-09.htm new file mode 100644 index 0000000000..e1969e5506 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-09.htm @@ -0,0 +1,3 @@ +High Prefect Osborn:
+You cannot change profession, because you have already done so. Work hard to build on your skills, and in time you will be able to attain a still more advanced profession. May the blessing of Pa'agrio, the god of fire, be with you. Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-10.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-10.htm new file mode 100644 index 0000000000..4d26bdec9d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-10.htm @@ -0,0 +1,3 @@ +High Prefect Osborn:
+Haven't you already changed profession twice? You have attained great strength. I hope you will always use your power to restore the glory of our race. Give your enemies a taste of your unthinkable strength! Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-11.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-11.htm new file mode 100644 index 0000000000..4b7d42828a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-11.htm @@ -0,0 +1,4 @@ +High Prefect Osborn:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You need a token to prove you have passed the Test of the Orc Raider, as well.
+it seems that you have passed the Test of the Orc Raider, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Come back when you have increased your level. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-12.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-12.htm new file mode 100644 index 0000000000..f51ebda555 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-12.htm @@ -0,0 +1,4 @@ +High Prefect Osborn:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You also need a token, to prove you have passed the Test of the Orc Raider.
+However, it seems that your level is not high enough, and you have not yet passed the Test of the Orc Raider. First, work to raise your level to 20 or higher. To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village, first go to Gludio, then use a Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-13.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-13.htm new file mode 100644 index 0000000000..23b37767c1 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-13.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You need a token to prove you have passed the Test of the Orc Raider, as well.
+I am satisfied with your level, but it seems that you have not passed the Test of the Orc Raider. To take the test, go to Prefect Karukia of the Orc village He will tell you everything you need to know. If you pass the test and come back, I will change your profession.
+To get to the Orc village, use a Gatekeeper. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-14.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-14.htm new file mode 100644 index 0000000000..c8b9138d56 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-14.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Raider. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your skills one by one from Prefect Kasman nearby.
+Here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-15.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-15.htm new file mode 100644 index 0000000000..cb55b06bc4 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-15.htm @@ -0,0 +1,4 @@ +High Prefect Osborn:
+Basically, to be qualified for a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+It seems that you have passed the Test of the Monk, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Come back when you have increased your level. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-16.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-16.htm new file mode 100644 index 0000000000..a10898f970 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-16.htm @@ -0,0 +1,4 @@ +High Prefect Osborn:
+Basically, to be qualified for a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+However, it seems that your level is not high enough, and you have not yet passed the test of Monk. First, work to raise your level to 20 or higher. To take the Test of the Monk, seek the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-17.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-17.htm new file mode 100644 index 0000000000..8804f59832 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-17.htm @@ -0,0 +1,4 @@ +High Prefect Osborn:
+Basically, to qualify as a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+I am satisfied with your level, but it seems that you have not passed the Test of the Monk yet. To take the test, go to the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-18.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-18.htm new file mode 100644 index 0000000000..9077c899c1 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-18.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Monk. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your skills one by one from Prefect Kasman nearby.
+Here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-19.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-19.htm new file mode 100644 index 0000000000..90eb31b445 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-19.htm @@ -0,0 +1,4 @@ +High Prefect Osborn:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+It seems that you have passed the Test of the Orc Shaman, but your level is not sufficient. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Raise your level and come back. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-20.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-20.htm new file mode 100644 index 0000000000..56da150d6b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-20.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+However, it seems that your level is not high enough, and you have not yet passed the Test of the Orc Shaman. First, work to raise your level to 20 or higher. To take the Test of the Orc Shaman, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession.
+Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-21.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-21.htm new file mode 100644 index 0000000000..35e58ad94d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-21.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+I am satisfied with your level, but it seems that you have not passed the Test of the Orc Shaman yet. To take the test, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession.
+Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-22.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-22.htm new file mode 100644 index 0000000000..eaad27f790 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-22.htm @@ -0,0 +1,5 @@ +High Prefect Osborn:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Shaman. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your magic from Seer Umos nearby.
+Here is a small gift to help you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-23.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-23.htm new file mode 100644 index 0000000000..6ab759ec48 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-23.htm @@ -0,0 +1,3 @@ +High Prefect Osborn:
+I am the High Prefect Osborn, heir to the authority of the eternal father of fire, Pa'agrio, and one who endeavors to revive the glory of the Orcs by teaching them. Could one like you dare to usurp the power of our race? We Orcs are the strongest race to walk the land. The likes of you could never even think of catching up to us. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-24.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-24.htm new file mode 100644 index 0000000000..819015afea --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30500-24.htm @@ -0,0 +1,4 @@ + +You are limited to two occupational changes.
+You would be better served training yourself. Remember that strength flows from your mind, not your weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-01.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-01.htm new file mode 100644 index 0000000000..18d7059e4e --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-01.htm @@ -0,0 +1,5 @@ +High Prefect Drikus:
+To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. Orc Fighters can change profession to an Orc Raider or a Monk. Which profession do you want to know about?
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-02.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-02.htm new file mode 100644 index 0000000000..791f632756 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-02.htm @@ -0,0 +1,7 @@ +High Prefect Drikus:
+Orc Raiders are superb warriors who fight powerfully with weapons. They rely on their pure power and skill to win, not on tactical tricks. Orc Raiders are the most consistent fighters on the battlefield. Their power overwhelms the skills of their enemies.
+The most skillful Orc Raiders are later selected as Destroyers. One on one, Destroyers surpass all other Fighters.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-03.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-03.htm new file mode 100644 index 0000000000..a23ff2608a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-03.htm @@ -0,0 +1,5 @@ +High Prefect Drikus:
+Basically, to earn the qualifications to become an Orc Raider, your level must be at least 20, and you must pass the Test of the Orc Raider.
+To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village, first go to Gludio, then use a Gatekeeper.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-04.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-04.htm new file mode 100644 index 0000000000..2778460473 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-04.htm @@ -0,0 +1,7 @@ +High Prefect Drikus:
+Monks are priests who devote themselves to the path of flame. Unlike Orc Raiders, they do not rely on swords or large weapons, but use their own bodies as weapons of war. Because they do not depend on weapons or armor, they learn many skills to protect themselves.
+The finest Monks are selected to become Tyrants, for still more advanced physical and technical training.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-05.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-05.htm new file mode 100644 index 0000000000..fc9d1e86a7 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-05.htm @@ -0,0 +1,5 @@ +High Prefect Drikus:
+Basically, to become a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+To take the Test of the Monk, seek the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-06.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-06.htm new file mode 100644 index 0000000000..d9cb279591 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-06.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. All Orc Mystics can change profession to become Orc Shamans.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-07.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-07.htm new file mode 100644 index 0000000000..e19a5567c2 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-07.htm @@ -0,0 +1,7 @@ +High Prefect Drikus:
+Orc Shamans have the blessing of Pa'agrio, God of Fire, and are able to perform miracles with fire. They bless warriors going into battle to strengthen their allies' attack skills, while placing curses to cripple and hinder their enemies. They are the pride of the Orcs. Their works become far stronger when they act in concert with other Shamans.
+Many of the Shamans who have the highest qualifications become Chief candidates and are called Overlords. Only Shamans can become Overlords. Certain Shamans are also selected as Warcryers and learn even stronger spells.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-08.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-08.htm new file mode 100644 index 0000000000..1f74d4096a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-08.htm @@ -0,0 +1,5 @@ +High Prefect Drikus:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+To take the test, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-09.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-09.htm new file mode 100644 index 0000000000..5c88797273 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-09.htm @@ -0,0 +1,3 @@ +High Prefect Drikus:
+You cannot change profession, because you have already done so. Work hard to build on your skills, and in time you will be able to attain a still more advanced profession. May the blessing of Pa'agrio, the god of fire, be with you. Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-10.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-10.htm new file mode 100644 index 0000000000..87711623a9 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-10.htm @@ -0,0 +1,3 @@ +High Prefect Drikus:
+Haven't you already changed profession twice? You have attained great strength. I hope you will always use your power to restore the glory of our race. Give your enemies a taste of your unthinkable strength! Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-11.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-11.htm new file mode 100644 index 0000000000..410ec4deac --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-11.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You need a token to prove you have passed the Test of the Orc Raider, as well.
+it seems that you have passed the Test of the Orc Raider, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Come back when you have increased your level. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-12.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-12.htm new file mode 100644 index 0000000000..5cd170072a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-12.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You also need a token, to prove you have passed the Test of the Orc Raider.
+However, it seems that your level is not high enough, and you have not yet passed the Test of the Orc Raider. First, work to raise your level to 20 or higher. To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village, first go to Gludio, then use a Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-13.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-13.htm new file mode 100644 index 0000000000..9f807331f3 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-13.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You need a token to prove you have passed the Test of the Orc Raider, as well.
+I am satisfied with your level, but it seems that you have not passed the Test of the Orc Raider. To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village, first go to Gludio, then use a Gatekeeper. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-14.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-14.htm new file mode 100644 index 0000000000..ca0d2267ff --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-14.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Raider. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your skills one by one from Prefect Buka nearby.
And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-15.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-15.htm new file mode 100644 index 0000000000..96bc4e4157 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-15.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+Basically, to be qualified for a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+It seems that you have passed the Test of the Monk, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Come back when you have increased your level. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-16.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-16.htm new file mode 100644 index 0000000000..9612d46db7 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-16.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+Basically, to be qualified for a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+However, it seems that your level is not high enough, and you have not yet passed the test of Monk. First, work to raise your level to 20 or higher. To take the Test of the Monk, seek the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-17.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-17.htm new file mode 100644 index 0000000000..d4400ee69d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-17.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+Basically, to qualify as a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+I am satisfied with your level, but it seems that you have not passed the Test of the Monk yet. To take the Test of the Monk, go to the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-18.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-18.htm new file mode 100644 index 0000000000..da7e3956c2 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-18.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Monk. Devote yourself so that the honor of the Orc race remains untarnished!
Learn your skills one by one from Prefect Buka nearby.
+And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-19.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-19.htm new file mode 100644 index 0000000000..d077431f7b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-19.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+It seems that you have passed the Test of the Orc Shaman, but your level is not sufficient. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Raise your level and come back. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-20.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-20.htm new file mode 100644 index 0000000000..0b6dc27bb0 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-20.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+However, it seems that your level is not high enough, and you have not yet passed the Test of the Orc Shaman. First, work to raise your level to 20 or higher. To take the Test of the Orc Shaman, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-21.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-21.htm new file mode 100644 index 0000000000..ecd2ef81c9 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-21.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+I am satisfied with your level, but it seems that you have not passed the Test of the Orc Shaman yet. To take the Test of the Orc Shaman, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-22.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-22.htm new file mode 100644 index 0000000000..13e51bf618 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-22.htm @@ -0,0 +1,4 @@ +High Prefect Drikus:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Shaman. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your magical skills one by one from Seer Racoy nearby.
And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-23.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-23.htm new file mode 100644 index 0000000000..1ab36e1dd5 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30505-23.htm @@ -0,0 +1,3 @@ +High Prefect Drikus:
+I am the High Prefect Drikus, heir to the authority of the eternal father of fire, Pa'agrio, and one who endeavors to revive the glory of the Orcs by teaching them. Could one like you dare to usurp the power of our race? We Orcs are the strongest race to walk the land. The likes of you could never even think of catching up to us. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-01.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-01.htm new file mode 100644 index 0000000000..12c4faa5e5 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-01.htm @@ -0,0 +1,5 @@ +High Prefect Castor:
+To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. Orc Fighters can change profession to an Orc Raider or a Monk. Which profession do you want to know about?
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-02.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-02.htm new file mode 100644 index 0000000000..2cdf342f2c --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-02.htm @@ -0,0 +1,7 @@ +High Prefect Castor:
+Orc Raiders are superb fighters who fight powerfully with weapons. They rely on their pure power and skill to win, not on tactical tricks. Orc Raiders are the most consistent fighters on the battlefield. Their power overwhelms the skills of their enemies.
+The most skillful Orc Raiders are later selected as Destroyers. One on one, Destroyers surpass all other Fighters.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-03.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-03.htm new file mode 100644 index 0000000000..c869c8cb6a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-03.htm @@ -0,0 +1,5 @@ +High Prefect Castor:
+Basically, to earn the qualifications to become an Orc Raider, your level must be at least 20, and you must pass the Test of the Orc Raider.
+To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village. He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village, first go to Gludio, then use a Gatekeeper.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-04.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-04.htm new file mode 100644 index 0000000000..ca2a27f17b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-04.htm @@ -0,0 +1,7 @@ +High Prefect Castor:
+Monksare priests who devote themselves to the path of flame. Unlike Orc Raiders, they do not rely on swords or large weapons, but use their own bodies as weapons of war. Because they do not depend on weapons or armor, they learn many skills to protect themselves.
+The finest Monks are selected to become Tyrants, for still more advanced physical and technical training.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-05.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-05.htm new file mode 100644 index 0000000000..25f341ce2a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-05.htm @@ -0,0 +1,5 @@ +High Prefect Castor:
+Basically, to become a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+To take the Test of the Monk, seek the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-06.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-06.htm new file mode 100644 index 0000000000..da206f7acc --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-06.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. All Orc Mystics can change their occupation to become Orc Shamans.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-07.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-07.htm new file mode 100644 index 0000000000..23e38925cc --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-07.htm @@ -0,0 +1,7 @@ +High Prefect Castor:
+Orc Shamans have the blessing of Pa'agrio, God of Fire, and are able to perform miracles with fire. They bless warriors going into battle to strengthen their allies' attack skills, while placing curses to cripple and hinder their enemies. They are the pride of the Orcs. Their works become far stronger when they act in concert with other Shamans.
+Many of the Shamans who have the highest qualifications become Chief candidates and are called Overlords. Only Shamans can become Overlords. Certain Shamans are also selected as Warcryers, and learn even stronger spells.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-08.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-08.htm new file mode 100644 index 0000000000..a2e6b74248 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-08.htm @@ -0,0 +1,5 @@ +High Prefect Castor:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+To take the Test of the Orc Shaman, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-09.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-09.htm new file mode 100644 index 0000000000..b52ae5cb65 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-09.htm @@ -0,0 +1,3 @@ +High Prefect Castor:
+You cannot change profession, because you have already done so. Work hard to build on your skills, and in time you will be able to attain a still more advanced profession. May the blessing of Pa'agrio, the God of Fire, be with you. Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-10.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-10.htm new file mode 100644 index 0000000000..9d754aa613 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-10.htm @@ -0,0 +1,3 @@ +High Prefect Castor:
+Haven't you already changed profession twice? You have attained great strength. I hope you will always use your power to restore the glory of our race. Give your enemies a taste of your unthinkable strength! Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-11.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-11.htm new file mode 100644 index 0000000000..2b091ee521 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-11.htm @@ -0,0 +1,3 @@ +High Prefect Castor:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You need a token to prove you have passed the Test of the Orc Raider, as well.
it seems that you have passed the Test of the Orc Raider, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Come back when you have increased your level. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-12.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-12.htm new file mode 100644 index 0000000000..9a2290f388 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-12.htm @@ -0,0 +1,3 @@ +High Prefect Castor:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You also need a token, to prove you have passed the Test of the Orc Raider.
However, it seems that your level is not high enough, and you have not yet passed the Test of the Orc Raider. First, work to raise your level to 20 or higher. To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village, first go to Gludio, then use a Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-13.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-13.htm new file mode 100644 index 0000000000..a870067a31 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-13.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify to change profession. You need a token to prove you have passed the Test of the Orc Raider, as well.
+I am satisfied with your level, but it seems that you have not passed the Test of the Orc Raider. To take the Test of the Orc Raider, go to Prefect Karukia of the Orc village. He will tell you everything you need to know. If you pass the test and come back, I will change your profession. To get to the Orc village, first go to Gludio, then use a Gatekeeper. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-14.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-14.htm new file mode 100644 index 0000000000..cb05c0a7ae --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-14.htm @@ -0,0 +1,5 @@ +High Prefect Castor:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Raider. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your skills one by one from Prefect Dowki nearby.
+And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-15.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-15.htm new file mode 100644 index 0000000000..1ba5970952 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-15.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+Basically, to be qualified for a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+It seems that you have passed the Test of the Monk, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Come back when you have increased your level. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-16.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-16.htm new file mode 100644 index 0000000000..a7b55a9792 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-16.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+Basically, to be qualified for a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+However, it seems that your level is not high enough, and you have not yet passed the Test of the Monk. First, work to raise your level to 20 or higher. To take the Test of the Monk, seek the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-17.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-17.htm new file mode 100644 index 0000000000..3ff2568eda --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-17.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+Basically, to qualify as a Monk, your level must be at least 20 and you must pass the Test of the Monk.
+I am satisfied with your level, but it seems that you have not passed the Test of the Monk yet. To take the test, go to the Orc named Gantaki Zu Urutu of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-18.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-18.htm new file mode 100644 index 0000000000..4d9865e8a7 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-18.htm @@ -0,0 +1,5 @@ +High Prefect Castor:
+High Prefect Cional:
Dejakar Pa'agrio! Congratulations! You are now a proud Orc Monk. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your skills one by one from Prefect Dowki nearby.
+And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-19.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-19.htm new file mode 100644 index 0000000000..86231a995a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-19.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+To obtain the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+It seems that you have passed the Test of the Orc Shaman, but your level is not sufficient. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not sufficient, even though you have a token. Raise your level and come back. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-20.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-20.htm new file mode 100644 index 0000000000..4721aa9b8d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-20.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+To meet the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+However, it seems that your level is not high enough, and you have not yet passed the Test of the Orc Shaman. First, work to raise your level to 20 or higher. To take the Test of the Orc Shaman, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-21.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-21.htm new file mode 100644 index 0000000000..841491feef --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-21.htm @@ -0,0 +1,4 @@ +High Prefect Castor:
+To meet the qualifications to become an Orc Shaman, your level must be at least 20 and you must pass the Test of the Orc Shaman.
+I am satisfied with your level, but it seems that you have not passed the Test of the Orc Shaman yet. To take the test, go to Tataru Zu Hestui of the Orc village. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-22.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-22.htm new file mode 100644 index 0000000000..c89f568524 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-22.htm @@ -0,0 +1,5 @@ +High Prefect Castor:
+Dejakar Pa'agrio! Congratulations! You are now a proud Orc Shaman. Devote yourself so that the honor of the Orc race remains untarnished!
+Learn your skills one by one from Seer Somak nearby.
+And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-23.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-23.htm new file mode 100644 index 0000000000..89e6a8a52a --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/30508-23.htm @@ -0,0 +1,3 @@ +High Prefect Castor:
+I am the High Prefect Castor, heir to the authority of the eternal father of fire, Pa'agrio, and one who endeavors to revive the glory of the Orcs by teaching them. Could one like you dare to usurp the power of our race? We Orcs are the strongest race to walk the land. The likes of you could never even think of catching up to us. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-01.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-01.htm new file mode 100644 index 0000000000..80a589b8df --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-01.htm @@ -0,0 +1,5 @@ +High Prefect Finker:
+Class transfer is simply the advancement to the next class, made when a person reaches a certain level of ability and experience. Orc Fighters can become Orc Raiders or Orc Monks. I can tell you all there is to know about these proud occupations.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-02.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-02.htm new file mode 100644 index 0000000000..69bfb583a0 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-02.htm @@ -0,0 +1,7 @@ +High Prefect Finker:
+Orc Raiders are elite Warriors who take their study of weaponry very seriously. Treasured allies on the battlefield, Orc Raiders crush their enemies with brute strength!
+The most elite Orc Raiders become Destroyers, fierce front-line Warriors.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-03.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-03.htm new file mode 100644 index 0000000000..c0517f69d3 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-03.htm @@ -0,0 +1,5 @@ +High Prefect Finker:
+Orc Raiders are a major force of the Orc race. To become one, you must have achieved at least level 20 and passed the Orc Raider test.
+Talk to Prefect Karukia in the Orc Village to find out more about the test. He was once a great Orc Warrior, and now teaches young Orcs the ways of war. Pass his test and bring me the proof, and I'll promote you Orc Raider!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-04.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-04.htm new file mode 100644 index 0000000000..430a0b8ef0 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-04.htm @@ -0,0 +1,7 @@ +High Prefect Finker:
+Orc Monks are Priests of Pa'agrio, selected from Orc Fighters who prefer to harness their inner strength. Orc Monks use no weapons at all, relying instead upon their extensive training in exotic martial arts.
+The most accomplished of Orc Monks are selected to be Tyrants. Tyrants hone their bodies to unprecedented perfection.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-05.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-05.htm new file mode 100644 index 0000000000..47566f3670 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-05.htm @@ -0,0 +1,5 @@ +High Prefect Finker:
+Orc Monks are priests who worship Pa'agrio, the God of Fire. To become one, you must have achieved at least level 20 and passed the appropriate test.
+If you want to take the test, go see Gantaki Zu Urutu in the Orc Village. He was once a great Orc Monk himself, and now teaches young Orcs the way of martial combat. Pass his test and bring me the proof, and I'll promote you to Orc Monk.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-06.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-06.htm new file mode 100644 index 0000000000..6004d214f0 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-06.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Class transfer is simply the advancement to the next class, made when a person reaches a certain level of ability and experience. Orc Mystics can become Orc Shamans. Do you want to know about Orc Shamans?
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-07.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-07.htm new file mode 100644 index 0000000000..b39a09bc1f --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-07.htm @@ -0,0 +1,7 @@ +High Prefect Finker:
+Orc Shamans are blessed by Pa'agrio, Father of Fire! Their fiery miracles have brought them renown throughout the land. They bless Warriors before battle, enhance the attack power of their party and place devastating curses upon their enemies. Orc Shamans are always in demand on the battlefield.
+The most elite Orc Shamans are chosen to be Chief Candidates known as Overlords. This is one of the most respected of all Orc positions. Elite Orc Shamans who wish to develop their spellcasting abilities choose to become Warcryers.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-08.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-08.htm new file mode 100644 index 0000000000..1f756a8c75 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-08.htm @@ -0,0 +1,5 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Shaman must have achieved at least level 20 and passed the appropriate test.
+Talk to Tataru Zu Hestui in the Orc Village to find out more about the test. Pass his test and bring me the proof, and I'll transfer your class.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-09.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-09.htm new file mode 100644 index 0000000000..69b4782150 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-09.htm @@ -0,0 +1,3 @@ +High Prefect Finker:
+You've already completed your first class transfer, and you come to transfer again? Develop your strength and transfer to an even higher class. Do not squander your time! Use it to build your physical strength! Stoke the fire in your belly! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-10.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-10.htm new file mode 100644 index 0000000000..d7df60e71d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-10.htm @@ -0,0 +1,3 @@ +High Prefect Finker:
+Docara! You've transferred twice already and you want to transfer again? Strong iron is strengthened in the fire, and we Orc Warriors get stronger through hard training! You don't need to transfer classes anymore. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-11.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-11.htm new file mode 100644 index 0000000000..6bde15d88e --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-11.htm @@ -0,0 +1,3 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Raider must have achieved at least level 20.
You passed the test, but your level is too low. Raise your level and then come back to see me. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-12.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-12.htm new file mode 100644 index 0000000000..705c364581 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-12.htm @@ -0,0 +1,3 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Raider must have achieved at least level 20 and passed the Orc Raider test.
You've done neither! Get to level 20 and then go and find Prefect Karukia in the Orc Village. He was once a great Orc Warrior, and now he teaches young Orcs the ways of war. Pass his test and bring me the proof, andI'll make you an Orc Raider! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-13.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-13.htm new file mode 100644 index 0000000000..37e53fbbdc --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-13.htm @@ -0,0 +1,3 @@ +High Prefect Finker:
+In order to be an Orc Raider, you must have passed the appropriate test. Speak with Prefect Karukia in the Orc Village. Pass the test he gives you and bring me the proof. Then I will promote you to Orc Raider. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-14.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-14.htm new file mode 100644 index 0000000000..fd27a4cb70 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-14.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Oroca Tejakar! Congratulations! You are now a brave Orc Raider. I pray that you will use your strength to revive the glory of the Orc race.
+If you wish to learn new skills, ask Prefect Dowki nearby. He will guide you.
And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-15.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-15.htm new file mode 100644 index 0000000000..4cd302ca85 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-15.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Monk must have achieved at least level 20 and passed the Orc Monk test.
+You've passed the test, but you haven't earned enough experience. Come back to see me when you've raised your level. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-16.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-16.htm new file mode 100644 index 0000000000..98acd372d3 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-16.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Monk must have achieved at least level 20 and passed the Orc Monk test.
+You've done neither! Raise your level, take the Orc Monk test, and then bring me the proof. To take the test, go see Gantaki Zu Urutu in the Orc Village. He was once a great Orc Monk, and now teaches young Orcs the ways of battle. Pass his test and I'll make you an Orc Monk. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-17.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-17.htm new file mode 100644 index 0000000000..22cfda07c3 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-17.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Monk must have achieved at least level 20 and passed the Orc Monk test.
+Your level is satisfactory, but you haven't passed the test! Speak with Gantaki Zu Urutu in the Orc Village. Pass his test and I'll make you an Orc Monk. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-18.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-18.htm new file mode 100644 index 0000000000..5ba18f51ed --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-18.htm @@ -0,0 +1,5 @@ +High Prefect Finker:
+Oroca Tejakar! Congratulations! You are now a proud Orc Monk. I pray that you will use your strength to revive the glory of the Orc race.
+If you wish to learn new skills, ask Prefect Dowki nearby. He will guide you.
+And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-19.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-19.htm new file mode 100644 index 0000000000..f30c4a5d88 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-19.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Shaman must have achieved at least level 20.
+You passed the Orc Shaman test, but you haven't earned enough experience. Raise your level and then come back to me. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-20.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-20.htm new file mode 100644 index 0000000000..e19f56ea9b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-20.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Shaman must have achieved at least level 20 and passed the appropriate test.
+You've done neither! Raise your level, take the Orc Shaman test, and then bring me the proof. To take the test, speak with Tataru Zu Hestui in the Orc Village. Pass his test and I'll make you an Orc Monk. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-21.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-21.htm new file mode 100644 index 0000000000..3f7e803749 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-21.htm @@ -0,0 +1,4 @@ +High Prefect Finker:
+Anyone wishing to become an Orc Shaman must have achieved at least level 20 and passed the appropriate test.
+Your level is satisfactory, but you haven't passed the test! Speak with Tataru Zu Hestui in the Orc Village. Pass his test and I'll make you an Orc Monk. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-22.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-22.htm new file mode 100644 index 0000000000..cd239c0395 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-22.htm @@ -0,0 +1,5 @@ +High Prefect Finker:
+Oroca Tejakar! Congratulations! You are now an honorable Orc Shaman. I pray that you will use your power to help restore the glory of the Orc race.
+If you wish to learn new magic, ask Seer Moira nearby. He will guide you.
+And here is a small gift to help you in your journey! Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you can exchange it for a usable Shadow Weapon! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-23.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-23.htm new file mode 100644 index 0000000000..2a8eb21ee5 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/32097-23.htm @@ -0,0 +1,3 @@ +High Prefect Finker:
+Pa'agrio Tejakar! Do you really think you can withstand the training of an Orc Warrior? You may be proud, but there's no fire in your belly! Off with you! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/OrcChange1.java b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/OrcChange1.java new file mode 100644 index 0000000000..6fa71c8947 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange1/OrcChange1.java @@ -0,0 +1,238 @@ +/* + * Copyright (C) 2004-2015 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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 . + */ +package village_master.OrcChange1; + +import ai.npc.AbstractNpcAI; + +import com.l2jserver.gameserver.enums.CategoryType; +import com.l2jserver.gameserver.enums.Race; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.base.ClassId; + +/** + * Orc class transfer AI. + * @author Adry_85 + */ +public final class OrcChange1 extends AbstractNpcAI +{ + // NPCs + private static int[] NPCS = + { + 30500, // Osborn + 30505, // Drikus + 30508, // Castor + 32097, // Finker + }; + + // Items + private static final int SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE = 8869; + private static final int MARK_OF_RAIDER = 1592; + private static final int KHAVATARI_TOTEM = 1615; + private static final int MASK_OF_MEDIUM = 1615; + + private OrcChange1() + { + super(OrcChange1.class.getSimpleName(), "village_master"); + addStartNpc(NPCS); + addTalkId(NPCS); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + String htmltext = null; + switch (event) + { + case "30500-01.htm": // high_prefect_osborn003f + case "30500-02.htm": // high_prefect_osborn006fa + case "30500-03.htm": // high_prefect_osborn007fa + case "30500-04.htm": // high_prefect_osborn006fb + case "30500-05.htm": // high_prefect_osborn007fb + case "30500-06.htm": // high_prefect_osborn003m + case "30500-07.htm": // high_prefect_osborn006ma + case "30500-08.htm": // high_prefect_osborn007ma + case "30505-01.htm": // high_prefect_drikus003f + case "30505-02.htm": // high_prefect_drikus006fa + case "30505-03.htm": // high_prefect_drikus007fa + case "30505-04.htm": // high_prefect_drikus006fb + case "30505-05.htm": // high_prefect_drikus007fb + case "30505-06.htm": // high_prefect_drikus003m + case "30505-07.htm": // high_prefect_drikus006ma + case "30505-08.htm": // high_prefect_drikus007ma + case "30508-01.htm": // high_prefect_cional003f + case "30508-02.htm": // high_prefect_cional006fa + case "30508-03.htm": // high_prefect_cional007fa + case "30508-04.htm": // high_prefect_cional006fb + case "30508-05.htm": // high_prefect_cional007fb + case "30508-06.htm": // high_prefect_cional003m + case "30508-07.htm": // high_prefect_cional006ma + case "30508-08.htm": // high_prefect_cional007ma + case "32097-01.htm": // high_prefect_finker003f + case "32097-02.htm": // high_prefect_finker006fa + case "32097-03.htm": // high_prefect_finker007fa + case "32097-04.htm": // high_prefect_finker006fb + case "32097-05.htm": // high_prefect_finker007fb + case "32097-06.htm": // high_prefect_finker003m + case "32097-07.htm": // high_prefect_finker006ma + case "32097-08.htm": // high_prefect_finker007ma + { + htmltext = event; + break; + } + case "45": + case "47": + case "50": + { + htmltext = ClassChangeRequested(player, npc, Integer.valueOf(event)); + break; + } + } + return htmltext; + } + + private String ClassChangeRequested(L2PcInstance player, L2Npc npc, int classId) + { + String htmltext = null; + if (player.isInCategory(CategoryType.SECOND_CLASS_GROUP)) + { + htmltext = npc.getId() + "-09.htm"; // fnYouAreSecondClass + } + else if (player.isInCategory(CategoryType.THIRD_CLASS_GROUP)) + { + htmltext = npc.getId() + "-10.htm"; // fnYouAreThirdClass + } + else if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP)) + { + htmltext = "30500-24.htm"; // fnYouAreFourthClass + } + else if ((classId == 45) && (player.getClassId() == ClassId.ORC_FIGHTER)) + { + if (player.getLevel() < 20) + { + if (hasQuestItems(player, MARK_OF_RAIDER)) + { + htmltext = npc.getId() + "-11.htm"; // fnLowLevel11 + } + else + { + htmltext = npc.getId() + "-12.htm"; // fnLowLevelNoProof11 + } + } + else if (hasQuestItems(player, MARK_OF_RAIDER)) + { + takeItems(player, MARK_OF_RAIDER, -1); + player.setClassId(45); + player.setBaseClass(45); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE, 15); + htmltext = npc.getId() + "-14.htm"; // fnAfterClassChange11 + } + else + { + htmltext = npc.getId() + "-13.htm"; // fnNoProof11 + } + } + else if ((classId == 47) && (player.getClassId() == ClassId.ORC_FIGHTER)) + { + if (player.getLevel() < 20) + { + if (hasQuestItems(player, KHAVATARI_TOTEM)) + { + htmltext = npc.getId() + "-15.htm"; // fnLowLevel12 + } + else + { + htmltext = npc.getId() + "-16.htm"; // fnLowLevelNoProof12 + } + } + else if (hasQuestItems(player, KHAVATARI_TOTEM)) + { + takeItems(player, KHAVATARI_TOTEM, -1); + player.setClassId(47); + player.setBaseClass(47); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE, 15); + htmltext = npc.getId() + "-18.htm"; // fnAfterClassChange12 + } + else + { + htmltext = npc.getId() + "-17.htm"; // fnNoProof12 + } + } + else if ((classId == 50) && (player.getClassId() == ClassId.ORC_MAGE)) + { + if (player.getLevel() < 20) + { + if (hasQuestItems(player, MASK_OF_MEDIUM)) + { + htmltext = npc.getId() + "-19.htm"; // fnLowLevel21 + } + else + { + htmltext = npc.getId() + "-20.htm"; // fnLowLevelNoProof21 + } + } + else if (hasQuestItems(player, MASK_OF_MEDIUM)) + { + takeItems(player, MASK_OF_MEDIUM, -1); + player.setClassId(50); + player.setBaseClass(50); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE, 15); + htmltext = npc.getId() + "-22.htm"; // fnAfterClassChange21 + } + else + { + htmltext = npc.getId() + "-21.htm"; // fnNoProof21 + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + String htmltext = null; + if (player.getRace() == Race.ORC) + { + if (player.isInCategory(CategoryType.FIGHTER_GROUP)) + { + htmltext = npc.getId() + "-01.htm"; // fnClassList1 + } + else if (player.isInCategory(CategoryType.MAGE_GROUP)) + { + htmltext = npc.getId() + "-06.htm"; // fnClassList2 + } + } + else + { + htmltext = npc.getId() + "-23.htm"; // fnClassMismatch + } + return htmltext; + } + + public static void main(String[] args) + { + new OrcChange1(); + } +} diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-01.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-01.htm new file mode 100644 index 0000000000..819015afea --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-01.htm @@ -0,0 +1,4 @@ + +You are limited to two occupational changes.
+You would be better served training yourself. Remember that strength flows from your mind, not your weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-02.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-02.htm new file mode 100644 index 0000000000..eccd697124 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-02.htm @@ -0,0 +1,4 @@ + +An occupational change occurs when one gets promoted to a higher-level occupation. An Orc Raider may advance to Destroyer.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-03.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-03.htm new file mode 100644 index 0000000000..b789f40c14 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-03.htm @@ -0,0 +1,5 @@ + +Destroyers are the highest level of Orc Fighters. Typically fighting to the death, their name suits them well.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-04.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-04.htm new file mode 100644 index 0000000000..11ade78cf3 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-04.htm @@ -0,0 +1,6 @@ + +Destroyers are courageous Orc Fighters who are best at the front line, wielding huge swords and axes. Orc Raiders advance to this occupation.
+To become a Destroyer, your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-05.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-05.htm new file mode 100644 index 0000000000..a3b1b9f416 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-05.htm @@ -0,0 +1,7 @@ + +Each mark requires its own trial.
+The Mark of the Challenger is reserved for those who pass the Trial of the Challenger. You must be above level 35 to qualify. To take this test visit Kash of the Town of Dion.
+The Mark of Glory is only given to those who pass the Testimony of Glory. You must be above level 37 to qualify. To take this test visit Prefect Vokian of the Town of Giran.
+And last, the Mark of the Champion is only given to those who pass the Test of the Champion. You must be above level 39 to qualify. To take this test visit Veteran Ascalon of the Town of Giran.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-06.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-06.htm new file mode 100644 index 0000000000..ed38d5a7e2 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-06.htm @@ -0,0 +1,4 @@ + +An occupational change occurs when one gets promoted to a higher-level occupation. An Orc Monk may advance to Tyrant.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-07.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-07.htm new file mode 100644 index 0000000000..1678ab23b6 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-07.htm @@ -0,0 +1,5 @@ + +Tyrants are the highest level of priests. Fearless, they forgo weapons for their bare fists.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-08.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-08.htm new file mode 100644 index 0000000000..8f01230f88 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-08.htm @@ -0,0 +1,5 @@ + +The Tyrant is an advanced occupation of the Orc Monk. Lightly armed, their attack is quick and devastating. Known to sacrifice stamina and defense in order to make their attack even faster. In order to become a Tyrant, your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-09.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-09.htm new file mode 100644 index 0000000000..2808557d70 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-09.htm @@ -0,0 +1,7 @@ + +Each mark requires its own test.
+The Mark of the Challenger is reserved for those who pass the Trial of the Challenger. You must be above level 35 to qualify. To take this test visit Kash of the Town of Dion.
+The Mark of Glory is reserved for those who pass the Testimony of Glory. You must be above level 37 to qualify. To take this test visit Prefect Vokian of the Town of Giran.
+And last, the Mark of the Duelist is reserved for those who pass the Test of the Duelist. You must be above level 39 to qualify. To take this test meet Duelist Kaien of the Town of Oren.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-10.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-10.htm new file mode 100644 index 0000000000..06ab26d41b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-10.htm @@ -0,0 +1,5 @@ + +An occupational change occurs when one gets promoted to a higher-level occupation. An Orc Shaman can advance to Overlord or a Warcryer. Which occupation would you like to learn about?
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-11.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-11.htm new file mode 100644 index 0000000000..6a5457b8f2 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-11.htm @@ -0,0 +1,6 @@ + +An Overlord is an advanced Orc Shaman. Possessing the qualities required to be head of a tribe, only they can lead our clan to a higher level.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-12.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-12.htm new file mode 100644 index 0000000000..396446a8bd --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-12.htm @@ -0,0 +1,6 @@ + +An Overlord is an advanced Orc Shaman, with strong basic supplementary magic to protect and strengthen his clan. This occupation is specialized for clan wars.
+To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-13.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-13.htm new file mode 100644 index 0000000000..bfbca31654 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-13.htm @@ -0,0 +1,7 @@ + +Each mark requires its own test.
+The Mark of the Pilgrim is reserved for those who pass the Trial of the Pilgrim. You must be above level 35 to qualify. To this test visit Hermit Santiago in the Estate of Gludio. He lives on a farm with Piotur.
+The Mark of Glory is only given to those who pass the Testimony of Glory. You must be above level 37 to qualify. To take this test visit Prefect Vokian of the Town of Giran.
+And last, the Mark of the Lord is only given to those who pass the Test of the Lord. You must be above level 39 to qualify. To take this test visit Flame Lord Kakai of the Orc Village.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-14.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-14.htm new file mode 100644 index 0000000000..a348978291 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-14.htm @@ -0,0 +1,6 @@ + +Warcryers are advanced form of Shaman. They burst into song at the peak of battle to bolster the fighting spirit. Also capable of supplementary magic.
+ + + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-15.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-15.htm new file mode 100644 index 0000000000..c5a601ac82 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-15.htm @@ -0,0 +1,6 @@ + +Warcryers specialize in party play. A Warcryer uses a spell called Song of War to heal and increase the fighting spirit of his comrades. They increase attack speed, evasion and critical attack power of party members. He is also capable of disrupting opponents with his song.

+To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-16.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-16.htm new file mode 100644 index 0000000000..00e0023d0d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-16.htm @@ -0,0 +1,7 @@ + +Each mark requires its own test.
+The Mark of the Pilgrim is reserved for those who pass the Trial of the Pilgrim. You must be above level 35 to qualify. To take this test visit Hermit Santiago in the Estate of Gludio. He lives on a farm with Piotur.
+The Mark of Glory is reserved for those who pass the Testimony of Glory. You must be above level 37 to qualify. To take this test visit Prefect Vokian of the Town of Giran.
+And last, the Mark of the War Spirit is reserved for those who pass the Test of the War Spirit. You must be above level 39 to qualify. To take this test visit Seer Somak of the Town of Dion.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-17.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-17.htm new file mode 100644 index 0000000000..2e920cbd33 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-17.htm @@ -0,0 +1,3 @@ + +You have yet to complete your first occupational change! I only train advanced Orc Fighters and Mystics. If you wish to study with me you must change occupations. Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-18.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-18.htm new file mode 100644 index 0000000000..13149c4fac --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-18.htm @@ -0,0 +1,4 @@ + +I teach Great Orcs under the authority of the Lord of Eternal Flame, Pa'agrio!
+If you are serious about changing occupations, go and find a guild that suits you. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-19.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-19.htm new file mode 100644 index 0000000000..7c930a6f29 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-19.htm @@ -0,0 +1,3 @@ + +I see that you have already changed occupations. May you always use your skills for the advancement of our race! Give our enemies a taste of your awesome strength! Dejakyar Pa'agrio! + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-20.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-20.htm new file mode 100644 index 0000000000..8ed117955c --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-20.htm @@ -0,0 +1,4 @@ + +To become a Destroyer your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.
+I see that you have collected all 3 marks, but lack the training to advance. Come back when you have completed your training and I will advance your occupation to Destroyer. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-21.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-21.htm new file mode 100644 index 0000000000..1408e89368 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-21.htm @@ -0,0 +1,4 @@ + +To become a Destroyer your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Destroyer. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-22.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-22.htm new file mode 100644 index 0000000000..2ee827d55d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-22.htm @@ -0,0 +1,4 @@ + +Dejakar Pa'agrio! Congratulations! You are finally a proud Destroyer. Devote yourself to restoring the honor of the Orc race and you will go far!
+Our guild has prepared this small gift to assist you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you will be able to exchange it for a usable Shadow Weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-23.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-23.htm new file mode 100644 index 0000000000..cf894260a6 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-23.htm @@ -0,0 +1,4 @@ + +To become a Destroyer your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Champion.
+Your training is impressive but you still have not collected all 3 marks. Return to me when you get the marks and I will advance your occupation to Destroyer. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-24.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-24.htm new file mode 100644 index 0000000000..0af6040018 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-24.htm @@ -0,0 +1,4 @@ + +To become a Tyrant your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.
+I see that you have collected all 3 marks, but lack the training to advance. Come back when you have completed your training and I will advance your occupation to Tyrant. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-25.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-25.htm new file mode 100644 index 0000000000..cca9939cb4 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-25.htm @@ -0,0 +1,4 @@ + +To become a Tyrant your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Tyrant. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-26.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-26.htm new file mode 100644 index 0000000000..add7671873 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-26.htm @@ -0,0 +1,4 @@ + +Congratulations! You are finally a proud Tyrant. Devote yourself to restoring the honor of the Orc race and you will go far!
+Our guild has prepared this small gift to assist you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you will be able to exchange it for a usable Shadow Weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-27.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-27.htm new file mode 100644 index 0000000000..3d08715122 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-27.htm @@ -0,0 +1,4 @@ + +To become a Tyrant your level must be over 40 and you must collect the Mark of the Challenger, the Mark of Glory, and the Mark of the Duelist.
+Your training is impressive but you still have not collected all 3 marks. Return to me when you get the marks and I will advance your occupation to Tyrant. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-28.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-28.htm new file mode 100644 index 0000000000..b6a1017ecd --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-28.htm @@ -0,0 +1,4 @@ + +To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.
+I see that you have collected all 3 marks, but lack the training to advance. Come back when you have completed your training and I will advance your occupation to Overlord. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-29.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-29.htm new file mode 100644 index 0000000000..a17f02564e --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-29.htm @@ -0,0 +1,4 @@ + +To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Overlord. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-30.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-30.htm new file mode 100644 index 0000000000..010b88f980 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-30.htm @@ -0,0 +1,4 @@ + +Dejakar Pa'agrio! Congratulations! You have finally become a mighty Overlord able to lead our Orc people. I hope that you will lead us again to the glory we once knew!
+Our guild has prepared this small gift to assist you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you will be able to exchange it for a usable Shadow Weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-31.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-31.htm new file mode 100644 index 0000000000..31acf98483 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-31.htm @@ -0,0 +1,4 @@ + +To become an Overlord your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the Lord.
+Your training is impressive but you still have not collected all 3 marks. Return to me when you get the marks and I will advance your occupation to Overlord. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-32.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-32.htm new file mode 100644 index 0000000000..772dbbf28b --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-32.htm @@ -0,0 +1,4 @@ + +To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.
+I see that you have collected all 3 marks, but lack the training to advance. Come back when you have completed your training and I will advance your occupation to Warcryer. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-33.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-33.htm new file mode 100644 index 0000000000..1bd3da514c --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-33.htm @@ -0,0 +1,4 @@ + +To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.
+Obviously you lack the marks and the skills to advance. Come back when you have collected all 3 marks and completed the necessary training and I will change your occupation to Warcryer. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-34.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-34.htm new file mode 100644 index 0000000000..c33027e300 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-34.htm @@ -0,0 +1,4 @@ + +Dejakar Pa'agrio! Congratulations! You are finally a proud Warcryer. Devote yourself to restoring the honor of the Orc race and you will go far!
+Our guild has prepared this small gift to assist you in your journey. Take this to the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town and you will be able to exchange it for a usable Shadow Weapon. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-35.htm b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-35.htm new file mode 100644 index 0000000000..bc49baf0d9 --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/30513-35.htm @@ -0,0 +1,4 @@ + +To become a Warcryer your level must be over 40 and you must collect the Mark of the Pilgrim, the Mark of Glory, and the Mark of the War Spirit.
+Your training is impressive but you still have not collected all 3 marks. Return to me when you get the marks and I will advance your occupation to Warcryer. + \ No newline at end of file diff --git a/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/OrcChange2.java b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/OrcChange2.java new file mode 100644 index 0000000000..927000727d --- /dev/null +++ b/trunk/dist/game/data_classic/scripts/village_master/OrcChange2/OrcChange2.java @@ -0,0 +1,267 @@ +/* + * Copyright (C) 2004-2015 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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 . + */ +package village_master.OrcChange2; + +import ai.npc.AbstractNpcAI; + +import com.l2jserver.gameserver.enums.CategoryType; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.base.ClassId; + +/** + * Orc class transfer AI. + * @author Adry_85 + */ +public final class OrcChange2 extends AbstractNpcAI +{ + // NPCs + private static int[] NPCS = + { + 30513, // Penatus + 30681, // Karia + 30704, // Garvarentz + 30865, // Ladanza + 30913, // Tushku + 31288, // Aklan + 31326, // Lambac + 31336, // Rahorakti + 31977, // Shaka + }; + + // Items + private static final int SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE = 8870; + private static final int MARK_OF_CHALLENGER = 2627; // proof11x, proof21x + private static final int MARK_OF_PILGRIM = 2721; // proof31x, proof32x + private static final int MARK_OF_DUELIST = 2762; // proof21z + private static final int MARK_OF_WARSPIRIT = 2879; // proof32z + private static final int MARK_OF_GLORY = 3203; // proof11y, proof21y, proof31y, proof32y + private static final int MARK_OF_CHAMPION = 3276; // proof11z + private static final int MARK_OF_LORD = 3390; // proof31z + + // Classes + private static final int DESTROYER = 46; + private static final int TYRANT = 48; + private static final int OVERLORD = 51; + private static final int WARCRYER = 52; + + private OrcChange2() + { + super(OrcChange2.class.getSimpleName(), "village_master"); + addStartNpc(NPCS); + addTalkId(NPCS); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + String htmltext = null; + switch (event) + { + case "30513-03.htm": // master_lv3_orc006ra + case "30513-04.htm": // master_lv3_orc007ra + case "30513-05.htm": // master_lv3_orc007rat + case "30513-07.htm": // master_lv3_orc006ma + case "30513-08.htm": // master_lv3_orc007ma + case "30513-09.htm": // master_lv3_orc007mat + case "30513-10.htm": // master_lv3_orc003s + case "30513-11.htm": // master_lv3_orc006sa + case "30513-12.htm": // master_lv3_orc007sa + case "30513-13.htm": // master_lv3_orc007sat + case "30513-14.htm": // master_lv3_orc006sb + case "30513-15.htm": // master_lv3_orc007sb + case "30513-16.htm": // master_lv3_orc007sbt + { + htmltext = event; + break; + } + case "46": + case "48": + case "51": + case "52": + { + htmltext = ClassChangeRequested(player, Integer.valueOf(event)); + break; + } + } + return htmltext; + } + + private String ClassChangeRequested(L2PcInstance player, int classId) + { + String htmltext = null; + if (player.isInCategory(CategoryType.THIRD_CLASS_GROUP)) + { + htmltext = "30513-19.htm"; // fnYouAreThirdClass + } + else if ((classId == DESTROYER) && (player.getClassId() == ClassId.ORC_RAIDER)) + { + if (player.getLevel() < 40) + { + if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_CHAMPION)) + { + htmltext = "30513-20.htm"; // fnLowLevel11 + } + else + { + htmltext = "30513-21.htm"; // fnLowLevelNoProof11 + } + } + else if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_CHAMPION)) + { + takeItems(player, -1, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_CHAMPION); + player.setClassId(DESTROYER); + player.setBaseClass(DESTROYER); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15); + htmltext = "30513-22.htm"; // fnAfterClassChange11 + } + else + { + htmltext = "30513-23.htm"; // fnNoProof11 + } + } + else if ((classId == TYRANT) && (player.getClassId() == ClassId.ORC_MONK)) + { + if (player.getLevel() < 40) + { + if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_DUELIST)) + { + htmltext = "30513-24.htm"; // fnLowLevel21 + } + else + { + htmltext = "30513-25.htm"; // fnLowLevelNoProof21 + } + } + else if (hasQuestItems(player, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_DUELIST)) + { + takeItems(player, -1, MARK_OF_CHALLENGER, MARK_OF_GLORY, MARK_OF_DUELIST); + player.setClassId(TYRANT); + player.setBaseClass(TYRANT); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15); + htmltext = "30513-26.htm"; // fnAfterClassChange21 + } + else + { + htmltext = "30513-27.htm"; // fnNoProof21 + } + } + else if ((classId == OVERLORD) && (player.getClassId() == ClassId.ORC_SHAMAN)) + { + if (player.getLevel() < 40) + { + if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_LORD)) + { + htmltext = "30513-28.htm"; // fnLowLevel31 + } + else + { + htmltext = "30513-29.htm"; // fnLowLevelNoProof31 + } + } + else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_LORD)) + { + takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_LORD); + player.setClassId(OVERLORD); + player.setBaseClass(OVERLORD); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15); + htmltext = "30513-30.htm"; // fnAfterClassChange31 + } + else + { + htmltext = "30513-31.htm"; // fnNoProof31 + } + } + else if ((classId == WARCRYER) && (player.getClassId() == ClassId.ORC_SHAMAN)) + { + if (player.getLevel() < 40) + { + if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_WARSPIRIT)) + { + htmltext = "30513-32.htm"; // fnLowLevel32 + } + else + { + htmltext = "30513-33.htm"; // fnLowLevelNoProof32 + } + } + else if (hasQuestItems(player, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_WARSPIRIT)) + { + takeItems(player, -1, MARK_OF_PILGRIM, MARK_OF_GLORY, MARK_OF_WARSPIRIT); + player.setClassId(WARCRYER); + player.setBaseClass(WARCRYER); + // SystemMessage and cast skill is done by setClassId + player.broadcastUserInfo(); + giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_C_GRADE, 15); + htmltext = "30513-34.htm"; // fnAfterClassChange32 + } + else + { + htmltext = "30513-35.htm"; // fnNoProof32 + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + String htmltext = null; + if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP) && (player.isInCategory(CategoryType.ORC_MALL_CLASS) || player.isInCategory(CategoryType.ORC_FALL_CLASS))) + { + htmltext = "30513-01.htm"; // fnYouAreFourthClass + } + else if (player.isInCategory(CategoryType.ORC_MALL_CLASS) || player.isInCategory(CategoryType.ORC_FALL_CLASS)) + { + final ClassId classId = player.getClassId(); + if ((classId == ClassId.ORC_RAIDER) || (classId == ClassId.DESTROYER)) + { + htmltext = "30513-02.htm"; // fnClassList1 + } + else if ((classId == ClassId.ORC_MONK) || (classId == ClassId.TYRANT)) + { + htmltext = "30513-06.htm"; // fnClassList2 + } + else if ((classId == ClassId.ORC_SHAMAN) || (classId == ClassId.OVERLORD) || (classId == ClassId.WARCRYER)) + { + htmltext = "30513-10.htm"; // fnClassList3 + } + else + { + htmltext = "30513-17.htm"; // fnYouAreFirstClass + } + } + else + { + htmltext = "30513-18.htm"; // fnClassMismatch + } + return htmltext; + } + + public static void main(String[] args) + { + new OrcChange2(); + } +} diff --git a/trunk/dist/game/data_classic/stats/skills/20000-20099.xml b/trunk/dist/game/data_classic/stats/skills/20000-20099.xml index 0dbd5f1033..1f10a9fc57 100644 --- a/trunk/dist/game/data_classic/stats/skills/20000-20099.xml +++ b/trunk/dist/game/data_classic/stats/skills/20000-20099.xml @@ -86,7 +86,7 @@ - + diff --git a/trunk/java/com/l2jserver/gameserver/model/skills/Skill.java b/trunk/java/com/l2jserver/gameserver/model/skills/Skill.java index 15f14b4b6b..a60f492883 100644 --- a/trunk/java/com/l2jserver/gameserver/model/skills/Skill.java +++ b/trunk/java/com/l2jserver/gameserver/model/skills/Skill.java @@ -1561,6 +1561,11 @@ public final class Skill implements IIdentifiable caster.setChargedShot(ShotType.SOULSHOTS, false); } } + + if (isSuicideAttack()) + { + caster.doDie(caster); + } } public void attach(FuncTemplate f) diff --git a/trunk/java/com/l2jserver/gameserver/network/clientpackets/RequestEnchantItem.java b/trunk/java/com/l2jserver/gameserver/network/clientpackets/RequestEnchantItem.java index 78995a2dc8..c8060949d8 100644 --- a/trunk/java/com/l2jserver/gameserver/network/clientpackets/RequestEnchantItem.java +++ b/trunk/java/com/l2jserver/gameserver/network/clientpackets/RequestEnchantItem.java @@ -352,13 +352,6 @@ public final class RequestEnchantItem extends L2GameClientPacket else { // enchant failed, destroy item - int crystalId = item.getItem().getCrystalItemId(); - int count = item.getCrystalCount() - ((item.getItem().getCrystalCount() + 1) / 2); - if (count < 1) - { - count = 1; - } - if (activeChar.getInventory().destroyItem("Enchant", item, activeChar, null) == null) { // unable to destroy item, cheater ? @@ -383,24 +376,23 @@ public final class RequestEnchantItem extends L2GameClientPacket } L2World.getInstance().removeObject(item); - L2ItemInstance crystals = null; - if (crystalId != 0) + + final int crystalId = item.getItem().getCrystalItemId(); + if ((crystalId != 0) && item.getItem().isCrystallizable()) { - crystals = activeChar.getInventory().addItem("Enchant", crystalId, count, activeChar, item); + int count = item.getCrystalCount() - ((item.getItem().getCrystalCount() + 1) / 2); + count = count < 1 ? 1 : count; + activeChar.getInventory().addItem("Enchant", crystalId, count, activeChar, item); - SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOU_HAVE_EARNED_S2_S1_S); - sm.addItemName(crystals); + final SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOU_HAVE_EARNED_S2_S1_S); + sm.addItemName(crystalId); sm.addLong(count); activeChar.sendPacket(sm); - } - - if (crystalId == 0) - { - activeChar.sendPacket(new EnchantResult(EnchantResult.NO_CRYSTAL, 0, 0)); + activeChar.sendPacket(new EnchantResult(EnchantResult.NO_CRYSTAL, crystalId, count)); } else { - activeChar.sendPacket(new EnchantResult(EnchantResult.FAIL, crystalId, count)); + activeChar.sendPacket(new EnchantResult(EnchantResult.FAIL, 0, 0)); } if (Config.LOG_ITEM_ENCHANTS)