mirror of
https://bitbucket.org/theswgsource/dsrc-1.2.git
synced 2026-07-14 00:01:32 -04:00
22 lines
512 B
Java
Executable File
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;
|
|
}
|
|
}
|