Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Neverwinter Nights: Enhanced Edition has been released! Visit nwn.beamdog.com to make an order. NWN:EE FAQ is available.
Soundtracks for BG:EE, SoD, BG2:EE, IWD:EE, PST:EE are now available in the Beamdog store.
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Scripting help

AllbrotherAllbrother Member Posts: 210
Hi. I'm trying to turn all spells and abilities from per rest to per encounter. To this effect, I created a spell with a global effect applying opcode 316, targeting party, instant/permanent timing, natural/nonmagical with 100 power and probability1. Then I appended the following to baldur.bcs:

IF
!ActuallyInCombat()
THEN
RESPONSE #100
ApplySpellRES("SPELLNAME",Myself)
END


Doesn't work. I don't get why. What am I doing wrong?

Comments

Sign In or Register to comment.