HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Editing Question...

04-07-2003, 01:58 AM#1
Guest
How can you change the damage and duration of spells, and the side effects they inflict? For example, I know how to make a Storm Bolt that looks like the Far Seer's attack and how to change the description so it says it does X amount of damage and inflicts status Y for Z seconds, but how would I go about changing X, Y, and Z?
04-07-2003, 02:03 AM#2
Guest
I'm fairly sure it has something to do with the abilitydata.slk in the war3.mpq file. Other than that, I have no idea. sorry I couldn't be more help.
04-07-2003, 03:12 AM#3
Guest
Okay, I've got the AbilityData.slk and a Spell Editor. Now, would it be possible for me to make an ability that does damage and Purges the target? And, if so, how would I do it?
04-07-2003, 06:55 PM#4
Starcraftfreak
I don't know which spell you actually edited (Creep Storm Bolt?), but you have to edit the string next to "Ubertip=" in NeutralAbilityStrings.txt

Quote:
NeutralAbilityStrings.txt
// Creep Storm Bolt
[ACtb]
Name=Hurl Boulder
Tip=Hurl |cffffcc00B|roulder
Ubertip="A magical boulder that is thrown at an enemy unit, causing <ACtb,Data11> points of damage and stunning the target for <ACtb,Dur1> seconds."
Hotkey=B

Where it says "...causing <ACtb,Data11> points of damage..." you have to edit the data inside the brackets (<>). These data represent the id of the ability in AbilityData.slk and the column (data 11, which is column T in AbilityData.slk). There the damage of the ability is stored. You can change the ubertip as you wish.
04-07-2003, 08:00 PM#5
Guest
I've already figured that out. But I needed to make an ability that does damage and Purges the target, sort of like a Storm Bolt with a Lightning Orb. Or just a Purge that does damage to all units, summoned or not.
04-09-2003, 07:35 PM#6
Guest
That requires triggers in the map itself. You can only make a spell have the effect of an exisiting spell (of course you can change all the numbers). Since I don't think there's a current spell that both Purge's and causes damage (to not just summons), then there is nothing for you to base your new spell. Thus you can't do it.

Someone could correct me if I'm wrong, but I'm fairly certain that's the case.

I don't have my game on the machine I'm on right now. But, if one of the dispell/purge spells' damage has summons listed in the targets section, you could try removing that, and then maybe the damage would apply to all unit types. That might do what you want. I just don't know if the "damages summons" is tied to the targets or hard-coded into the spell logic, and I think it's the latter. Otherwise those would only target summons now, and I know that isn't the case.