Jump to content

Skulltrap and Animate Dead fixes


Ghreyfain

Recommended Posts

Everything in here looks so tidy, I didn't want to post in an existing thread.

 

Anyways, Skulltrap's range in the first header is 55, but for every header after that, it's 15. This is within the radius of the blast, so I'm going to go out on a limb and infer that it's meant to be 55 all the time. As a comparison, I believe 55 is the same range a Magic Missile has.

 

Here's the patch:

 

C_E ~SPWI313.spl~ ~override~
 WRITE_BYTE 0xa8 55 // level 6 header
 WRITE_BYTE 0xd0 55
 WRITE_BYTE 0xf6 55
 WRITE_BYTE 0x120 55
 WRITE_BYTE 0x148 55
 WRITE_BYTE 0x170 55
 WRITE_BYTE 0x198 55
 WRITE_BYTE 0x1c0 55
 WRITE_BYTE 0x1e8 55
 WRITE_BYTE 0x210 55
 WRITE_BYTE 0x238 55
 WRITE_BYTE 0x260 55
 WRITE_BYTE 0x288 55
 WRITE_BYTE 0x2b0 55
 WRITE_BYTE 0x2d8 55 // all the way to level 20

 

Then for Animate Dead, the level 11 header gives a 0-35% chance to summon 1 skeleton, and 46-100 to summon two. This leaves a 10% chance of getting no skeleton at all.

 

The code:

 

C_E ~SPPR301.spl~ ~override~
 WRITE_BYTE 0x2b6 45

 

Fin. :)

Link to post

Skull Trap (Wizard): (somebody check this)

COPY_EXISTING ~SPWI313.SPL~ ~OVERRIDE~
 READ_LONG 0x64 ABILITIES_OFFSET
 READ_SHORT 0x68 NUMBER_OF_ABILITIES
 FOR (INDEX = NUMBER_OF_ABILITIES; INDEX > 0x00; INDEX = INDEX - 0x01) BEGIN
   WRITE_SHORT ABILITIES_OFFSET + 0x0e 0x37 // range to 55 (from 15)
   SET ABILITIES_OFFSET = ABILITIES_OFFSET + 0x28 // onward, ho!
 END
BUT_ONLY_IF_IT_CHANGES

 

Animate Dead (Priest):

COPY_EXISTING ~SPPR301.SPL~ ~OVERRIDE~
 WRITE_ASCII 0x9e ~SPPR301B~ // ability icon
 WRITE_ASCII 0xc6 ~SPPR301B~ // ability icon
 WRITE_ASCII 0xee ~SPPR301B~ // ability icon
 WRITE_ASCII 0x0116 ~SPPR301B~ // ability icon
 WRITE_ASCII 0x013e ~SPPR301B~ // ability icon
 WRITE_ASCII 0x0166 ~SPPR301B~ // ability icon
 WRITE_BYTE 0x018d 0x03 // power
 WRITE_BYTE 0x019c 0x37 // probability (was 100)
 WRITE_BYTE 0x01cd 0x38 // probability (was 75)
 WRITE_BYTE 0x01fd 0x38 // probability (was 75)
 WRITE_BYTE 0x02bc 0x2d // probability (was 35)
BUT_ONLY_IF_IT_CHANGES

 

Monster Summoning III (Wizard):

COPY_EXISTING ~SPWI504.SPL~ ~OVERRIDE~
 WRITE_BYTE 0x0295 0x3d // probability (was 99)
BUT_ONLY_IF_IT_CHANGES

 

I don't know if all of these are ever used (depending on what level you have to be to get the spell).

Link to post

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...