Hello Otland. I come to release a spell that took me a long time to make, I'm not uber scripter like andu
But my script was in fact inspired by andu and his creative "Seven Arrows" remake. My spell works like this.
ANY DISTANCE WEAPON in the game can be used to shoot a second shot of whatever you are using.
Example if you have an
arbelest with an
infernal bolt and are hunting, you use this spell it will check to make sure you are using compatible bow/crossbow, with arrows/bolts then
shoot the infernal bolt for another shot, damage is based off of distance skill, and it also factors in weapons attack and monsters armor just like a real shot would.
It doesn't however miss target unless the monsters
armor is high enough, it would be easy to alter for it to miss based off of monsters shielding too. However you will never see the animation miss. Critical hits and other special bonuses and configurations aren't in this spell however, I have also programmed in
all the throwable items such as throwing knife, spears, throwing stars, ect. The only one missing is small stone, and thats because on my server I use a slingshot with small stones as ammo, so mine isn't quite done yet.
DAMAGE TYPE:
Spell also has the damage type programmed in for ammunition that does different damage than phyisical, example envenomed arrow does earth damage, so when you shoot a second envenomed arrow it also does earth based damage.
EDITid some optimizing (could make better use of tables still) Updated it to 1.1. Uses less code, fixed a couple bugs I didn't know existed, should work great, hope you guys enjoy!
And Now for the script: spells/scripts/attack/doubleshot.lua