NPC merchant,trade,ai.job
Ola intaum estou com essa duvida tipo estou tentando criar um NPC shop trade e merchant
e estou tendo dificuldade
intaum e o seguinte
copiei as seguintes linhas
Código:
npc_begin merchant 30000 [Sidney] level=70 acquire_exp_rate=0 acquire_sp=0 unsowing=1 clan={} ignore_clan_list={} clan_help_range=300 slot_chest=[] slot_rhand=[] slot_lhand=[] shield_defense_rate=0 shield_defense=0 skill_list={@s_race_humans;@s_full_magic_defence} npc_ai={[lector];{[fnHi]=[lector001.htm]};{[fnSell]=[lector002.htm]};{[fnBuy]=[lector003.htm]};{[fnUnableItemSell]=[lector005.htm]};{[fnYouAreChaotic]=[lector006.htm]};{[fnNowSiege]=[lector007.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=110};{[MoveAroundSocial2]=150}} category={} race=human sex=male undying=1 can_be_attacked=0 corpse_time=7 no_sleep_mode=0 agro_range=0 ground_high={118.8;0;0} ground_low={49.5;0;0} exp=429634528 org_hp=2444 org_hp_regen=11.85 org_mp=1493 org_mp_regen=2.78 collision_radius={10;10} collision_height={24;24} str=40 int=21 dex=30 wit=20 con=43 men=10 base_attack_type=fist base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=7 base_physical_attack=683.28 base_critical=8 physical_hit_modify=0 base_attack_speed=247.42 base_reuse_delay=0 base_magic_attack=468 base_defend=296.1 base_magic_defend=206.28 physical_avoid_modify=0 soulshot_count=0 spiritshot_count=0 hit_time_factor=0.6 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} hp_increase=0 mp_increase=0 safe_height=100 npc_end
nao entendi o que esta em vermelho tem que colocar as html de acordo com o NPC etc
o sobre o Ai.job
Código:
class 1 safiny : merchant e no caso se fose trade seria multisell ? ou sei essa e minha dor de cabeça mecher no ai e add os itens etc
property_define_begin
buyselllist_begin SellList0
{1529; 20; 0.000000; 0 }
{1525; 20; 0.000000; 0 }
{1527; 20; 0.000000; 0 }
{1524; 20; 0.000000; 0 }
{1531; 20; 0.000000; 0 }
{1522; 20; 0.000000; 0 }
{1526; 20; 0.000000; 0 }
{1534; 20; 0.000000; 0 }
{1537; 20; 0.000000; 0 }
{1856; 20; 0.000000; 0 }
{1523; 20; 0.000000; 0 }
{1521; 20; 0.000000; 0 }
{1535; 20; 0.000000; 0 }
{1532; 20; 0.000000; 0 }
{1536; 20; 0.000000; 0 }
{1533; 20; 0.000000; 0 }
{1528; 20; 0.000000; 0 }
{1518; 20; 0.000000; 0 }
{1519; 20; 0.000000; 0 }
{1520; 20; 0.000000; 0 }
{1530; 20; 0.000000; 0 }
buyselllist_end
property_define_end
class_end
ai esta a minha duvida 350z Cria um npc trade e merchant e add os itens no ai.job inclusive fazer um npc buufer se e o mesmo procedimento abraçoss
|