Thread: ≈ little "bug"
View Single Post
Old 25.04.2007, 14:26   #1
Marios145
Архивный участник
 
Join Date: Oct 2006
Posts: 120
Default little "bug"

i have most npcs fixed right now, with correct classes but there is 1 error that confuses me
Code:
04/22/2007 17:01:xx.xx8, Npc[cave_ant_4] doesn't have parameter[Fury]. failed to set
04/22/2007 17:01:xx.xx8, Npc[cave_ant_4] doesn't have parameter[MaxRoarCount]. failed to set
in npcdata:
Code:
npc_begin    warrior    1271    [cave_ant_4]    level=37    acquire_exp_rate=xx.xx1698    acquire_sp=987    unsowing=1    clan={@ant_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_bug;@s_npc_weakness_fire2}    npc_ai={[cave_ant_4];{[MoveAroundSocial]=120};{[MoveAroundSocial1]=120};{[MoveAroundSocial2]=120};{[IsTransform]=3};{[step1]=@cave_ant_4};{[step2]=@cave_recruit_4};{[step3]=@cave_noble_ant_4};{[MaxRoarCount]=3};{[Fury]=@s_rage_might}}.....
and ai now..
Code:
class 1 cave_ant_4 : warrior_ag_berserker
Code:
class 1 warrior_ag_berserker : warrior_berserker
Code:
class 1 warrior_berserker : warrior
parameter_define_begin
    int Fury 1033473
    int MaxRoarCount 1
parameter_define_end
the parameter exists in ai, so where is the error? :S
Marios145 is offline