HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Question

06-02-2004, 03:31 AM#1
DeFiLeR8383
I am new to editing FT and was wondering if neone can tell me how to make a passive skill that has splash damage, and units catch fire and take damage over time and also if it is possible to make spell damage a variable.
06-03-2004, 01:48 PM#2
GaDDeN
1: Just give the unit the "Burning oil" ability, which burns the ground over time. Then you can have a trigger which picks every unit within 200 of target and then damage them like 50% of the damage dealt to the unit (splash)... And what you mean make spell damage variable? Doesnt make any sence... you mean a integer variable which you save the damage dealt in? Or?

2: (as i allways say) start off with something easier if you are new, as you said

gl
06-03-2004, 06:23 PM#3
CynicalYouth
Quote:
Originally Posted by DeFiLeR8383
I am new to editing FT and was wondering if neone can tell me how to make a passive skill that has splash damage and units catch fire and take damage over time

This spell requires the use of either Lord Vexorians Caster System or dummy units. I suggest the caster system as it doesnt leak, caluates exp and bounty for you and is fairly easy to use if you read the instructions.

You could make a spell based off of Cleaving Attack that adds splash damge then you would need to use a trigger to do the burning over time. You would do this with a call to the caster system using a custom script call to

function AddDamagingEffectLoc takes player owner, string modelpath, location loc, real damageps , real duration, real area, boolean affectallies returns unit

See the castersystem for directions on how this works.

As for your second question I believe you want a spell that does a variable amount of damage, like 100-200. This is also only possible with the caster system or dummy units as far as I know.