Jump to content


Photo

Adding Effects to Specific Item Headers


2 replies to this topic

#1 Aquadrizzt

Aquadrizzt
  • Modders
  • 107 posts
  • Gender:Male

Posted 29 November 2017 - 10:16 AM

I'm currently working on a mod that requires the patching of all "learn spell" headers of arcane scrolls to also update a few other character stats. I have a list of scrolls to iterate over, but I am not entirely sure how to approach the actual code. 

 

So, the code needs to detect which of the scroll's headers is the "learn spell from scroll" header, and then add several 326 effects to only that header without replacing the learn spell effect. No idea how to really approach this though, and I would rather not have to engage in more bit editing than I already have to. 


Tome and Blood: Expanded Options for Arcane Spellcasters 

Monastic Orders of Faerun: Expanded Options for Monks 

Multiclass Kits(macro): Enabling Multiclass Kits in EEv2.0+

The Power of Belief: Allowing TNO to Become a Priest 

Undivided: Traveling With All Companions in PSTEE

 


#2 CamDawg

CamDawg

    Dreaming of a red Xmas

  • Gibberling Poobah
  • 9294 posts
  • Gender:Not Telling

Posted 29 November 2017 - 10:27 AM

LPF CLONE_EFFECT INT_VAR match_opcode = 147 opcode = 326 parameter1 = foo parameter2 = bar /* etc. */ END

I came here with a simple dream: a dream of killing all humans. And this is how it must end? Who's the real seven billion ton robot monster here? Not I. Not... I.


#3 subtledoctor

subtledoctor
  • Modders
  • 2211 posts
  • Gender:Male

Posted 29 November 2017 - 12:33 PM

Damn, beat me to it. LOVE CLONE_EFFECT for stuff like this.

Faiths & Powers: Spell spheres and kit pack for priests and paladins
Might & Guile: Tweaks and kits for warriors and rogues
Scales of Balance: Game tweaks and rule overhauls
NPC_EE: More options for NPCs in BGEE, SoD, & BG2EE




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users