1234567891011121314151617181920212223242526272829303132333435 |
- package transformations;
- import com.l2jserver.gameserver.instancemanager.TransformationManager;
- import com.l2jserver.gameserver.model.L2Transformation;
- public class Akamanah extends L2Transformation
- {
- public Akamanah()
- {
- // TODO: Unhardcode Akamanah and Zariche transformations as much as we can
- // id, colRadius, colHeight
- super(302, 10, 32.73);
- }
-
- @Override
- public void onTransform()
- {
- // Set charachter name to transformed name
- getPlayer().getAppearance().setVisibleName("Akamanah");
- getPlayer().getAppearance().setVisibleTitle("");
- }
-
- @Override
- public void onUntransform()
- {
- // set character back to true name.
- getPlayer().getAppearance().setVisibleName(null);
- getPlayer().getAppearance().setVisibleTitle(null);
- }
-
- public static void main(String[] args)
- {
- TransformationManager.getInstance().registerTransformation(new Akamanah());
- }
- }
|