mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
36 lines
1.0 KiB
Java
Executable File
36 lines
1.0 KiB
Java
Executable File
package script.test;
|
|
|
|
import script.*;
|
|
import script.base_class.*;
|
|
import script.combat_engine.*;
|
|
import java.util.Arrays;
|
|
import java.util.Hashtable;
|
|
import java.util.Vector;
|
|
import script.base_script;
|
|
|
|
import script.library.combat;
|
|
import script.library.sui;
|
|
import script.library.quests;
|
|
import script.library.ai_lib;
|
|
import script.library.money;
|
|
import script.library.chat;
|
|
import script.library.pclib;
|
|
import script.library.vehicle;
|
|
import script.library.ship_ai;
|
|
|
|
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;
|
|
}
|
|
}
|