Skip to content

Commit

Permalink
Make multihit explosives chainable
Browse files Browse the repository at this point in the history
  • Loading branch information
ChallengeSY committed Nov 23, 2023
1 parent 28bf56b commit 4eb7788
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
3 changes: 3 additions & 0 deletions NNLocal.bi
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ sub apply_block_properties
end if
end if
wend
if TestGrade < 0 then
.CalcedInvulnerable = -1
end if

if .CanRegen > 0 then
for CID as ubyte = 1 to BlockBrushes
Expand Down
2 changes: 1 addition & 1 deletion Nebunoid.bas
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if ScreenCreated = 0 OR FileExists("FS.ini") then
bload(MasterDir+"/gfx/banner.bmp",TitleBanner)
end if
end if
windowtitle "Nebunoid 1.09b"
windowtitle "Nebunoid 1.10"

'Foreground assets
load_brick_gfx(MasterDir+"/gfx/blocks/")
Expand Down
4 changes: 2 additions & 2 deletions Nebunoid.bi
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ type PalleteSpecs
HitDegrade as byte
ZapDegrade as short
IncreaseSpeed as ubyte
CalcedInvulnerable as ubyte
CalcedInvulnerable as byte
UsedInlevel as ubyte
TimesRespawned as ushort
end type
Expand Down Expand Up @@ -883,7 +883,7 @@ function disp_wall(FrameTick as short, DispSetting as byte = 0) as integer
RefPallete = PlayerSlot(Player).TileSet(XDID,YDID).BrickID

if RefPallete > 0 OR (XDID = XID AND YDID = YID) then
if (RefPallete > 0 AND Pallete(RefPallete).HitDegrade >= 0) OR _
if (RefPallete > 0 AND Pallete(RefPallete).CalcedInvulnerable >= 0) OR _
(XDID = XID AND YDID = YID) then

if TotalBC > 0 then
Expand Down
30 changes: 15 additions & 15 deletions campaigns/official/universe/L11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,25 @@ Brush 5 Increase Spd := FALSE
Level Grid 11111111112
12345678901234567890
-----------------------
1| 55
2| 55 515
3| 515 5 55
4| 55 515
1| 5 55 55
2| 55 55 55 525
3| 525 5 5 5 55
4| 55 525
5| 5
6| 5 555
7| 515 5 5115
8| 5 515 555
9| 5 5
10| 515
7| 525 5 5225
8| 5 55 555
9| 55 5
10| 525
11| 55 5 5
12| 515 5 515
13| 55 515 5
12| 525 5 5255
13| 55 525 5
14| 5 5
15| 5 515 5 5
16| 515 5 515 515
17| 555 5 555
18|
19|11111111111111111111
15| 5 525 5 5
16| 525 5 55 525
17| 555 5 5 555
18| 555 5
19|5 55 55 5
20|55555555555555555555

================================================================================
Expand Down

0 comments on commit 4eb7788

Please sign in to comment.