mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 23:54:32 +00:00
Comments
Added line 75 and 414
This commit is contained in:
parent
13d6fb08a1
commit
6c7caeee3d
1 changed files with 39 additions and 37 deletions
|
|
@ -72,6 +72,7 @@ function ShapeBaseImageData::onFire(%data, %obj, %slot)
|
||||||
{
|
{
|
||||||
%obj.cantFire = 1;
|
%obj.cantFire = 1;
|
||||||
%preventTime = %data.stateTimeoutValue[4];
|
%preventTime = %data.stateTimeoutValue[4];
|
||||||
|
//%preventTime = (%data.stateTimeoutValue[4] + %data.stateTimeoutValue[3]) - 0.032;
|
||||||
%obj.reloadSchedule = schedule(%preventTime * 1000, %obj, resetFire, %obj);
|
%obj.reloadSchedule = schedule(%preventTime * 1000, %obj, resetFire, %obj);
|
||||||
}
|
}
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
@ -410,6 +411,7 @@ function ShockLanceImage::onFire(%this, %obj, %slot)
|
||||||
|
|
||||||
%obj.cantfire = 1;
|
%obj.cantfire = 1;
|
||||||
%preventTime = %this.stateTimeoutValue[4];
|
%preventTime = %this.stateTimeoutValue[4];
|
||||||
|
//%preventTime = (%data.stateTimeoutValue[4] + %data.stateTimeoutValue[3]) - 0.032;
|
||||||
%obj.reloadSchedule = schedule(%preventTime * 1000, %obj, resetFire, %obj);
|
%obj.reloadSchedule = schedule(%preventTime * 1000, %obj, resetFire, %obj);
|
||||||
|
|
||||||
if( %obj.getEnergyLevel() < %this.minEnergy ) // z0dd - ZOD, 5/22/03. Check energy level first
|
if( %obj.getEnergyLevel() < %this.minEnergy ) // z0dd - ZOD, 5/22/03. Check energy level first
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue