- Регистрация
- 27 Дек 2019
- Сообщения
- 1.386
- Реакции
- 1.365
- Баллы
- 261
- Лучшие ответы
- 76



Ну хз, там же на 1:40:24 видно как он простые шарики запускает и по урону так же. Думаю нужно звать @Blackmail01 и спросить есть ли у того голема обратка
C:
if (fiarasfight == true) {
if (npc_getdisttowp(firegolem_lv, "WDS_LAVA_DEADTREE_01") <= 5000) {
firegolem_lv_count += 1;
firegolem_lv_randyattack = hlp_random(100);
if (firegolem_lv_randyattack <= 5) {
if (hero.protection[prot_fire] < 1500) {
damagefiregolem_lvaoe = 1500 - hero.protection[prot_fire];
ai_turntonpc(firegolem_lv, hero);
ai_playani(firegolem_lv, "T_WARN");
rx_ai_wait(firegolem_lv, 2.0);
wld_playeffect_vec("spellFX_Explosion", firegolem_lv, hero, 2, damagefiregolem_lvaoe, dam_fire, true);
};
};
}
else if (npc_getdisttowp(firegolem_lv, "WDS_LAVA_DEADTREE_01") > 5000) {
firegolem_lv_count = false;
firegolem_lv.attribute[atr_hitpoints] = firegolem_lv.attribute[atr_hitpoints_max];
npc_perceiveall(firegolem_lv);
npc_clearaiqueue(firegolem_lv);
ai_standup(firegolem_lv);
ai_teleport(firegolem_lv, "WDS_LAVA_DEADTREE_01");
fiarasfight = false;
firegolem_lv.aivar[61] = true;
firegolem_lv.flags = npc_flag_immortal;
}
else {
if (heroisdead == true) {
firegolem_lv_count = false;
firegolem_lv.attribute[atr_hitpoints] = firegolem_lv.attribute[atr_hitpoints_max];
npc_perceiveall(firegolem_lv);
npc_clearaiqueue(firegolem_lv);
ai_standup(firegolem_lv);
ai_teleport(firegolem_lv, "WDS_LAVA_DEADTREE_01");
fiarasfight = false;
firegolem_lv.aivar[61] = true;
firegolem_lv.flags = npc_flag_immortal;
};
};
};