Выпадение пачки мобов в локации Форш оф годс с4

sergebaz

Прославленный
Местный
Сообщения
540
Розыгрыши
0
Решения
1
Репутация
230
Реакции
105
Баллы
1 478
Хроники
  1. Scions of Destiny
Сборка
Lostworld
Доброго времени, подскажите с каких мобов в форш оф гатс, при убийстве их появляются 5 мобов точно таких же(матрешки)?
 
Там немного другая логика спавна доп. мобов - при смерти обычных мобов там есть некоторый шанс того что заспавнится один из 5 бонусных видов лавазавров с ид 18799-18803.
Java:
class warrior_basic_forge : warrior_basic {
parameter:
    int Skill02_Probablity = 2000;
    int Skill02_Check_Dist = 1;
    int HateClass1 = 82;
    float HateClass1Boost = 5.0;
    float HATE_SKILL_Weight_Point = 30.0;
    int TID_MOB_COUNT_REFRESH = 78001;
    int TIME_MOB_COUNT_REFRESH = 15;
    int MobCount_bonus_min = 3;
    int MobCount_bonus_upper_lv01 = 5;
    int MobCount_bonus_upper_lv02 = 10;
    int MobCount_bonus_upper_lv03 = 15;
    int MobCount_bonus_upper_lv04 = 20;
    int MobCount_bonus_upper_lv05 = 35;
    int MobCount_bonus_lower_lv01 = 5;
    int MobCount_bonus_lower_lv02 = 10;
    int MobCount_bonus_lower_lv03 = 15;
    int Prob_forge_bonus01 = 20;
    int Prob_forge_bonus02 = 40;
    int mode = 0;
    int babble_mode = 0;
 
handler:
    EventHandler CREATED() {
        myself.i_ai1 = 0;
        AddTimerEx(TID_MOB_COUNT_REFRESH, TIME_MOB_COUNT_REFRESH * 1000);
        super;
    }

    EventHandler SEE_CREATURE() {
        if (babble_mode == 1) {
            Say("보임");
        }

        super;
    }

    EventHandler CLAN_DIED(victim) {
        if (victim != myself.sm && DistFromMe(victim) <= 300 && victim.npc_class_id != @lavasaurus_lv1 && victim.npc_class_id != @lavasaurus_lv2 && victim.npc_class_id != @lavasaurus_lv3 && victim.npc_class_id != @lavasaurus_lv4 && victim.npc_class_id != @lavasaurus_lv5 && victim.npc_class_id != @lavastone_golem2 && victim.npc_class_id != @magma_golem2) {
            myself.i_ai1 = myself.i_ai1 + 1;

            if (babble_mode == 1) {
                Say("사망 신호 접수:" + myself.i_ai1 + "회");
            }
        }

        super;
    }

    EventHandler TIMER_FIRED_EX(timer_id, i0) {
        if (timer_id == TID_MOB_COUNT_REFRESH) {
            if (myself.sm.alive == @TRUE && myself.i_ai1 > 0 && FloatToInt(myself.sm.hp) == FloatToInt(myself.sm.max_hp)) {
                myself.i_ai1 = 0;
            }

            AddTimerEx(TID_MOB_COUNT_REFRESH, TIME_MOB_COUNT_REFRESH * 1000);
        }

        super;
    }

    EventHandler MY_DYING(i0) {
        if (babble_mode == 1) {
            Say("사망 - 접수된 주변 사망 수:" + myself.i_ai1 + "회");
        }

        i0 = Rand(100);

        if (mode == 1 && Maker_GetNpcCount() < 48) {
            if (myself.i_ai1 > MobCount_bonus_lower_lv03 && i0 <= Prob_forge_bonus02) {
                if (babble_mode == 1) {
                    Say("5단계 보너스 스폰");
                }

                CreateOnePrivateEx(@lavasaurus_lv5, "wizard_bonus_forge_5", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
            } else if (myself.i_ai1 > MobCount_bonus_lower_lv02 && myself.i_ai1 <= MobCount_bonus_lower_lv03) {
                if (i0 <= Prob_forge_bonus01) {
                    if (babble_mode == 1) {
                        Say("5단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv5, "wizard_bonus_forge_5", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                } else if (i0 <= Prob_forge_bonus02) {
                    if (babble_mode == 1) {
                        Say("4단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv4, "wizard_bonus_forge_4", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                }
            } else if (myself.i_ai1 > MobCount_bonus_lower_lv01 && myself.i_ai1 <= MobCount_bonus_lower_lv02) {
                if (i0 <= Prob_forge_bonus01) {
                    if (babble_mode == 1) {
                        Say("4단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv4, "wizard_bonus_forge_4", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                } else if (i0 <= Prob_forge_bonus02) {
                    if (babble_mode == 1) {
                        Say("3단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv3, "wizard_bonus_forge_3", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                }
            }

            if (myself.i_ai1 >= MobCount_bonus_min && myself.i_ai1 <= MobCount_bonus_lower_lv01) {
                if (i0 <= Prob_forge_bonus01) {
                    if (babble_mode == 1) {
                        Say("3단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv3, "wizard_bonus_forge_3", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                } else if (i0 <= Prob_forge_bonus02) {
                    if (babble_mode == 1) {
                        Say("2단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv2, "wizard_bonus_forge_2", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                }
            }
        } else if (Maker_GetNpcCount() < 32) {
            if (myself.i_ai1 > MobCount_bonus_upper_lv05 && i0 <= Prob_forge_bonus02) {
                if (babble_mode == 1) {
                    Say("5단계 보너스 스폰");
                }

                CreateOnePrivateEx(@lavasaurus_lv5, "wizard_bonus_forge_5", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
            } else if (myself.i_ai1 > MobCount_bonus_upper_lv04 && myself.i_ai1 <= MobCount_bonus_upper_lv05) {
                if (i0 <= Prob_forge_bonus01) {
                    if (babble_mode == 1) {
                        Say("5단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv5, "wizard_bonus_forge_5", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                } else if (i0 <= Prob_forge_bonus02) {
                    if (babble_mode == 1) {
                        Say("4단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv4, "wizard_bonus_forge_4", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                }
            } else if (myself.i_ai1 > MobCount_bonus_upper_lv03 && myself.i_ai1 <= MobCount_bonus_upper_lv04) {
                if (i0 <= Prob_forge_bonus01) {
                    if (babble_mode == 1) {
                        Say("4단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv4, "wizard_bonus_forge_4", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                } else if (i0 <= Prob_forge_bonus02) {
                    if (babble_mode == 1) {
                        Say("3단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv3, "wizard_bonus_forge_3", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                }
            } else if (myself.i_ai1 > MobCount_bonus_upper_lv02 && myself.i_ai1 <= MobCount_bonus_upper_lv03) {
                if (i0 <= Prob_forge_bonus01) {
                    if (babble_mode == 1) {
                        Say("3단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv3, "wizard_bonus_forge_3", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                } else if (i0 <= Prob_forge_bonus02) {
                    if (babble_mode == 1) {
                        Say("2단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv2, "wizard_bonus_forge_2", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                }
            } else if (myself.i_ai1 > MobCount_bonus_upper_lv01 && myself.i_ai1 <= MobCount_bonus_upper_lv02) {
                if (i0 <= Prob_forge_bonus01) {
                    if (babble_mode == 1) {
                        Say("2단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv2, "wizard_bonus_forge_2", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                } else if (i0 <= Prob_forge_bonus02) {
                    if (babble_mode == 1) {
                        Say("1단계 보너스 스폰");
                    }

                    CreateOnePrivateEx(@lavasaurus_lv1, "wizard_bonus_forge_1", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
                }
            }

            if (myself.i_ai1 >= MobCount_bonus_min && myself.i_ai1 <= MobCount_bonus_upper_lv01 && i0 <= Prob_forge_bonus01) {
                if (babble_mode == 1) {
                    Say("1단계 보너스 스폰");
                }

                CreateOnePrivateEx(@lavasaurus_lv1, "wizard_bonus_forge_1", 0, 0, FloatToInt(myself.sm.x), FloatToInt(myself.sm.y), FloatToInt(myself.sm.z), 0, 0, 0, 0);
            }
        }

        super;
    }
}
З.Ы. Хотя может во времена С4 было и по другому - уже не помню. выше приведенное АИ из более новых хроник.
 
Выпадения лавазавров на с4 не было, значит пачки выпадали со всех обычных мобов... спасибо
 
Назад
Сверху Снизу