Jump to content

Removing specific effects from an existing spell


deratiseur

Recommended Posts

Hello :)

 

Please, i need a weidu code patch to edit some vanilla spell by removing some effects they have. Because Enhanced editions use new opcodes, and i cannot have in my mod use "old" modified spells anymore, so i would patch existing spells instead.

 

i need to edit SPPR403 by removing effect #46 Cure stun and effect #162 Remove paralysis (protect but not cure)

 

I nedd to edit SPR108 by removing effect #161 Remove fear and effect #240 Remove portrait icon and in EE gems effect #321 Remove effects by ressources. (same : protec but not cure)

Link to comment

 

COPY_EXISTING ~sppr403.spl~ ~override~
  PATCH_FOR_EACH op IN 46 162 BEGIN
    LPF DELETE_EFFECT INT_VAR match_opcode = op END
  END
  BUT ONLY
 
COPY_EXISTING ~sppr108.spl~ ~override~
  PATCH_FOR_EACH op IN 161 240 321 BEGIN
    LPF DELETE_EFFECT INT_VAR match_opcode = op END
  END
  BUT ONLY
Link to comment
COPY_EXISTING ~sppr403.spl~ ~override~
  PATCH_FOR_EACH op IN 46 162 BEGIN
    LPF DELETE_EFFECT INT_VAR match_opcode = op END
  END
  BUT ONLY
 
COPY_EXISTING ~sppr108.spl~ ~override~
  PATCH_FOR_EACH op IN 161 240 321 BEGIN
    LPF DELETE_EFFECT INT_VAR match_opcode = op END
  END
  BUT ONLY

Dude, you are super awesome!

Link to comment

Archived

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

×
×
  • Create New...