Added Doomsday effects

pull/11/head
DodoBirb 4 years ago
parent 0326d55ad4
commit fb76f4949f

@ -11,8 +11,6 @@ if global.multiDamageCollision
}
if global.sax
global.damageMult = (1 + (1.5 * (metcount / 41)))
else
global.damageMult = 2.5
}
experimentalExtraSAXDamageMultiplier = 1
if global.experimental

@ -1,4 +1,4 @@
var sockets, size, type, alignment, bufferSize, i, time, a, match, b, arrList, evnt;
var sockets, size, type, alignment, bufferSize, i, time, a, match, b, arrList, evnt, maxtime, doomframes, incrementedtime;
if (prevPlayerListSize != ds_list_size(playerList) && ds_list_size(playerList) > 0)
{
prevPlayerListSize = ds_list_size(playerList)
@ -105,4 +105,12 @@ if (global.prevMonstersLeft != global.monstersleft)
alarm[5] = 1
global.prevMonstersLeft = global.monstersleft
if (global.lobbyLocked && global.doomenabled)
{
doomframes = (global.doomtime * 3600)
global.gametime--
incrementedtime = (doomframes - global.gametime)
maxtime = ((doomframes * 2) / 3)
global.damageMult = ((4 * incrementedtime) / maxtime)
if (global.gametime <= 0)
global.damageMult = 8
}

@ -43,16 +43,6 @@ for (i = 0; i < array_length_1d(global.itemSamus); i++)
}
if (mtankCount != global.mtanks)
global.mtanks = mtankCount
itemCount = 0
for (h = 0; h < array_length_1d(global.itemSamus); h++)
{
val = global.itemSamus[h]
if (val == 1 && h != 1)
itemCount++
}
global.damageMult = ((itemCount / 88) * 3)
if global.experimental
global.damageMult = ((itemCount / 88) * 5)
etankCount = 0
for (i = 0; i < array_length_1d(global.itemSAX); i++)
{

Loading…
Cancel
Save