Jump to content

Slayer change


Recommended Posts

Discussion:

 

- "I thought that was in already. It ought to be; Player1 will turn into the slayer regardless of who invokes the ability, these can't work correctly when called by an image."

 

- "No, you're an incorrect tweaker."

 

There.

 

 

 

I didn't block clones from the pocket plane teleport in my local rubbish, though, just the slayer change.

Link to comment
// projected images and simulcra shouldn't have slayer and pocket plane abilities
COPY_EXISTING ~projimag.spl~ ~override~
		  ~simulacr.spl~ ~override~
 READ_LONG  0x64 "abil_off"
 READ_SHORT 0x68 "abil_num"
 READ_LONG  0x6a "fx_off"
 SET "fx_delta" = 0
 FOR ("index" = 0; "%index%" < "%abil_num%"; "index" = ("%index%" + 1)) BEGIN // fix existing effects
READ_SHORT  ("%abil_off%" + 0x1e + (0x28 * "%index%")) "abil_fx_num"
READ_SHORT  ("%abil_off%" + 0x20 + (0x28 * "%index%")) "abil_fx_idx"
SET "abil_fx_idx" = ("%abil_fx_idx%" + "%fx_delta%")
WRITE_SHORT ("%abil_off%" + 0x20 + (0x28 * "%index%")) "%abil_fx_idx%"
WRITE_SHORT ("%abil_off%" + 0x1e + (0x28 * "%index%")) ("%abil_fx_num%" + 2)
FOR (index2 = 0; index2 < 2; index2 = index2 + 1) BEGIN
  INSERT_BYTES  ("%fx_off%" +		(0x30 * "%abil_fx_idx%")) 0x30 // new effect
	WRITE_SHORT ("%fx_off%" +		(0x30 * "%abil_fx_idx%"))  172 // remove spell opcode
	WRITE_BYTE  ("%fx_off%" + 0x02 + (0x30 * "%abil_fx_idx%"))	1 // target: self
	WRITE_BYTE  ("%fx_off%" + 0x0e + (0x30 * "%abil_fx_idx%"))   84 // duration
	WRITE_LONG  ("%fx_off%" + 0x12 + (0x30 * "%abil_fx_idx%"))  100 // probability
END
WRITE_ASCII  ("%fx_off%" + 0x14 + (0x30 * "%abil_fx_idx%")) ~spin649~
WRITE_ASCII  ("%fx_off%" + 0x44 + (0x30 * "%abil_fx_idx%")) ~spin822~
SET "fx_delta" = "%fx_delta%" + 2
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

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

×
×
  • Create New...