Skip to content
La2Base
Home
DownloadsWikiForumFAQ
Search
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/Скрипты/[s]gordon Kod - Superpoint+что есть АИ
Search

[s]gordon Kod - Superpoint+что есть АИ

1 replies84 viewsCurrently viewing: 1
pchayka
pchayka

User

Ветеран

Posts: 1304

На форуме с: 02/01/2008

Репутация: +1313

Рейтинг: 0

· 01/20/2009, 12:43 PM

Занялся гордоном, надергал его точки перемещения, часов 5 тестировал. Супер поинты + то, что сделал как АИ. Не по папски, но думаю добрые люди помогут с этим.

АИ

Цитата
class 1 gordon1 : raid_boss_type1
{

handler:

EventHandler CREATED()
{
myself::AddMoveSuperPointDesire(myself.sm.name, 0, 2000);
myself::ChangeMoveType(0);
super;
}


EventHandler SEE_CREATURE(creature, equiped_weapon_class_id)
{
if ( ((creature.equiped_weapon_class_id == 8190) || (creature.equiped_weapon_class_id == 8689)) )
{
myself::AddAttackDesire(creature, 1, 1000);
}
super;
}


EventHandler MY_DYING()
{
myself::SetDBValue(myself.sm, 0);
super;
}

EventHandler ATTACKED(attacker,damage)
{
super;
if( myself.sm.db_value == 0 && myself.sm.alive == 1 && attacker.is_pc == 1 )
{
myself::AddAttackDesire(creature, 1, 1000);
}
}


}


npcpos

Цитата
territory_begin [gordon_area] {{159284;-53307;-3300;-3200};{159573;-53307;-3300;-3200};{159569;-53795;-3300;-3200};{159242;-53783;-3300;-3200}} territory_end
npcmaker_begin [gordon_area] initial_spawn=all maximum_npc=1
npc_begin [gordon1] pos={159408;-53553;-3216;0} total=1 respawn=18hour respawn_rand=12hour dbname=[gordon] dbsaving={death_time} npc_end
npcmaker_end


ну и суперпоинты

[attachment=2328:gordon.zip]

— You're an amateur

0
Topic is closed for replies