Files
dsrc/sku.0/sys.server/compiled/game/script/item/special/autoinsure.java
T

32 lines
819 B
Java

package script.item.special;
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;
public class autoinsure extends script.base_script
{
public autoinsure()
{
}
public int OnAttach(obj_id self) throws InterruptedException
{
messageTo(self, "handleAutoInsure", null, 1.0f, false);
return SCRIPT_CONTINUE;
}
public int OnInitialize(obj_id self) throws InterruptedException
{
messageTo(self, "handleAutoInsure", null, 2.0f, false);
return SCRIPT_CONTINUE;
}
public int handleAutoInsure(obj_id self, dictionary params) throws InterruptedException
{
setAutoInsured(self);
return SCRIPT_CONTINUE;
}
}