Автор: Eleidan: Дата: 10.25.2009
[Гайд] Добавление Кастом Профы
Сделан для: Ratalaika Переведен Eleidan (Sparrow)
В этом гайде вам расскажу как добавлять собственную профессию.
1є Идем в src\common
И открываем mmo.h
Ищем:
JOB_SUMMER,
JOB_MAX_BASIC,
JOB_SUMMER,
JOB_BURGLAR= 35,
JOB_MAX_BASIC,
{ "ninja", 25 },
{ "high novice", 4001 },
{ "ninja", 25 },
{ "burglar", 35 },
{ "high novice", 4001 },
MAPID_NINJA,
MAPID_XMAS,
MAPID_SUMMER,
MAPID_NINJA,
MAPID_XMAS,
MAPID_SUMMER,
MAPID_BURGLAR = 0x0E,
if (jobmask & 1<
bclass[0] |= 1<
}
if (jobmask & 1<
bclass[0] |= 1<
//items job
if (jobmask & 1<<35)
bclass[0] |= 1<
}
case JOB_SUMMER:
class_ = MAPID_SUMMER;
break;
default:
return -1;
}
return class_;
}
case JOB_SUMMER:
class_ = MAPID_SUMMER;
break;
case JOB_BURGLAR:
class_ |= MAPID_BURGLAR;
break;
default:
return -1;
}
return class_;
}
case MAPID_SUMMER: return JOB_SUMMER;
case MAPID_BURGLAR: return JOB_BURGLAR;
case JOB_SUMMER:
return msg_txt(621);
case JOB_BURGLAR:
return msg_txt(700);
Job_Gunslinger 24
Job_Ninja 25
Job_Xmas 26
Job_Gunslinger 24
Job_Ninja 25
Job_Xmas 26
Job_Burglar 35
EAJ_TAEKWON 0x7
EAJ_GUNSLINGER 0x9
EAJ_NINJA 0x0A
EAJ_TAEKWON 0x7
EAJ_GUNSLINGER 0x9
EAJ_NINJA 0x0A
EAJ_BURGLAR 0x0E
Ваш максимальный уровень,0:1:2:3:4:5:6:7:8:9:10:11:12...
Ваш максимальный уровень,0:1:2:3:4:5:6:7:8:9:10:11:12:35...
Ваш максимальный уровень,1:2:3:4:5:6:26:4046,1
Ваш максимальный уровень,1:2:3:4:5:6:26:4046:35,1
//Burglar
35, 28000,70 ,500 ,200 ,400 ,500 ,550 ,600 ,650 ,700 ,700 ,750 ,650 ,700 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000
//Burglar
35,0,1,0,0,0,3,0,0,0,5,0,0,0,1,0,0,0,3,0,0,0,5,0,0,0,6,0,0,0,2,0,0,1,0,0,5,0,3,0
1,0,3,0,6,0,2,1,0,1,1
//Burglar
//Необходимо
35,1,9,0,0,0,0,0,0,0,0,0,0 //NV_BASIC#Basic Skill#
35,142,1,0,0,0,0,0,0,0,0,0,0 //NV_FIRSTAID#First Aid#
//Ты можешь выбирать те скиллы, которые хочешь
35,2,10,0,0,0,0,0,0,0,0,0,0 //SM_SWORD#Sword Mastery#
35,4,10,0,0,0,0,0,0,0,0,0,0 //SM_RECOVERY#Increase HP Recovery#
35,5,10,0,0,0,0,0,0,0,0,0,0 //SM_BASH#Bash#
35,6,10,0,0,0,0,0,0,0,0,0,0 //SM_PROVOKE#Provoke#
35,7,10,5,5,0,0,0,0,0,0,0,0 //SM_MAGNUM#Magnum Break#
35,8,10,6,5,0,0,0,0,0,0,0,0 //SM_ENDURE#Endure#
35,26,2,24,1,0,0,0,0,0,0,0,0 //AL_TELEPORT#Teleport#
35,27,4,26,2,0,0,0,0,0,0,0,0 //AL_WARP#Warp Portal#
35,28,10,0,0,0,0,0,0,0,0,0,0 //AL_HEAL#Heal#
35,33,10,22,3,0,0,0,0,0,0,0,0 //AL_ANGELUS#Angelus#
35,34,10,22,5,0,0,0,0,0,0,0,0 //AL_BLESSING#Blessing#
35,35,1,28,2,0,0,0,0,0,0,0,0 //AL_CURE#Cure#
//Необходимые
35,410,1,0,0,0,0,0,0,0,0,0,0 //WE_CALLBABY#Call Baby#
35,681,1,0,0,0,0,0,0,0,0,0,0 //ALL_INCCARRY#Enlarge Weight Limit R#
//Нам хочется взять скилл Дабл Атаки. Копируем
12,48,10,0,0,0,0,0,0,0,0,0,0 //TF_DOUBLE#Double Attack#
35,48,10,0,0,0,0,0,0,0,0,0,0 //TF_DOUBLE#Double Attack#
35,1,9,0,0,0,0,0,0,0,0,0,0 //NV_BASIC#Basic Skill#
35,142,1,0,0,0,0,0,0,0,0,0,0 //NV_FIRSTAID#First Aid#
35,410,1,0,0,0,0,0,0,0,0,0,0 //WE_CALLBABY#Call Baby#
35,681,1,0,0,0,0,0,0,0,0,0,0 //ALL_INCCARRY#Enlarge Weight Limit R#
620: Ninja
621: Summer
620: Ninja
621: Summer
700: Burglar
!52
°Л»з
ё¶№э»з
!35
Burglar
!52
°Л»з
ё¶№э»з
!52
°Л»з
ё¶№э»з
!35
јєБчАЪ
!52
°Л»з
ё¶№э»з
!52
°Л»з\\°Л»з
ё¶№э»з\\ё¶№э»з
!35
јєБчАЪ\\јєБчАЪ
!52
°Л»з\\°Л»з
ё¶№э»з\\ё¶№э»з
!52
°Л»з
ё¶№э»з
!35
јєБчАЪ
!52
°Л»з
ё¶№э»з
!47
1_M_01
1_M_02
1_M_03
!35
Burglar
!47
1_M_01
1_M_02
1_M_03
1_M_04
Мужской спрайт:
sprite\АО°ЈБ•\ёцЕл\іІ
Женский спрайт:
sprite\АО°ЈБ•\ёцЕл\ї©
Burglar_іІ.spr
Burglar_іІ.act
Burglar_ї©.spr
Burglar_ї©.act
Автор: Rectedo: Дата: 03.22.2010
А вот тут ошибочка не вышла?
Ищем:
case MAPID_SUMMER: return JOB_SUMMER;
Заменяем на:
case MAPID_BURGLAR: return JOB_BURGLAR;
case MAPID_SUMMER: return JOB_SUMMER;
case MAPID_BURGLAR: return JOB_BURGLAR;