;┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━┓
;┃W w w. Gm00 5. Co m ┃Q Q:1565 98 018 ┃此 bb 本 来 自 GM667 网 络┃
;┗━━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━━┛
[@杀怪功能]
{
#IF
#ACT
GAMEDIAMOND + 1
GOTO @杀怪分支
break

[@杀怪分支]
;----------------------------------------------------------------------
#IF
CheckKillMobName 白野猪
#ACT
GOTO @玫瑰花
BREAK
#IF
CheckKillMobName 白野猪8
#ACT
GOTO @玫瑰花
BREAK
#IF
CheckKillMobName 白野猪77
#ACT
GOTO @玫瑰花
BREAK
;----------------------------------------------------------------------
#IF
ISonmap H201
#ACT
GOTO @幸运之星杀怪
break
#IF
ISonmap H202
#ACT
GOTO @幸运之星杀怪
break
#IF
ISonmap H203
#ACT
GOTO @幸运之星杀怪
break
#IF
ISonmap H204
#ACT
GOTO @幸运之星杀怪
break
#IF
CHECK [121] 1
ISonmap G003
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G004
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G004
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G006
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G007
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G008
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G009
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G010
#ACT
GOTO @荣誉杀怪
break
#IF
CHECK [121] 1
ISonmap G012
#ACT
GOTO @荣誉杀怪
break
;----------------------------------------------------------------------
#IF
CheckKillMobName 元宝树妖
#ACT
MOV G251 1
SendCenterMsg 242 233 【%s:】杀死了（元宝树妖）,打开了天堂之门.【%d】内在土城★绝世老人★处传送（天堂宫殿）. 1 120 @天堂关闭
SendMsg 0 【%s:】杀死了（元宝树妖）,打开了天堂之门.【120秒】内在土城★绝世老人★处传送（天堂宫殿）
BREAK
;----------------------------------------------------------------------
#IF
CheckKillMobName 雷炎使者
#ACT
MOV G252 1
SendCenterMsg 251 233 【%s:】杀死了（雷炎使者）,打开了雷炎神殿之门.【%d】内在土城★绝世老人★处传送（雷炎神殿）. 1 120 @雷炎关闭
SendMsg 0 %s:】杀死了（雷炎使者）,打开了雷炎神殿之门.【120秒】内在土城★绝世老人★处传送（雷炎神殿）
BREAK
;----------------------------------------------------------------------
#IF
CheckKillMobName 神圣龙王
#ACT
MOV G253 1
SendCenterMsg 253 24 【%s:】杀死了（神圣龙王）,打开了神圣大殿之门.【%d】内在土城★绝世老人★处传送（神圣大殿）. 1 120 @神圣关闭
SendMsg 0 【%s:】杀死了（神圣龙王）,打开了神圣大殿之门.【120秒】内在土城★绝世老人★处传送（神圣大殿）
BREAK
;----------------------------------------------------------------------
#IF
CHECK [199] 1
CheckKillMobName 沃玛贵族
#ACT
CALCVAR HUMAN ZZRA + 1
SAVEVAR HUMAN ZZRA ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く元宝任务：目前杀死沃玛贵族(<$HUMAN(ZZRA)>)只.任务要求你必须杀到2只.
break
#IF
CHECK [199] 1
CheckKillMobName 钳虫统领
#ACT
CALCVAR HUMAN ZZRB + 1
SAVEVAR HUMAN ZZRB ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く元宝任务：目前杀死钳虫统领(<$HUMAN(ZZRB)>)只.任务要求你必须杀到2只.
break
#IF
CHECK [199] 1
CheckKillMobName 火蚁
#ACT
CALCVAR HUMAN ZZRC + 1
SAVEVAR HUMAN ZZRC ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く元宝任务：目前杀死火蚁(<$HUMAN(ZZRC)>)只.任务要求你必须杀到10只.
break
#IF
CHECK [199] 1
CheckKillMobName 夜行鬼
#ACT
CALCVAR HUMAN ZZRD + 1
SAVEVAR HUMAN ZZRD ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く元宝任务：目前杀死夜行鬼(<$HUMAN(ZZRD)>)只.任务要求你必须杀到5只.
break
#IF
CHECK [199] 1
CheckKillMobName 逆魔魔锤
#ACT
CALCVAR HUMAN ZZRE + 1
SAVEVAR HUMAN ZZRE ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く元宝任务：目前杀死逆魔魔锤(<$HUMAN(ZZRE)>)只.任务要求你必须杀到5只.
break
#IF
CHECK [199] 1
CheckKillMobName 变态射手
#ACT
CALCVAR HUMAN ZZRF + 1
SAVEVAR HUMAN ZZRF ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く元宝任务：目前杀死变态射手(<$HUMAN(ZZRF)>)只.任务要求你必须杀到1只.
break
#IF
CHECK [199] 1
CheckKillMobName 幽冥卫士
#ACT
CALCVAR HUMAN ZZRG + 1
SAVEVAR HUMAN ZZRG ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く元宝任务：目前杀死幽冥卫士(<$HUMAN(ZZRG)>)只.任务要求你必须杀到10只.
break

#IF
ISONMAP D606A
#ACT
ChangeNationCredit + 1
break




#IF
ISONMAP M995
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP M996
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP M997
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP M998
#ACT
ChangeNationCredit + 1
break


#IF
ISONMAP M999
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP 50
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP F717
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP 1012
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP 1013
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP de23
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP de24
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP de25
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP sw3
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP sw4
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP sw5
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP f003
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2013
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2012
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2011
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2010
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2001
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2002
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2003
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2004
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2005
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2006
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2007
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2008
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP D2009
#ACT
ChangeNationCredit + 1
break

#IF
ISONMAP E701
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP E702
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP E703
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP F004
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2061
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2063
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2064
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP DM002
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2072
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2075
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2076
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP B010
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2003
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D2001
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D10051
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP E605
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP F001
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP E401
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP E402
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP E403
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP E604
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP F002
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D615
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D616
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D617
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D619
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 61
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 621
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 611
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 613
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 622
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 632
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 65
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP 66
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D411
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D413
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D414
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D416
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D415
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP D412
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP F014
#ACT
ChangeNationCredit + 1
break
#IF
ISONMAP dns001
CheckKillMobName 绝对战神
#ACT
ChangeNationCredit + 50
break
#IF
ISONMAP TG001
#ACT
CALCVAR HUMAN ZRBB + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く天门挑战任务：杀死[<$HUMAN(ZRBB)>]只挑战怪,总共需要杀死10只挑战怪物.
GOTO @相关任务跳转1
break
#IF
ISONMAP TG002
#ACT
CALCVAR HUMAN ZRBB + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く天门挑战任务：杀死[<$HUMAN(ZRBB)>]只挑战怪,总共需要杀死10只挑战怪物.
GOTO @相关任务跳转2
break
#IF
ISONMAP TG003
#ACT
CALCVAR HUMAN ZRBB + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く天门挑战任务：杀死[<$HUMAN(ZRBB)>]只挑战怪,总共需要杀死10只挑战怪物.
GOTO @相关任务跳转3
break
#IF
ISONMAP TG004
#ACT
CALCVAR HUMAN ZRBB + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く天门挑战任务：杀死[<$HUMAN(ZRBB)>]只挑战怪,总共需要杀死10只挑战怪物.
GOTO @相关任务跳转4
break
#IF
ISONMAP TG005
#ACT
CALCVAR HUMAN ZRBB + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く天门挑战任务：杀死[<$HUMAN(ZRBB)>]只挑战怪,总共需要杀死10只挑战怪物.
GOTO @相关任务跳转5
break
;#########################################################################################
[@相关任务跳转5]
#IF
CHECKVAR HUMAN ZRBB = 10
#ACT
CALCVAR HUMAN ZRBB = 0
CALCVAR HUMAN ZRAA + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SAVEVAR HUMAN ZRAA ..\QuestDiary\数据文件\任务数据.txt
ClearMapMon TG005
GuildNoticeMsg 250 216 く天门挑战任务：恭喜你完成此次挑战. SELF
break
[@相关任务跳转4]
#IF
CHECKVAR HUMAN ZRBB = 10
#ACT
CALCVAR HUMAN ZRBB = 0
CALCVAR HUMAN ZRAA + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SAVEVAR HUMAN ZRAA ..\QuestDiary\数据文件\任务数据.txt
ClearMapMon TG004
GuildNoticeMsg 250 216 く天门挑战任务：恭喜你完成此次挑战. SELF
break
[@相关任务跳转3]
#IF
CHECKVAR HUMAN ZRBB = 10
#ACT
CALCVAR HUMAN ZRBB = 0
CALCVAR HUMAN ZRAA + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SAVEVAR HUMAN ZRAA ..\QuestDiary\数据文件\任务数据.txt
ClearMapMon TG003
GuildNoticeMsg 250 216 く天门挑战任务：恭喜你完成此次挑战. SELF
break
[@相关任务跳转1]
#IF
CHECKVAR HUMAN ZRBB = 10
#ACT
CALCVAR HUMAN ZRBB = 0
CALCVAR HUMAN ZRAA + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SAVEVAR HUMAN ZRAA ..\QuestDiary\数据文件\任务数据.txt
ClearMapMon TG001
GuildNoticeMsg 250 216 く天门挑战任务：恭喜你完成此次挑战. SELF
break
[@相关任务跳转2]
#IF
CHECKVAR HUMAN ZRBB = 10
#ACT
CALCVAR HUMAN ZRBB = 0
CALCVAR HUMAN ZRAA + 1
SAVEVAR HUMAN ZRBB ..\QuestDiary\数据文件\任务数据.txt
SAVEVAR HUMAN ZRAA ..\QuestDiary\数据文件\任务数据.txt
ClearMapMon TG002
GuildNoticeMsg 250 216 く天门挑战任务：恭喜你完成此次挑战. SELF
break

[@荣誉杀怪]
#IF
RANDOM 20
#ACT
give 10点荣誉值 1
CALCVAR HUMAN ZRDA + 1
SAVEVAR HUMAN ZRDA ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く荣誉战场：当前任务杀怪(<$HUMAN(ZRDA)>)只.完成任务全部清零.
break
#IF
#ACT
CALCVAR HUMAN ZRDA + 1
SAVEVAR HUMAN ZRDA ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く荣誉战场：当前任务杀怪(<$HUMAN(ZRDA)>)只.完成任务全部清零.
break

[@玫瑰花]
#IF
RANDOM 6
#ACT
GetRandomText .\QuestDiary\数据文件\祭坛任务\圣灵玫瑰.txt S0
give <$STR(S0)> 1
GuildNoticeMsg 250 216 く玫瑰：恭喜您获得:<$STR(S0)>. SELF
break

[@幸运之星杀怪]
#IF
#ACT
CALCVAR HUMAN ZRDB + 1
SAVEVAR HUMAN ZRDB ..\QuestDiary\数据文件\任务数据.txt
SendMsg 6 く幸运之星：当前任务杀怪(<$HUMAN(ZRDB)>)只.任务要求至少100只怪物.
break
}