HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spell functions: pulverize, earthquake, targettable wards?

01-30-2003, 07:21 AM#1
fr0ggE
I want to know how 2 spells behave:

1) Pulverize: how does this work?

2) Earthquake: if you changed the targets to include units then it would do damage to units over time as well as slow them?


I also want to know: if you have a spell that targets things, can you make it target wards?
01-30-2003, 07:54 AM#2
kharma
Hmm..I'm not exactly sure what you mean by work, they seem self-explanatory. Anywho, pulverise works by giving a 25% chance to dealing bonus AOE damage in a given radius whenever the unit with pulverise attacks.

In the .slk it relies on 4 entries in columns Data11, Data12, Data13 and Data 14. They represent the following Values:

Data 11 - % Chance to pulverise
Data 12 - Damage done in the area of effect
Data 13 - How close enemies have to be to be dealt full AOE damage.
Data 14 - How close enemies have to be to be dealt half AOE damage.

As for Earthquake, you may have to do some testing, though I doubt it will work (nevertheless, feel motivated to prove me wrong :D). My reasoning is this: Although there is no specific targ for 'units' used in abilitydata.slk, it may still be a plausible target, although if it isn't you can use 'organic' instead. However, the amount of damage done to buildings over time is based on a specific value in one of the data columns. And you couldn't affect that directly unless you modified the spell coding.

If instead it dealt common damage and relied on the 'targ' to decide what it did and didn't do damage to in relation to units vs. building then it might've been possible. But since it doesn't, I don't think you can.

As for the thing about wards, I'm sure if you simply add 'ward' into the targ column for the corresponding spell it should work.

~kharma
01-30-2003, 10:26 AM#3
fr0ggE
as always you r0xx0r, kharma. That's what i needed to know for pulverize, and i want to make a stinking cloud spell based on earthquake and the "organic" suggestion is perfect.

The ward thing i figured, but i needed to ask it anyway.

thanks a bundle