Skip to content

Need Help To Create Teleport Scroll

Featured Replies

hi guys... i need your help is someone knows how to create a custom scroll of teleport to a custom loc.... like scroll of war from exilium... if someone can hlp me i glad to learn

Create your own itemhandler / skillhandler. Scrolls of escape use generic ItemSkills itemhandler, which uses skillid 2013. Skill 2013 uses RECALL skill type, which uses itself L2SkillTeleport.

 

Easiest would be to make your scroll acts like a generic SoE, but create your own recallType (behavior handled by L2SkillTeleport).

 

Edit that section, add another else if with your new recall type and behavior, and c/p the SoE : ClanHall item data and edit the recallType :

				if (_recallType.equalsIgnoreCase("Castle"))
					loc = MapRegionTable.getInstance().getTeleToLocation(target, MapRegionTable.TeleportWhereType.Castle);
				else if (_recallType.equalsIgnoreCase("ClanHall"))
					loc = MapRegionTable.getInstance().getTeleToLocation(target, MapRegionTable.TeleportWhereType.ClanHall);
				else
					loc = MapRegionTable.getInstance().getTeleToLocation(target, MapRegionTable.TeleportWhereType.Town);

Edited by Tryskell

Tryskell, no.

 

C/p soe to Town and edit coords. Profit.

try to find soe to Giran as example and just create new with same codes just replace the name and location

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.