Files
dsrc/sku.0/sys.server/compiled/game/script/item/wearable/sarlacc_coverall.java
T
2018-06-07 00:32:29 +01:00

23 lines
599 B
Java
Executable File

package script.item.wearable;
import script.dictionary;
import script.obj_id;
public class sarlacc_coverall extends script.base_script
{
public sarlacc_coverall()
{
}
public int OnAttach(obj_id self) throws InterruptedException
{
setSkillModBonus(self, "resistance_disease", 25);
messageTo(self, "destroyCoverall", null, 86400, true);
return SCRIPT_CONTINUE;
}
public int destroyCoverall(obj_id self, dictionary params) throws InterruptedException
{
destroyObject(self);
return SCRIPT_CONTINUE;
}
}