|
@@ -42,7 +42,19 @@ cumarrtemp = 0
|
|
|
if arrsize('sparrvol') > 0:
|
|
|
:cumspaloop
|
|
|
if sparrvol[cumarrtemp] > 0:
|
|
|
+ ctemp += sparrvol[cumarrtemp]
|
|
|
+ if sparrloc[cumarrtemp] = 0: ctemp[1] += sparrvol[cumarrtemp]
|
|
|
+ if sparrloc[cumarrtemp] = 3: ctemp[2] += sparrvol[cumarrtemp]
|
|
|
sparrtmpv = arrsize('$cumarrnam')
|
|
|
+ if dirtyplay = 1 and sparrloc[cumarrtemp] = 13 and sparrage[cumarrtemp] < 5:
|
|
|
+ cumarrcpt[cumarrtemp] = cumarrppt[cumarrtemp]/((4+sparrage[cumarrtemp]*4)*(40/sparrvol[cumarrtemp]))
|
|
|
+ cumarrppt[sparrtmpv] = sparrppt[cumarrtemp]
|
|
|
+ $cumarrnam[sparrtmpv] = $sparrnam[cumarrtemp]
|
|
|
+ cumarrage[sparrtmpv] = sparrage[cumarrtemp]
|
|
|
+ cumarrdel[sparrtmpv] = 4
|
|
|
+ cumarrkno[sparrtmpv] = 0
|
|
|
+ cumarrcon[sparrtmpv] = 0
|
|
|
+ end
|
|
|
if sparrloc[cumarrtemp] = 17:
|
|
|
sparrtmpv = arrpos('$cumarrnam',$sparrnam[cumarrtemp])
|
|
|
if sparrage[cumarrtemp] < 4:
|
|
@@ -57,7 +69,7 @@ if arrsize('sparrvol') > 0:
|
|
|
elseif sparrage[cumarrtemp] < 10:
|
|
|
cumarrcpt[sparrtmpv] += sparrppt[cumarrtemp]/60
|
|
|
end
|
|
|
- elseif sparrslc[cumarrtemp] = 1 and sparrage < 5:
|
|
|
+ elseif sparrslc[cumarrtemp] = 1 and sparrage[cumarrtemp] < 5:
|
|
|
if sparrloc[cumarrtemp] = 1:
|
|
|
cumarrcpt[sparrtmpv] = sparrppt[cumarrtemp]/1000*sparrage[cumarrtemp]/sparrvol[cumarrtemp]
|
|
|
cumarrppt[sparrtmpv] = sparrppt[cumarrtemp]
|
|
@@ -67,7 +79,7 @@ if arrsize('sparrvol') > 0:
|
|
|
cumarrkno[sparrtmpv] = 0
|
|
|
cumarrcon[sparrtmpv] = 0
|
|
|
end
|
|
|
- elseif sparrslc[cumarrtemp] = 3 and sparrage < 5:
|
|
|
+ elseif sparrslc[cumarrtemp] = 3 and sparrage[cumarrtemp] < 5:
|
|
|
if sparrloc[cumarrtemp] = 2:
|
|
|
cumarrcpt[sparrtmpv] = sparrppt[cumarrtemp]/1000*sparrage[cumarrtemp]/sparrvol[cumarrtemp]
|
|
|
cumarrppt[sparrtmpv] = sparrppt[cumarrtemp]
|
|
@@ -85,7 +97,7 @@ if arrsize('sparrvol') > 0:
|
|
|
cumarrkno[sparrtmpv] = 0
|
|
|
cumarrcon[sparrtmpv] = 0
|
|
|
end
|
|
|
- elseif sparrslc[cumarrtemp] = 5 and sparrage < 5:
|
|
|
+ elseif sparrslc[cumarrtemp] = 5 and sparrage[cumarrtemp] < 5:
|
|
|
if sparrloc[cumarrtemp] = 3:
|
|
|
cumarrcpt[sparrtmpv] = sparrppt[cumarrtemp]/1000*sparrage[cumarrtemp]/sparrvol[cumarrtemp]
|
|
|
cumarrppt[sparrtmpv] = sparrppt[cumarrtemp]
|
|
@@ -113,7 +125,6 @@ if arrsize('sparrvol') > 0:
|
|
|
end
|
|
|
end
|
|
|
else
|
|
|
- KILLVAR 'spafinloc',cumarrtemp
|
|
|
KILLVAR 'sparrage',cumarrtemp
|
|
|
KILLVAR 'sparrloc',cumarrtemp
|
|
|
KILLVAR '$sparrnam',cumarrtemp
|
|
@@ -121,12 +132,18 @@ if arrsize('sparrvol') > 0:
|
|
|
KILLVAR 'sparridt',cumarrtemp
|
|
|
KILLVAR 'sparrvol',cumarrtemp
|
|
|
KILLVAR 'sparrslc',cumarrtemp
|
|
|
-
|
|
|
end
|
|
|
- if sparrloc[cumarrtemp] = 0 or sparrloc[cumarrtemp] = 3 or sparrloc[cumarrtemp] = 12:
|
|
|
- sparrvol[cumarrtemp] -= sparrage[cumarrtemp]/2
|
|
|
- if sparrloc[cumarrtemp] = 0 and cumsumvag > 60: sparrslc = 1
|
|
|
- if sparrloc[cumarrtemp] = 3 and cumsumass > 60: sparrslc = 1
|
|
|
+ if sparrloc[cumarrtemp] = 0 or sparrloc[cumarrtemp] = 3 or sparrloc[cumarrtemp] = 12: sparrvol[cumarrtemp] -= sparrage[cumarrtemp]/2
|
|
|
+ if sparrloc[cumarrtemp] = 0 and cumsumvag > 60 and sparrslc < 1:
|
|
|
+ sparrslc = 1
|
|
|
+ elseif sparrloc[cumarrtemp] = 0 and sparrslc > 0 and sparrage < 9:
|
|
|
+ sparrslc += 1
|
|
|
+ end
|
|
|
+ if sparrloc[cumarrtemp] = 3 and cumsumass > 60 and sparrslc < 1:
|
|
|
+ sparrslc = 1
|
|
|
+ elseif sparrloc[cumarrtemp] = 3 and sparrslc > 0 and sparrage < 9:
|
|
|
+ sparrslc += 1
|
|
|
+ end
|
|
|
if sparrloc[cumarrtemp] = 17 and sparrage[cumarrtemp] > 48:
|
|
|
cumcondslip = 1
|
|
|
health -= 3
|
|
@@ -135,16 +152,14 @@ if arrsize('sparrvol') > 0:
|
|
|
else
|
|
|
cumcondslip = 0
|
|
|
end
|
|
|
- cumsumbod = ctemp
|
|
|
- cumsumvag = ctemp[1]
|
|
|
- cumsumass = ctemp[2]
|
|
|
if sparrloc[cumarrtemp] ! 0 and sparrloc[cumarrtemp] ! 3 and sparrloc[cumarrtemp] ! 12 and isprok = 0 and sparrage < 5: sparrslc[cumarrtemp] += 1
|
|
|
sparrage[cumarrtemp] += 1
|
|
|
cumarrtemp += 1
|
|
|
if cumarrtemp < arrsize('sparrvol'): jump 'cumspaloop'
|
|
|
- ctemp += sparrvol[cumarrtemp]
|
|
|
- if sparrloc[cumarrtemp] = 0: ctemp[1] += sparrvol[cumarrtemp]
|
|
|
- if sparrloc[cumarrtemp] = 3: ctemp[2] += sparrvol[cumarrtemp]
|
|
|
+ cumsumbod = ctemp
|
|
|
+ cumsumvag = ctemp[1]
|
|
|
+ cumsumass = ctemp[2]
|
|
|
+ dirtyplay = 0
|
|
|
end
|
|
|
|
|
|
if lactate > 0:
|