mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-29 23:15:55 -04:00
23 lines
599 B
Java
Executable File
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;
|
|
}
|
|
}
|