你的位置:首页 > 各类教程 > 各类教程

传奇上古技能冻伤、灼烧触发脚本

2014/9/1 19:12:13      点击:
[@MagTagFunc6]  
#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
#Act
MOVR N87 100
INC N87 1

#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
SMALL N87 15
#Act
MOV A0 <$MAPCODE>
MOV A1 <$SELFX>
MOV A2 <$SELFY>
MOV G1 12349

[@MagTagFuncEx6]  
#IF
EQUAL G1 12349
#ACT
goto @技能毒

[@技能毒]
#IF
CheckHumInRange <$STR(A0)> <$STR(A1)> <$STR(A2)> 5
#ACT
PlayEffectEx 88 104 0 1 0 0
Gmexecute TestStatus 4 10
MOV N51 10
MOVR N87 1000
INC N87 1
MOV A0
MOV A1
MOV A2
MOV G1
DelayCall 1000 @灼伤效果A

#IF
SMALL N87 5
#ACT
KILL 2
SENDMSG 6 受到亡灵窒息的毒害!!

[@灼伤效果A]
#IF
EQUAL N51 0
#ACT
SENDMSG 6 窒息效果恢复正常..
BREAK


#IF
large N51 0
#ACT
HumanHP - 50 1
HumanMP - 50 1
DEC N51 1
DelayCall 1000 @灼伤效果A

[@MagTagFunc13]
#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
#Act
MOVR N87 100
INC N87 1

#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
SMALL N87 15
#Act
MOV A0 <$MAPCODE>
MOV A1 <$SELFX>
MOV A2 <$SELFY>
MOV G1 12348

[@MagTagFuncEx13]
#IF
EQUAL G1 12348
#ACT
goto @技能锁

[@技能锁]
#IF
CheckHumInRange <$STR(A0)> <$STR(A1)> <$STR(A2)> 5
#ACT
PlayEffectEx 198 205 2 1 0 0
Gmexecute TestStatus 5 2
MOV A0
MOV A1
MOV A2
MOV G1

[@MagTagFunc23]
#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
#Act
MOVR N87 100
INC N87 1

#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
SMALL N87 15
#Act
MOV A0 <$MAPCODE>
MOV A1 <$SELFX>
MOV A2 <$SELFY>
MOV G1 12347


[@MagTagFuncEx23]
#IF
EQUAL G1 12347
#ACT
DelayCall 1000 @技能火


[@技能火]
#IF
EQUAL G1 12347
CheckHumInRange <$STR(A0)> <$STR(A1)> <$STR(A2)> 5
#ACT
PlayEffectEx 169 184 0 1 0 0
MOVR N87 100
INC N87 1
MUL N10 <$HP> 30
Div N11 <$STR(N10)> 100
HumanHP - <$STR(N11)> 1
MOV A0
MOV A1
MOV A2
MOV G1

#IF
SMALL N87 11
#ACT
SENDMSG 6 受到灼伤伤害持续时间10秒!
PlayEffectEx 152 159 13 1 0 0
MOV N50 10
DelayCall 1000 @灼伤效果

[@灼伤效果]
#IF
EQUAL N50 0
#ACT
SENDMSG 6 灼伤效果恢复正常..
BREAK

#IF
large N50 0
#ACT
HumanHP - 50 1
DEC N50 1
DelayCall 1000 @灼伤效果

[@MagTagFunc33]
#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
#Act
MOVR N87 100
INC N87 1

#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
SMALL N87 15
#Act
MOV A0 <$MAPCODE>
MOV A1 <$SELFX>
MOV A2 <$SELFY>
MOV G1 12345

[@MagTagFuncEx33]
#IF
EQUAL G1 12345
#ACT
DelayCall 1000 @技能冰

[@技能冰]
#IF
CheckHumInRange <$STR(A0)> <$STR(A1)> <$STR(A2)> 5
EQUAL G1 12345
#ACT
PlayEffectEx 206 223 0 1 0 0
MOVR N87 100
INC N87 1
MUL N10 <$HP> 30
Div N11 <$STR(N10)> 100
HumanHP - <$STR(N11)> 1
MOV A0
MOV A1
MOV A2
MOV G1

#IF
SMALL N87 11
#ACT
SendCenterMsg 0 251 受到冰冻伤害持续时间15秒!剩余%d秒. 0 15 @GiveNewHumanItem1
SetDefaulGameSpeed 1 2 3

[@PlayDie]
#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
checkjob warrior
#Act
MOVR N87 100
INC N87 1

#IF
checkitemw 狂风圣带
checkitemw 狂风圣靴
SMALL N87 15
checkjob warrior
#Act
PlayEffectEx 139 151 0 1 0 0
POWERRATE 140 50
GmExeCute 复活 Self
MUL N10 <$HP> 30
Div N11 <$STR(N10)> 100
HumanHP - <$STR(N11)> 1
ChangeModeEx 3 50 <$STR(N11)>
SENDMSG 0 圣龙套装的力量生效玩家【%s】原地复活.力量增幅40%.生命力提升30%持续时间50秒!

SendCenterMsg 0 251 圣龙力量时间剩余%d后你将暴毙.. 0 50 @GiveNewHumanItem


本文由科帆网络传奇一条龙编辑提供,转载注明