trying to create 'divine might' with the 'draw upon holy might' spell: need help in dltcep
ainzbn
Member Posts: 10
Got it working ok using DLTCEP with some attack buffs added, showing up in-game and all. Used the innate version (spin103) of the draw upon holy might spell. Problem is, I'm trying to add fire damage to whatever my current melee weapon is. Whenever I activate my power, I immediately take the damage to myself that I'm trying to specify.
I've tried copying the standard effects opcode 'hp damage' #12, with pre-target settings in it, from other flame dmg spells, tried 'weapon dmg melee modifier' #285, same result. My character takes immediate damage to himself of the type I specified.
Is it because the spell is innate? Or is it that the only way to add a weapon damage buff to a weapon, is to create a new 'summon' weapon that replaces the one you currently have and cannot add the stats from your current weapon to the one you have to summon?
I've tried copying the standard effects opcode 'hp damage' #12, with pre-target settings in it, from other flame dmg spells, tried 'weapon dmg melee modifier' #285, same result. My character takes immediate damage to himself of the type I specified.
Is it because the spell is innate? Or is it that the only way to add a weapon damage buff to a weapon, is to create a new 'summon' weapon that replaces the one you currently have and cannot add the stats from your current weapon to the one you have to summon?
0
Comments
248
Edit: to be clear change the name to the exact name of the spell you are replacing. (spprxxx). Be sure to change to a priest spell of the right level, give str or whatever bonuses, and so on
Note, this is a very helpful page:
http://iesdp.gibberlings3.net/appendices/bg2kitabilities.htm
Can't get the opcode 248: item set melee effect (flamehit) to work, was trying to add a 'flame damage effect' to successful melee hits, so at least it looks like a fire attack visually. Not sure if it is because opcode 248 has to be tied to an actual item or not.
1st is opcode 248 with flamehit, which is not working.
2nd is opcode 285 with 5 extra dmg. works fine.
3rd is opcode 285 with a 1d6 dmg. did not work.
Then, I finally figured out what Grammarsalad meant by creating an eff. It took all 2 min to create my own hp dmg 1d6 fire lol. Thought it meant having to photoshop or something.
Instead, it was just another layer of opcodes.
And....it works! woo-hoo! My Divine Might (hybrid sorta thing) works! And I learned way more about dltcep than I thought I would.
whoops
But string reference '30'....whatever it was.....is now gone.
If you could pull the date from 30 in your dialog.tlk and paste it in here, I will add it to mine using string editor in dltcep.
and by the way...thanks for helping me with this. couldn't of done it without your heads-up.