|
@@ -80,13 +80,14 @@ public class L2CubicInstance
|
|
protected int _activationtime;
|
|
protected int _activationtime;
|
|
protected int _activationchance;
|
|
protected int _activationchance;
|
|
protected boolean _active;
|
|
protected boolean _active;
|
|
|
|
+ private boolean _givenByOther;
|
|
|
|
|
|
protected List<L2Skill> _skills = new FastList<L2Skill>();
|
|
protected List<L2Skill> _skills = new FastList<L2Skill>();
|
|
|
|
|
|
private Future<?> _disappearTask;
|
|
private Future<?> _disappearTask;
|
|
private Future<?> _actionTask;
|
|
private Future<?> _actionTask;
|
|
|
|
|
|
- public L2CubicInstance(L2PcInstance owner, int id, int level, int mAtk, int activationtime, int activationchance)
|
|
|
|
|
|
+ public L2CubicInstance(L2PcInstance owner, int id, int level, int mAtk, int activationtime, int activationchance, boolean givenByOther)
|
|
{
|
|
{
|
|
_owner = owner;
|
|
_owner = owner;
|
|
_id = id;
|
|
_id = id;
|
|
@@ -94,6 +95,7 @@ public class L2CubicInstance
|
|
_activationtime = activationtime * 1000;
|
|
_activationtime = activationtime * 1000;
|
|
_activationchance = activationchance;
|
|
_activationchance = activationchance;
|
|
_active = false;
|
|
_active = false;
|
|
|
|
+ _givenByOther = givenByOther;
|
|
|
|
|
|
switch (_id)
|
|
switch (_id)
|
|
{
|
|
{
|
|
@@ -769,6 +771,11 @@ public class L2CubicInstance
|
|
|
|
|
|
_target = target;
|
|
_target = target;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public boolean givenByOther()
|
|
|
|
+ {
|
|
|
|
+ return _givenByOther;
|
|
|
|
+ }
|
|
|
|
|
|
private class Heal implements Runnable
|
|
private class Heal implements Runnable
|
|
{
|
|
{
|