aboutsummaryrefslogtreecommitdiffstats
path: root/config/items.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/items.xml')
-rw-r--r--config/items.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/config/items.xml b/config/items.xml
index 6225062..cac7eb1 100644
--- a/config/items.xml
+++ b/config/items.xml
@@ -18,10 +18,20 @@
<!-- WEAPONS -->
<item name="Wood Sword" type="Sword" damage="3" maxStackSize="1" sound="assets/sounds/longSwing.wav" sprite="assets/items/SWORD_WOOD.png" cooldown="250">
- <attack range="6, 2" power="1" effect="assets/effects/starAttack.gif"/>
+ <attack range="6, 2" power="1" effect="assets/effects/starAttack.gif">
+ update = function()
+ flash(255, 0, 0)
+ damage(8)
+ end
+ </attack>
</item>
<item name="Hunters Bow" type="Bow" damage="2" maxStackSize="1" sprite="assets/items/bow.png" cooldown="600">
- <attack power="4" effect="assets/effects/starAttack.gif"/>
+ <attack effect="assets/effects/starAttack.gif">
+ update = function()
+ flash(255, 0, 255)
+ damage(4)
+ end
+ </attack>
</item>
<item name="Arrow" type="Arrow" damage="1" maxStackSize="99" sprite="assets/items/arrow_crude.png"/>