Jump to content

LttP Style Bow

Overview
Creator: Lejes Updated: 17 May 2016 Tags: FFC, Item Downloads: 96
Rating[?]: Rating: 4.5/5 (3 ratings)
View Script Download Example
(894.69 KB)
Information

Description Setup Reviews Comments

Requires std.zh (comes with ZC download) and ffcscript.zh (found here).
Bow and arrow tiles cannot exceed 32768!
Your bow and arrow tiles should be in the order up, down, left, right.
This item script should be attached to the Action Script slot of an item that has a custom item class, not an existing bow.
The Power of the item is how much damage it does. Most weapons do two times their "Damage" stat, but not this one!
D0: bow tile
D1: bow CSet
D2: arrow sprite
D3: arrow step speed (300 for short bow, 600 for long bow are ZC defaults)
D4: sparkle sprite number, 0 for none
D5: charge time (charge bow only)

The charge bow also has a global component to handle animation and charge interruption. Place BowActive in your global Active slot, or combine it with your existing Active slot script.
To give the player piercing arrows, give them the golden arrow item (this will make all arrows from any of the player's weapons pierce).