DSA: gigglers steal from backpack. Antmen's touch is mortal.

Discuss Chaos Strikes Back for Windows and Linux, an unofficial port of Chaos Strikes Back to PC by Paul Stevens, as well as CSBuild, an associated dungeon editor.

Moderator: Zyx

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

DSA: gigglers steal from backpack. Antmen's touch is mortal.

Post by Zyx »

Adamo asked for such a DSA:

1) Create a DSA named "Monster Attack Filter"

State 0
S0 = L20 L0 &PARAM@ L0 &@ GC0 L20 L0 &PARAM!
C0 = L1 &@ ??{(2,2S0)(16,16S0)}

State 2
S0 = L1 L12 &@ &= ?JC0
C0 = L4 L0 L4 &RAND L7 L23 &RAND &+ &DUP L29 &!= ?JT0 &DROP L1 JT0
T0 = L0 L3 L2016 L0 L0 &@ L0 &%MOVE

State 16
S0 = L0 GC0 L1 GC0 L2 GC0 L3 GC0
C0 = &DUP L70 L3 &CHAR@ L0 L72 &! L70 L3 &%CHAR!

2) Put an instance of this DSA in your dungeon

3) In Edit->global info, point the "Monster Attack Filter location" to this DSA

4) Create a DSA named "Indirect Action Filter"

State 0
S0 = &%INDIRECT

5) Put an instance of this DSA in your dungeon

6) In Edit->global info, point the "Indirect Action location" to this DSA
Post Reply

Return to “Chaos Strikes Back for Windows & Linux (CSBWin) / CSBuild”