Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
L2j Server Datapack
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
L2j
L2j Server Datapack
Commits
d808ceb1
Commit
d808ceb1
authored
13 years ago
by
lion
Browse files
Options
Downloads
Patches
Plain Diff
change back script to original from forum
parent
fd74b9ab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
L2J_DataPack_BETA/data/scripts/village_master/FirstClassTransferTalk/FirstClassTransferTalk.java
+10
-5
10 additions, 5 deletions
...master/FirstClassTransferTalk/FirstClassTransferTalk.java
with
10 additions
and
5 deletions
L2J_DataPack_BETA/data/scripts/village_master/FirstClassTransferTalk/FirstClassTransferTalk.java
+
10
−
5
View file @
d808ceb1
package
village_master.FirstClassTransferTalk
;
import
ai.group_template.L2AttackableAIScript
;
import
com.l2jserver.gameserver.model.actor.L2Npc
;
import
com.l2jserver.gameserver.model.actor.instance.L2PcInstance
;
import
com.l2jserver.gameserver.model.base.Race
;
import
com.l2jserver.gameserver.model.quest.Quest
;
import
com.l2jserver.gameserver.model.quest.QuestState
;
/**
...
...
@@ -13,7 +12,7 @@ import com.l2jserver.gameserver.model.quest.QuestState;
* Everything is 100% retail-like including htmls.
* @author jurchiks
*/
public
class
FirstClassTransferTalk
extends
L2AttackableAIScrip
t
public
class
FirstClassTransferTalk
extends
Ques
t
{
private
static
final
int
BITZ
=
30026
;
// TI Fighter Guild Head Master
private
static
final
int
BIOTIN
=
30031
;
// TI Einhasad Temple High Priest
...
...
@@ -151,8 +150,14 @@ public class FirstClassTransferTalk extends L2AttackableAIScript
public
FirstClassTransferTalk
(
int
questId
,
String
name
,
String
descr
)
{
super
(
questId
,
name
,
descr
);
int
[]
npcs
=
new
int
[]
{
BITZ
,
BIOTIN
,
ASTERIOS
,
THIFIELL
,
KAKAI
,
REED
,
BRONK
,
HOFFA
,
FISLER
,
MOKA
,
DEVON
,
RIVIAN
,
TOOK
,
PRANA
,
ALDENIA
};
registerMobs
(
npcs
,
QuestEventType
.
QUEST_START
,
QuestEventType
.
ON_TALK
);
for
(
int
npc
:
new
int
[]
{
BITZ
,
BIOTIN
,
ASTERIOS
,
THIFIELL
,
KAKAI
,
REED
,
BRONK
,
HOFFA
,
FISLER
,
MOKA
,
DEVON
,
RIVIAN
,
TOOK
,
PRANA
,
ALDENIA
})
{
addStartNpc
(
npc
);
addTalkId
(
npc
);
}
}
public
static
void
main
(
String
[]
args
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment