|
ZVSE
** "Lord of Thunder Cave" by Grigor Minchev
** Save for map "Augment"
** 10 June 2003
!#IF:V11/0;
Set flag 11 to 0.
!#VRz123:S^雷[wiki]神[/wiki]洞穴 (未访问)^;
Store text in ^ ^ to z123 string.
!#OB129/2/1:Hz123;
Set object's hint to z123 string.
Main part:
!?OB129/2/1&11;
!!IF&11:M^雷神洞穴^;
If Hero has won the battle visitor will get message: "Lord of Thunder Cave".
!?OB129/2/1&-11;
If Hero enters the Cave and he haven't beaten Lord of Thunder this trigger is activated.
!!IF:Q10^这里是雷神洞穴。 你要进入吗?^;
Hero must answer if he wants to fight or not. Answer is strored in flag 10.
!!HE-1&10:O?v5;
Store owner's color's number in v5 variable.
!!HE-1&10:T129/2/1/152/9;
Provoke a battle with 9 Lords of Thunder Cave
!!HE-1&10:O?v100;
Store owner's color's number in v100 variable.
!!HE-1&10/v5=v100:A35;
Give Double Attack Sword to Hero
!!HE-1&10/v5=v100:A135;
Give Titan's Thunder to Hero.
!!OW-1&10/v5=v100:R0/6/d+200000;
!!HE-1&10/v5=v100:Fd0/d0/d0/d-2;
!!IF&10/v5=v100:V11/1;
If Hero survived set flag 11 to positive.
!!IF&11:Q1/6/200000/1^你打败了9个雷神领主,并缴获了:^;
!!IF&11:Q2/8/88/8/135/2^双击剑和泰坦之箭^;
!!IF&11:Q3/34/-2/1^雷神领主给了你两件神兵,以及泰坦之箭魔法,但他们诅咒你,并使你失去了 2 点知识技能:^;
!!VRz123&11:S^雷神洞穴(已访问)^;
If Hero survived store text in ^ ^ to z123 string.
!!OB129/2/1&11:Hz123;
!!FU14&2:P;
这是别人做的地图中的一个事件,要使此宝屋的守卫不止一种应如何添加触发?战斗刚开始时敌我双方在地图上的位置如何添加语句?高手赐教,再此谢谢了 |
|