
In this next edition of Diablo 2 Skill Editing we will discuss removing spell timers, summoning all golems at once, decreasing mana cost, and making Chilling Armor attack melee attackers. This is a wealth of information, so don’t skip out on it!
Tools Required
Tutorial Prerequisite
Files Needed
Extract files from Patch_d2.mpq (If not using fixed txts):
Skill Level: Intermediate
Part 1: Removing Spell Timers, and info regarding spell timers.
Open Skills.txt. Scroll down to the Fire Wall row (row 53). Now scroll horizontally to the ‘delay‘ column (column FJ). Remove the value here. The delay column controls how long a spell delay will be, in frames. (As mentioned in BSE part 1, each frame is 1/25th of a second.). So if we wanted to add a one second delay to Glacial Spike, we would scroll down to the Glacial Spike row, and add a ‘25′ in the ‘delay‘ column.
Spell timers weren’t around until LOD, so if you want to make a D2 classic preservation mod, you would remove all spell timers.
Part 2 – Making Shapeshifted Druids able to use ‘Elemental’ spells
Ever notice you can’t cast Volcano or Firestorm while shapeshifted? Well, I’ll teach you how to fix that right up.
Scroll down to the ‘Volcano’ row (row 246) and scroll horizontally to the ‘restrict‘ column (column FF). Put a 1 in this column.
The restrict column works in an odd way. If left blank, the skill is unusable while shapeshifted. If a 1 is put in the column, you can use it while shapeshifted and while unshapeshifted. However, if a 2 is put in this column, the skill will only be usable while shapeshifted in one of the 3 states listed in ‘State1′, ‘State2′, and ‘State3′.
Part 3 – Summoning all golems at once
By far, this requires the most work. In skills.txt, scroll down to the Clay Golem row (row 77). Now scroll horizontally to the pettype column (column BJ). In this cell, put ClayGolem.
In the Blood Golem row (row 87), under pettype, put BloodGolem.
In the Iron Golem row (row 92), under pettype, put IronGolem.
In the Fire Golem row (row 96), under pettype, put Fire Golem.
Now open pettype.txt.
Add a new row to the bottom, and give it these parameters:
Row#1:
Leave all other columns blank. Now clone the row 3 times, and change these parameters accordingly:
A little explanation about this file. Every time you summon a pet using a skill, it has a pettype to go along with it. Heres a file guide to explain the various parameters.
Part 4 – Editing Mana Cost
Another very simple edit that requires a little explaining as to how it works. Open skills.txt and scroll horizontally to column NoCostInState (column FN).
I’m going to do a sweep as to what each of these columns do:
manashift precision multiplier percentage example mana cost
(mana = 1000)
——————————————————————-
0 1/256 = 0.00390625 ( 0.390625%) 3.90625
1 2/256 = 0.00781250 ( 0.781250%) 7.8125
2 4/256 = 0.01562500 ( 1.562500%) 15.5625
3 8/256 = 0.03125000 ( 3.125000%) 31.25
4 16/256 = 0.06250000 ( 6.250000%) 62.5
5 32/256 = 0.12500000 ( 12.500000%) 120
6 64/256 = 0.25000000 ( 25.000000%) 250
7 128/256 = 0.50000000 ( 50.000000%) 500
8 256/256 = 1.00000000 (100.000000%) 1000
9 512/256 = 2.00000000 (200.000000%) 2000
Source: The Phrozen Keep
So for example, if we wanted to change Frozen Orb’s mana cost, we would edit the value in mana.
Part 5 – Events
Events are special ‘happenings’ that occur in Diablo 2. If you scroll over to the auraevent1 column, you can see some events that certain skills use, such as Frozen Armor, Bone Armor, and Energy Shield use.
Here is the full list of events that the game can use:
Now, lets make Chilling Armor affect melee attackers as well as ranged attackers. Scroll down to the Chilling Armor row (row 62), and scroll over to auraevent2. Put damagedinmelee in this column. In the next column, auraeventfunc2, put a 1 here. This means that when the player is Damaged in Melee, it will fire srvmissilea without forcing a player through an animation.
You are done! This concludes BSE Part 2. Stay tuned for Basic Skill Editing part 3, where we will discuss skill descriptions.
Good tut Nick
Hey thats awesome.. Need 2 ask tho, can u post how to change clay golem to summon diablo, baal, ancients, or any other substantial boss? Best ive got is “100% reanimate as: diablo” on a rare i made in hero editor, but it spams HOSTILE Diablos in a cluster of enemies, that i cant target.. Help me!
Nice tutorial, but how do I add a skill to a different class, like how can I make the Assassin have the Barbarain’s Find Poition ability? Or the Druid have one or more of the Paladins Aura’s?
I tried just copying them and setting them to druid (in an unused spot in the skil ltree) but it didnt work.
Hiya Nick,
This looks great, but it seems that any changes I make to Patch_D2.MPQ have no effect on the game (except to crash it when I was using the wrong compression).
To test if this was a specific problem for this task, I set the (druid skill) Raven to have a max of 1 critter (Param2 feild) and also tried setting the Amazon starting STR to 50. After checking using two different mpq editors to make sure the files were REALLY changed I ran the game and created some new test characters to see if the changes had any effect on the game. The didn’t. Did you encounter this problem, or hear of it?
Depends, which MPQ editor(s).
P.S.
…pardon the spelling.
Okay man, im using Wordpad or Notepad for this. And when you say like “restrict Column” and etc… I dont have that. Lol. For teeth the only thing I changed on it.. was from mag to cold. Saved it in Data/global/excel and it didnt work at all. So is there a page WAy easier to open this up with other then Wordpad or Notepad because idont think im getting all the info here at all
Maybe you should have read the Beginner’s Guide first.