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

22 lines
512 B
Java
Executable File

package script.beta;
import script.obj_id;
public class jedi_test extends script.base_script
{
public jedi_test()
{
}
public int OnAttach(obj_id self) throws InterruptedException
{
if (getJediState(self) < JEDI_STATE_JEDI)
{
setJediState(self, JEDI_STATE_JEDI);
}
setMaxForcePower(self, 10000);
setForcePowerRegenRate(self, 1000);
detachScript(self, "beta.jedi_test");
return SCRIPT_CONTINUE;
}
}