summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <notind@gmail.com>2013-02-14 19:50:42 -0800
committershennetsind <notind@gmail.com>2013-02-14 19:50:42 -0800
commit657a2a794b4feb8d5202e2140a5e67075291d3e6 (patch)
treef44f76c41b3aaa14450cfa391a786ba71597f77f
parenta244b61804209ec8a836d8d3f1b7220b2bfec990 (diff)
parentc8b93b550a11b21f46ca04199d86326f9caabdd9 (diff)
downloadhercules-657a2a794b4feb8d5202e2140a5e67075291d3e6.tar.gz
hercules-657a2a794b4feb8d5202e2140a5e67075291d3e6.tar.bz2
hercules-657a2a794b4feb8d5202e2140a5e67075291d3e6.tar.xz
hercules-657a2a794b4feb8d5202e2140a5e67075291d3e6.zip
Merge pull request #17 from Mysteries/master
Added two new Mapflags
-rw-r--r--conf/mapflag/skillduration.txt22
-rw-r--r--conf/mapflag/skillmodifier.txt19
-rw-r--r--npc/scripts_mapflags.conf4
3 files changed, 44 insertions, 1 deletions
diff --git a/conf/mapflag/skillduration.txt b/conf/mapflag/skillduration.txt
new file mode 100644
index 000000000..ca2f82a40
--- /dev/null
+++ b/conf/mapflag/skillduration.txt
@@ -0,0 +1,22 @@
+//===== Hercules Script ======================================
+//= Mapflag: Adjust Skill Duration.
+//===== By: ==================================================
+//= Hercules Dev Team
+//===== Current Version: =====================================
+//= 1.0
+//===== Description: =========================================
+//= This mapflag allows you to control the duration of unit
+//= skills in any map.
+//= Example (1):
+//= prontera mapflag adjust_unit_duration PR_SANCTUARY 50
+//= Halves the duration of Sanctuary in Prontera.
+//=
+//= Example (2):
+//= prontera mapflag adjust_unit_duration WZ_QUAGMIRE 250
+//= Increases duration of Quagmire by 2.5 times in Prontera.
+//===== Disclaimer: ==========================================
+//= Be aware that some skill units have their visual effect
+//= durations not controlled by the server (e.g. Storm Gust).
+//===== Additional Comments: =================================
+//= 1.0 - Initial script.
+//============================================================ \ No newline at end of file
diff --git a/conf/mapflag/skillmodifier.txt b/conf/mapflag/skillmodifier.txt
new file mode 100644
index 000000000..bd60806f7
--- /dev/null
+++ b/conf/mapflag/skillmodifier.txt
@@ -0,0 +1,19 @@
+//===== Hercules Script ======================================
+//= Mapflag: Adjust Skill Damage.
+//===== By: ==================================================
+//= Hercules Dev Team
+//===== Current Version: =====================================
+//= 1.0
+//===== Description: =========================================
+//= This mapflag allows you to modify the damage of any skill
+//= in any map.
+//= Example (1):
+//= prontera mapflag adjust_skill_damage MG_FIREBOLT 50
+//= Halves the damage of Firebolt in Prontera.
+//=
+//= Example (2):
+//= prontera mapflag adjust_skill_damage MG_FIREBOLT 200
+//= Doubles the damage of Firebolt in Prontera.
+//===== Additional Comments: =================================
+//= 1.0 - Initial script.
+//============================================================ \ No newline at end of file
diff --git a/npc/scripts_mapflags.conf b/npc/scripts_mapflags.conf
index ee6bd74e5..429578f1a 100644
--- a/npc/scripts_mapflags.conf
+++ b/npc/scripts_mapflags.conf
@@ -17,7 +17,7 @@ npc: conf/mapflag/noreturn.txt
npc: conf/mapflag/noskill.txt
npc: conf/mapflag/nowarp.txt
npc: conf/mapflag/nowarpto.txt
-//npc: conf/mapflag/partylock.txt
+npc: conf/mapflag/partylock.txt
npc: conf/mapflag/pvp.txt
npc: conf/mapflag/pvp_noparty.txt
npc: conf/mapflag/pvp_noguild.txt
@@ -27,3 +27,5 @@ npc: conf/mapflag/battleground.txt
npc: conf/mapflag/novending.txt
npc: conf/mapflag/town.txt
npc: conf/mapflag/reset.txt
+//npc: conf/mapflag/skillmodifier.txt
+//npc: conf/mapflag/skillduration.txt \ No newline at end of file