Fire, Ice and Vitriol Arrow .py scripts. Derivatives of Rednexela's Petrification and Firebomb arrows.
For some reason the original firebomb arrow didn't work right so I made a change then created these other two versions.
Included is a test map so you can see how they work and copy over any way you'd like.
-titus
I like the idea :) But we'll need to figure where to add those arrows and their price, especially vitriol, which is quite powerful.
I think the Python code could be factorised:
- the spell(s) to cast could be in a key in the arrow itself
- this would allow to have only one script instead of 3, and allow other spells
- using a loop would be better than duplicating lines
I can help you change the scripts/patch, or directly add a new version.
I appreciate it. If you even wanted to offer a small example in the comments here that I could go off I can submit a new version.
Also I'm not sure about controlling the magnitude of the spell, perhaps I have to make specific spell archs for the arrows so they're less intense? idk, whatever you think.
Generic script attached, to be put into
maps/python/items
.In the arrows themselves (not the event), add a key like
arrow_spell 1:spell_burning_hands;1:spell_hellfire
orarrow_spell 3:spell_vitriol_splash
(format is "cast times:spell archetype;cast times:spell archetype;...).Modified version of the script applied as r21599.
Added 3 arrow artifacts, with fire, cold and poison spells, in r21601.