Jump to content

Cursed Scroll of Ailment


Recommended Posts

Unlike all other cursed scrolls, the Cursed Scroll of Ailment can be targeted against other creatures. Most of the effects still target the caster, but a few (like the biggie, kill target) can affect other creatures.

 

// cursed scroll of ailment usable offensively
COPY_EXISTING ~scrl17.itm~  ~override~
 READ_LONG  0x64 "abil_off" ELSE 0
 READ_SHORT 0x68 "abil_num" ELSE 0
 FOR (index = 0; index < abil_num; index = index + 1) BEGIN
WRITE_BYTE  ("%abil_off%" + 0x0c + ("%index%" * 0x38)) 5 // target:caster
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment
And have the string that says "your friend has been cursed with death." Ages ago, you saw this, and weighed it with the fact that the scroll never appears in-game, and said "not a bug."

Wow. Even by my standards this is a wildly stupid. I had been browsing through the scrolls tracking a different bug, noticed it in passing, and knocked out some code. Looks like I need to remember to use the search function, too. :blush:

 

So, uh, nevermind, no changes here.

Link to comment

Archived

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

×
×
  • Create New...