summaryrefslogtreecommitdiff
path: root/npc/re/merchants/enchan_mora.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/merchants/enchan_mora.txt')
-rw-r--r--npc/re/merchants/enchan_mora.txt66
1 files changed, 40 insertions, 26 deletions
diff --git a/npc/re/merchants/enchan_mora.txt b/npc/re/merchants/enchan_mora.txt
index 6db1cc002..6ffdb2ca5 100644
--- a/npc/re/merchants/enchan_mora.txt
+++ b/npc/re/merchants/enchan_mora.txt
@@ -1,22 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) DeadlySilence
+//= Copyright (C) Lemongrass
+//= Copyright (C) Euphy
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Mora Enchants
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Adds enchantments to various items in exchange for Mora coins.
+//================= Current Version =======================================
//= 1.2
-//===== Description: =========================================
-//= [Official Conversion]
-//= Adds enchantments to various items in exchange for
-//= Mora coins.
-//===== Additional Comments: =================================
-//= 1.0 First Version. [Euphy]
-//= 1.1 Optimized. [Euphy]
-//= 1.1a Bug fixes. [Lemongrass]
-//= 1.2 Bug fixes (bugreport:7930) [DeadlySilence]
-//============================================================
+//=========================================================================
-// Arch Bishop Enchants :: coin_arc
-//============================================================
+//== Arch Bishop Enchants :: coin_arc ======================
mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
if (checkweight(1201,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
@@ -315,8 +333,7 @@ mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{
}
}
-// Warlock Enchants :: coin_warrock
-//============================================================
+//== Warlock Enchants :: coin_warrock ======================
mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
if (checkweight(1201,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
@@ -520,8 +537,7 @@ mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{
close;
}
-// Rune Knight, Guillotine Cross, & Ranger Enchants :: new_artifact
-//============================================================
+//== Rune Knight, Guillotine Cross, & Ranger Enchants :: new_artifact =
mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
if (checkweight(1201,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
@@ -1121,7 +1137,7 @@ L_Socket:
mes "I've successfully enhanced the artifact ^990000"+.@equip_name$+"^000000 at socket "+.@slot+".";
}
-// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
+ // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
getitem2 .@equip_id,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],.@equip_card[3];
close;
@@ -1138,7 +1154,7 @@ L_Socket:
Zeny -= 100000;
delequip .@part;
-// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
+ // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
for(.@i = 0; .@i<4; ++.@i) {
if (.@equip_card[.@i] >= 4700) // Armor Enchant System
.@equip_card[.@i] = 0;
@@ -1149,8 +1165,7 @@ L_Socket:
}
}
-// Arch Bishop & Warlock Empowering :: relic_change
-//============================================================
+//== Arch Bishop & Warlock Empowering :: relic_change ======
mora,124,82,4 script Artifact Collector#blan 4_M_RAFLE_OR,{
if (checkweight(1201,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
@@ -1470,8 +1485,7 @@ L_ShowInfo:
return;
}
-// Other Enchants :: sangjo
-//============================================================
+//== Other Enchants :: sangjo ==============================
function script F_Mora_Enchant {
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",3;