Fix Demolitionist still getting poisoned.
This commit is contained in:
parent
f0691a34d5
commit
088800de9e
2 changed files with 11 additions and 6 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.6 \cu(Mon 20 Sep 20:08:07 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw1.1.6 \cu(2021-09-20 20:08:07)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.7 \cu(Mon 20 Sep 23:22:24 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw1.1.7 \cu(2021-09-20 23:22:24)\c-";
|
||||
|
|
|
|||
|
|
@ -936,9 +936,18 @@ Class Demolitionist : PlayerPawn
|
|||
}
|
||||
}
|
||||
}
|
||||
override void CheckPoison()
|
||||
{
|
||||
// HAHA no
|
||||
player.poisoncount = 0;
|
||||
}
|
||||
override void Tick()
|
||||
{
|
||||
Vector3 oldpos = pos;
|
||||
// can't be poisoned
|
||||
PoisonDurationReceived = 0;
|
||||
PoisonPeriodReceived = 0;
|
||||
PoisonDamageReceived = 0;
|
||||
Super.Tick();
|
||||
if ( hasteleported )
|
||||
{
|
||||
|
|
@ -946,10 +955,6 @@ Class Demolitionist : PlayerPawn
|
|||
oldpos = pos;
|
||||
hasteleported = false;
|
||||
}
|
||||
// can't be poisoned
|
||||
PoisonDurationReceived = 0;
|
||||
PoisonPeriodReceived = 0;
|
||||
PoisonDamageReceived = 0;
|
||||
if ( !selflight )
|
||||
{
|
||||
selflight = Spawn("DemolitionistSelfLight",pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue