mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 04:37:47 +00:00
Merge remote-tracking branch 'origin/ioncannon/quest_system' into Jorge/quest_system
This commit is contained in:
commit
d2e814b4ee
4 changed files with 10 additions and 10 deletions
|
@ -1820,17 +1820,17 @@ namespace Meteor.Map.Actors
|
||||||
|
|
||||||
public Quest GetTutorialQuest(Npc npc)
|
public Quest GetTutorialQuest(Npc npc)
|
||||||
{
|
{
|
||||||
if (npc.CurrentArea.RegionId != 101 || npc.CurrentArea.RegionId != 103 || npc.CurrentArea.RegionId != 104)
|
if (npc.CurrentArea.RegionId == 101 || npc.CurrentArea.RegionId == 103 || npc.CurrentArea.RegionId == 104)
|
||||||
return null;
|
|
||||||
|
|
||||||
switch (npc.GetActorClassId())
|
|
||||||
{
|
{
|
||||||
case 1000137:
|
switch (npc.GetActorClassId())
|
||||||
return (Quest)Server.GetStaticActors("Trl0l1");
|
{
|
||||||
case 1000230:
|
case 1000137:
|
||||||
return (Quest)Server.GetStaticActors("Trl0g1");
|
return (Quest)Server.GetStaticActors("Trl0l1");
|
||||||
case 1000841:
|
case 1000230:
|
||||||
return (Quest)Server.GetStaticActors("Trl0u1");
|
return (Quest)Server.GetStaticActors("Trl0g1");
|
||||||
|
case 1000841:
|
||||||
|
return (Quest)Server.GetStaticActors("Trl0u1");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue