summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-10 14:59:16 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-10 14:59:16 -0300
commitd55dd6f1224cafb9da84e77a5fd3996f514326af (patch)
tree5ec5c6792996ada18ad3ec882bee1950fd7123c8
parentafbb2f55b6cd329ba919f6cf94d4988544c84075 (diff)
downloadclientdata-d55dd6f1224cafb9da84e77a5fd3996f514326af.tar.gz
clientdata-d55dd6f1224cafb9da84e77a5fd3996f514326af.tar.bz2
clientdata-d55dd6f1224cafb9da84e77a5fd3996f514326af.tar.xz
clientdata-d55dd6f1224cafb9da84e77a5fd3996f514326af.zip
Make weapon attack particles vary based on their power.
Power is defined by weapon level OBVIOUSLY. 0~25: Weak. 26~50: Average. 51~75: Strong. 76+: Very Strong.
-rw-r--r--effects.xml6
-rw-r--r--graphics/particles/hit.average.xml55
-rw-r--r--graphics/particles/hit.strong.xml55
-rw-r--r--graphics/particles/hit.verystrong.xml55
-rw-r--r--graphics/particles/hit.weak.xml44
-rw-r--r--items.xml33
6 files changed, 247 insertions, 1 deletions
diff --git a/effects.xml b/effects.xml
index 3a305e14..bf6c061c 100644
--- a/effects.xml
+++ b/effects.xml
@@ -131,6 +131,12 @@ Copyright (C) 2018 TMW2: Moubootaur Legends
<!-- Red-ish Hit Particles -->
<effect id="803" particle="graphics/particles/hit5.xml"/>
+ <!-- Hit effects -->
+ <effect id="810" particle="graphics/particles/hit.weak.xml"/>
+ <effect id="811" particle="graphics/particles/hit.average.xml"/>
+ <effect id="812" particle="graphics/particles/hit.strong.xml"/>
+ <effect id="813" particle="graphics/particles/hit.verystrong.xml"/>
+
<!--+++++++++++++++++++++++-->
<!-- id 10k+: Testing 4144 -->
<!--+++++++++++++++++++++++-->
diff --git a/graphics/particles/hit.average.xml b/graphics/particles/hit.average.xml
new file mode 100644
index 00000000..52da59c0
--- /dev/null
+++ b/graphics/particles/hit.average.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author from The Mana World
+Copyright (C) 2010-2013 Evol Online -->
+
+<effect>
+ <particle position-x="0"
+ position-y="0"
+ position-z="16"
+ lifetime="1">
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="6"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-small.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="6" max="12"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="6"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-medium.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="6" max="12"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="6"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/star-small.png|W:#ffffff,ffffff"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="6" max="12"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="6"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/star-medium.png|W:#ffffff,ffffff"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="3" max="6"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/graphics/particles/hit.strong.xml b/graphics/particles/hit.strong.xml
new file mode 100644
index 00000000..ea426a24
--- /dev/null
+++ b/graphics/particles/hit.strong.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author from The Mana World
+Copyright (C) 2010-2013 Evol Online -->
+
+<effect>
+ <particle position-x="0"
+ position-y="0"
+ position-z="16"
+ lifetime="1">
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="7"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-small.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="8" max="13"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="6"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-medium.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="8" max="14"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="7"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/star-small.png|W:#ffffff,ffffff"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="8" max="13"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="7"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/star-medium.png|W:#ffffff,ffffff"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="4" max="7"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/graphics/particles/hit.verystrong.xml b/graphics/particles/hit.verystrong.xml
new file mode 100644
index 00000000..d1eec3a8
--- /dev/null
+++ b/graphics/particles/hit.verystrong.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author from The Mana World
+Copyright (C) 2010-2013 Evol Online -->
+
+<effect>
+ <particle position-x="0"
+ position-y="0"
+ position-z="16"
+ lifetime="1">
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="8"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-small.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="10" max="15"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="7"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-medium.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="10" max="14"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="7"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/star-small.png|W:#ffffff,ffffff"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="10" max="15"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="7"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/star-medium.png|W:#ffffff,ffffff"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="5" max="8"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/graphics/particles/hit.weak.xml b/graphics/particles/hit.weak.xml
new file mode 100644
index 00000000..75a5c365
--- /dev/null
+++ b/graphics/particles/hit.weak.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author from The Mana World
+Copyright (C) 2010-2013 Evol Online -->
+
+<effect>
+ <particle position-x="0"
+ position-y="0"
+ position-z="16"
+ lifetime="1">
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="5"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-small.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="6" max="11"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="4"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/orb-medium.png"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="5" max="10"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-8" max="8"/>
+ <property name="position-y" min="-8" max="8"/>
+ <property name="vertical-angle" min="45" max="90"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="power" min="0" max="5"/>
+ <property name="gravity" value="0.1"/>
+ <property name="image" value="graphics/particles/star-small.png|W:#ffffff,ffffff"/>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="5" max="10"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/items.xml b/items.xml
index 47017bd4..3b847033 100644
--- a/items.xml
+++ b/items.xml
@@ -5754,6 +5754,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="7"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="100">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -5768,6 +5769,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="24"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="500">
<sprite>equipment/weapons/piouslayer.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -5782,6 +5784,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="30"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="811"
weight="550">
<sprite>equipment/weapons/traininggladius.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -5797,6 +5800,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="20"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="450">
<sprite>equipment/weapons/woodensword.xml</sprite>
<sound event="hit">weapons/piouslayer/hit2.ogg</sound>
@@ -5811,6 +5815,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="44"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="811"
weight="900">
<sprite>equipment/weapons/backsword.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -5825,6 +5830,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="12"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="130">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -5838,6 +5844,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
attack-range="1"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="50">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -5852,6 +5859,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="15"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="350">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -5870,6 +5878,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="70"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="812"
weight="1100">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -5884,6 +5893,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="90"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="813"
weight="1400">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -5898,6 +5908,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="3"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="70">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -5913,6 +5924,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="100"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="813"
weight="1500">
<sprite>equipment/weapons/piouslayer.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -5927,6 +5939,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="35"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="811"
weight="610">
<sprite>equipment/weapons/piouslayer.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -5944,6 +5957,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="80"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="813"
weight="1200">
<sprite>equipment/weapons/piouslayer.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -5959,6 +5973,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="35"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="802"
weight="670">
<sprite>equipment/weapons/piouslayer.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -5973,6 +5988,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="60"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="812"
weight="1000">
<sprite>equipment/weapons/piouslayer.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -6022,7 +6038,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
effect="Splash damage and knockback effect"
level="24"
critical-hit-effect-id="312"
- hit-effect-id="312"
+ hit-effect-id="801"
miss-effect-id="50"
type="equip-1hand"
sellProtected="true"
@@ -6040,6 +6056,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
mattack="25"
effect="Work In Progress"
level="60"
+ hit-effect-id="803"
type="equip-1hand"
sellProtected="true"
weight="1000">
@@ -6057,6 +6074,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="22"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="340">
<sprite>equipment/weapons/traininggladius.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -6075,6 +6093,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="25"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="810"
weight="600">
<sprite>equipment/weapons/scythe.xml</sprite>
<sound event="hit">weapons/piouslayer/hit2.ogg</sound>
@@ -6094,6 +6113,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="60"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="812"
weight="1200">
<sprite>equipment/weapons/kanabo.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -6113,6 +6133,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="40"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="811"
weight="900">
<sprite>equipment/weapons/heavyaxe.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -6132,6 +6153,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="50"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="811"
weight="1100">
<sprite>equipment/weapons/heavyaxe.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -6149,6 +6171,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="60"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="812"
weight="1500">
<sprite>equipment/weapons/heavyaxe.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -6169,6 +6192,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="70"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="812"
weight="1400">
<sprite>equipment/weapons/scythe.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -6184,6 +6208,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="50"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="811"
weight="958">
<sprite>equipment/weapons/traininggladius.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -6199,6 +6224,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="37"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="811"
weight="840">
<sprite>equipment/weapons/traininggladius.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -6214,6 +6240,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="18"
type="equip-1hand"
attack-action="attack"
+ hit-effect-id="810"
weight="160">
<sprite>equipment/weapons/knife.xml</sprite>
<sound event="hit">weapons/knife/hit1.ogg</sound>
@@ -6232,6 +6259,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="75"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="812"
weight="1800">
<sprite>equipment/weapons/scythe.xml</sprite>
<sound event="hit">weapons/piouslayer/hit2.ogg</sound>
@@ -6266,6 +6294,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="255"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="801"
weight="3000">
<sprite>equipment/weapons/heavyaxe.xml</sprite>
<sound event="hit">weapons/piouslayer/hit1.ogg</sound>
@@ -6282,6 +6311,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="255"
type="equip-2hand"
attack-action="attack"
+ hit-effect-id="801"
weight="3000">
<sprite>equipment/weapons/woodenbow.xml</sprite>
<sound event="hit">weapons/bow/shoot.ogg</sound>
@@ -6296,6 +6326,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
attack-range="1"
level="255"
type="equip-2hand"
+ hit-effect-id="801"
weight="3000">
</item>
<item id="3604"