@Override protected boolean onStart() { L2PcInstance player = getEffected().getPlayer(); if (player == null) return false; player._seeds[Seeds.valueOf(getStackType()).ordinal()]++; return true; }
@Override protected void onExit() { L2PcInstance player = getEffected().getPlayer(); if (player == null) return; if (_exitEffector == null || _exitEffector == getEffector()) { player._seeds[Seeds.valueOf(getStackType()).ordinal()] = 0; } }
public int getForce() { L2PcInstance player = getEffected().getPlayer(); if (player == null) return 0; return player._seeds[Seeds.valueOf(getStackType()).ordinal()]; }