mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
20 lines
605 B
Java
Executable File
20 lines
605 B
Java
Executable File
package script.test;
|
|
|
|
import script.obj_id;
|
|
|
|
public class jwatson_ship extends script.base_script
|
|
{
|
|
public jwatson_ship()
|
|
{
|
|
}
|
|
public int OnShipInternalDamageOverTimeRemoved(obj_id self, int chassisSlot, float damageRate, float damageThreshold) throws InterruptedException
|
|
{
|
|
obj_id pilot = getPilotId(self);
|
|
if (pilot != null)
|
|
{
|
|
sendSystemMessageTestingOnly(pilot, "jwatson_ship IDOT removed slot=" + chassisSlot + ", damageRate=" + damageRate + ", threshold=" + damageThreshold);
|
|
}
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
}
|