From d55dd6f1224cafb9da84e77a5fd3996f514326af Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 10 Jun 2019 14:59:16 -0300 Subject: 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. --- effects.xml | 6 ++++ graphics/particles/hit.average.xml | 55 +++++++++++++++++++++++++++++++++++ graphics/particles/hit.strong.xml | 55 +++++++++++++++++++++++++++++++++++ graphics/particles/hit.verystrong.xml | 55 +++++++++++++++++++++++++++++++++++ graphics/particles/hit.weak.xml | 44 ++++++++++++++++++++++++++++ items.xml | 33 ++++++++++++++++++++- 6 files changed, 247 insertions(+), 1 deletion(-) create mode 100644 graphics/particles/hit.average.xml create mode 100644 graphics/particles/hit.strong.xml create mode 100644 graphics/particles/hit.verystrong.xml create mode 100644 graphics/particles/hit.weak.xml 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 + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/piouslayer.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/traininggladius.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/woodensword.xml weapons/piouslayer/hit2.ogg @@ -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"> equipment/weapons/backsword.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/piouslayer.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/piouslayer.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/piouslayer.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/piouslayer.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/piouslayer.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/traininggladius.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/scythe.xml weapons/piouslayer/hit2.ogg @@ -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"> equipment/weapons/kanabo.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/heavyaxe.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/heavyaxe.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/heavyaxe.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/scythe.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/traininggladius.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/traininggladius.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/knife.xml weapons/knife/hit1.ogg @@ -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"> equipment/weapons/scythe.xml weapons/piouslayer/hit2.ogg @@ -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"> equipment/weapons/heavyaxe.xml weapons/piouslayer/hit1.ogg @@ -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"> equipment/weapons/woodenbow.xml weapons/bow/shoot.ogg @@ -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">