서먼몹수정
C_NPCAction.java를 찾으세요
private void summonMonster(L1PcInstance pc, String s) {<<<검색
String[] summonstr_list;
int[] summonid_list;
int[] summonlvl_list;
int[] summoncha_list;
int summonid = 0;
int levelrange = 0;
int summoncost = 0;
summonstr_list = new String[] { "7", "263", "8", "264", "9", "265", "10", "266", "11", "267", "12", "268", "13", "269", "14", "270", "526", "15", "271", "527", "17", "18" };
summonid_list = new int[] { 81083, 81090, 81084, 81091, 81085, 81092, 81086, 81093, 81087, 81094, 81088, 81095, 81089, 81096, 81097,
81098, 81099, 81100, 81101, 81102, 81103, 81104 };
summonlvl_list = new int[] { 28, 28, 32, 32, 36, 36, 40, 40, 44, 44, 48, 48, 52, 52, 56, 56, 56, 60, 60, 60, 68, 72 };
summoncha_list = new int[] { 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 8,
8, 8, 8, 10, 10, 10, 36, 40 };
summonstr_list = new String[] { "7", "263", "519", "8", "264", "520", "9", "265",
"521","10", "266", "522","11", "267", "523", "12", "268", "524", "13", "269", "525", "14",
"270", "526", "15", "271", "527", "16","17", "18" , "274"}; //이부분은 소반 착용했을때 몹 선택부분...
summonid_list = new int[] {
245140, 245027, 245762, //28 방어 공격 원거리 순서입니다.
245098, 245143, 245138,//32
245163, 245139, 245197,//36
81083, 81084, 81085, //40
81086, 81087, 81088,//44
81089, 81090, 81091,//48
81092, 81093, 81094,//52
81095, 81096, 81097, //56
81098, 81099, 81100,//60
81101, //64
81102,//68
81103, 81104 //72
}; // 소환몹 정하는 구문....
summonlvl_list = new int[] { 28, 28, 28, 32, 32, 32, 36, 36, 36, 40, 40, 40, 44, 44,
44, 48, 48, 48, 52, 52, 52, 56, 56, 56, 60, 60, 60, 64, 68, 72, 72 };//술자 레벨제한
summoncha_list = new int[] { 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
8, 8, 8, 10, 10, 10, 16, 16, 16, 21, 42, 42, 50 };//카리 소비구문
//여기도 위처럼 나누어서 생각하시면되요
// 서몬몹의 종류, 필요 Lv, 애완동물 코스트를 얻는다
for (int loop = 0; loop < summonstr_list.length; loop++) {
if (s.equalsIgnoreCase(summonstr_list[loop])) {
summonid = summonid_list[loop];
levelrange = summonlvl_list[loop];
summoncost = summoncha_list[loop];
L1SkillUse.java
} else if (_skillId == SUMMON_MONSTER) { // 서몬몬스터
L1PcInstance pc = (L1PcInstance) cha;
int level = pc.getLevel();
int[] summons;
if (pc.getMap().isRecallPets() || pc.isGm()) {
if (pc.getInventory().checkEquipped(20284)) {
pc
.sendPackets(new S_ShowSummonList(pc
.getId()));
} else {
summons = new int[] { 81083, 81084, 81085,
81086, 81087, 81088, 81089 };
summons = new int[] { 245140, 245098, 245163,
81083, 81086, 81089, 81092 };//여기는 소반착용 안했을때 나오는 몹아디적어주세요.

쿄뉴 님의 최근 댓글
감사합니다 2024 01.27 감사합니다. 2024 01.24 와웅 2024 01.17 ㄳㄳ 2024 01.06 ㅋㅋㅋㅋ 2024 01.01