Ok, so i am trying to implement the new Kukuru transformation that mechanical chicken, and i don't have any idea where should i start, for example The Jet_Bike transformation code is this:
package transformations;
import com.l2js.gameserver.datatables.SkillTable;
import com.l2js.gameserver.instancemanager.TransformationManager;
import com.l2js.gameserver.model.L2Transformation;
public class JetBike extends L2Transformation
{
private static final int[] SKILLS = {5491,839};
public JetBike()
{
// id, colRadius, colHeight
super(20001, 21.5, 27);
}
@Override
public void onTransform()
{
if (getPlayer().getTransformationId() != 20001 || getPlayer().isCursedWeaponEquipped())
return;
transformedSkills();
}
public void transformedSkills()
{
// Decrease Bow/Crossbow Attack Speed
getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
// Dismount
getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);
getPlayer().setTransformAllowedSkills(SKILLS);
}
@Override
public void onUntransform()
{
removeSkills();
}
public void removeSkills()
{
// Decrease Bow/Crossbow Attack Speed
getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
// Dismount
getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);
getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
}
public static void main(String[] args)
{
TransformationManager.getInstance().registerTransformation(new JetBike());
}
}
most of it it's clear The Server_ID=Client_ID = 20001 but where is this transformation stored, and how can i implement a new transformation using an mount that i allready have exactely like this jetbike . And what is with this ID where is stored and where is it coming from?