-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
374 changed files
with
12,270 additions
and
4,496 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
IF | ||
Global("bd_ai_controls","locals",0) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("bd_ai_controls","locals",1) | ||
SetGlobal("bd_no_assist","locals",2) | ||
SetGlobal("bd_no_search","locals",1) | ||
END | ||
|
||
IF | ||
!Allegiance(Myself,ENEMY) | ||
NumberOfTimesTalkedTo(0) | ||
See([PC]) | ||
THEN | ||
RESPONSE #100 | ||
SaveLocation("LOCALS","bd_default_loc",[3920.3409]) | ||
ApplySpellRES("bdcutspy",Myself) // No such index | ||
StartDialogueNoSet([PC]) | ||
END | ||
|
||
IF | ||
!Allegiance(Myself,ENEMY) | ||
NearLocation(Myself,3920,3409,6) | ||
!See([PC]) | ||
THEN | ||
RESPONSE #100 | ||
RandomWalk() | ||
END | ||
|
||
IF | ||
Allegiance(Myself,ENEMY) | ||
Global("bd_amulet","locals",0) | ||
!GlobalTimerNotExpired("bd_cast","locals") | ||
HasItem("bdamul03",Myself) // Amulet of Abnormally Awesome Ankheg Summoning | ||
See(NearestEnemyOf(Myself)) | ||
THEN | ||
RESPONSE #100 | ||
SetInterrupt(FALSE) | ||
SetGlobal("bd_amulet","locals",1) | ||
SetGlobalTimer("bd_cast","locals",ONE_ROUND) | ||
SetGlobalTimerRandom("bd_use_amulet","locals",TWO_ROUNDS,THREE_ROUNDS) | ||
UseItem("bdamul03",Myself) // Amulet of Abnormally Awesome Ankheg Summoning | ||
SetInterrupt(TRUE) | ||
Continue() | ||
END | ||
|
||
IF | ||
Global("bd_amulet","locals",1) | ||
!GlobalTimerNotExpired("bd_cast","locals") | ||
HasItem("bdamul03",Myself) // Amulet of Abnormally Awesome Ankheg Summoning | ||
!GlobalTimerNotExpired("bd_use_amulet","locals") | ||
DifficultyGT(EASY) | ||
See(NearestEnemyOf(Myself)) | ||
THEN | ||
RESPONSE #100 | ||
SetInterrupt(FALSE) | ||
SetGlobalTimer("bd_cast","locals",ONE_ROUND) | ||
SetGlobalTimerRandom("bd_use_amulet","locals",TWO_ROUNDS,THREE_ROUNDS) | ||
UseItem("bdamul03",Myself) // Amulet of Abnormally Awesome Ankheg Summoning | ||
SetInterrupt(TRUE) | ||
RESPONSE #50 | ||
Continue() | ||
END | ||
|
||
IF | ||
Allegiance(Myself,ENEMY) | ||
NearLocation(Myself,3920,3409,30) | ||
Global("BD_Ferrusk_Allies","MYAREA",0) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("BD_Ferrusk_Allies","MYAREA",1) | ||
Continue() | ||
END | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,90 @@ | ||
IF | ||
See([PC]) | ||
AttackedBy([GOODCUTOFF],DEFAULT) | ||
Allegiance(Myself,NEUTRAL) | ||
Die() | ||
GlobalLT("bd_coal_killed","bd4000",0) // Dragonspear Castle, Exterior | ||
THEN | ||
RESPONSE #300 | ||
IncrementGlobal("bd_coal_count","bd4000",-1) // Dragonspear Castle, Exterior | ||
IncrementGlobal("bd_coal_killed","bd4000",1) // Dragonspear Castle, Exterior | ||
ChangeAIScript("",RACE) | ||
ChangeAIScript("",GENERAL) | ||
END | ||
|
||
IF | ||
Die() | ||
THEN | ||
RESPONSE #300 | ||
IncrementGlobal("bd_coal_count","bd4000",-1) // Dragonspear Castle, Exterior | ||
IncrementGlobal("bd_coal_killed","bd4000",1) // Dragonspear Castle, Exterior | ||
ChangeAIScript("",RACE) | ||
ChangeAIScript("",GENERAL) | ||
DestroySelf() | ||
END | ||
|
||
IF | ||
Global("bd_lanewalk","locals",0) | ||
Global("bd_outer_gate_explosion","bd4000",0) // Dragonspear Castle, Exterior | ||
THEN | ||
RESPONSE #100 | ||
SmallWait(5) | ||
Enemy() | ||
SetGlobal("bd_lanewalk","locals",1) | ||
SetGlobal("bd_no_retreat","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveObjectLocation("LOCALS","bd_walk_point1","dsc_gate_outer") | ||
SaveObjectLocation("LOCALS","bd_walk_point2","courtyard") | ||
SaveObjectLocation("LOCALS","bd_default_loc","courtyard") | ||
ChangeSpecifics(Myself,ALLIES2) | ||
ChangeEnemyAlly(Myself,GOODBUTBLUE) | ||
END | ||
|
||
IF | ||
See(Player1) | ||
!Allegiance(Myself,ENEMY) | ||
NumberOfTimesTalkedTo(0) | ||
Global("bd_lanewalk","locals",0) | ||
Global("bd_outer_gate_explosion","bd4000",1) // Dragonspear Castle, Exterior | ||
GlobalLT("bd_plot","global",440) | ||
THEN | ||
RESPONSE #100 | ||
Dialogue(Player1) | ||
SetGlobal("bd_lanewalk","locals",1) | ||
SetGlobal("bd_no_retreat","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveObjectLocation("LOCALS","bd_walk_point1","dsc_gate_outer") | ||
SaveObjectLocation("LOCALS","bd_walk_point2","camp_arrival1") | ||
SaveObjectLocation("LOCALS","bd_default_loc","camp_arrival1") | ||
ChangeEnemyAlly(Myself,GOODBUTBLUE) | ||
RESPONSE #100 | ||
SetGlobal("bd_lanewalk","locals",1) | ||
SetGlobal("bd_no_retreat","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveObjectLocation("LOCALS","bd_walk_point1","dsc_gate_outer") | ||
SaveObjectLocation("LOCALS","bd_walk_point2","camp_arrival2") | ||
SaveObjectLocation("LOCALS","bd_default_loc","camp_arrival2") | ||
ChangeEnemyAlly(Myself,GOODBUTBLUE) | ||
RESPONSE #100 | ||
SetGlobal("bd_lanewalk","locals",1) | ||
SetGlobal("bd_no_retreat","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveObjectLocation("LOCALS","bd_walk_point1","dsc_gate_outer") | ||
SaveObjectLocation("LOCALS","bd_walk_point2","courtyard") | ||
SaveObjectLocation("LOCALS","bd_default_loc","courtyard") | ||
ChangeEnemyAlly(Myself,GOODBUTBLUE) | ||
END | ||
|
||
IF | ||
!GlobalLT("bd_plot","global",450) | ||
Global("bd_lanewalk","locals",0) | ||
GlobalGT("bd_move_into_keep","locals",0) | ||
NearSavedLocation(Myself,"LOCALSbd_default_loc",5) | ||
Switch("bd_move_into_keep","locals") | ||
THEN | ||
RESPONSE #1 | ||
IncrementGlobal("bd_move_into_keep","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveLocation("LOCALS","bd_default_loc",[4160.1885]) | ||
SetGlobal("bd_retreat","locals",1) | ||
RESPONSE #2 | ||
IncrementGlobal("bd_move_into_keep","locals",1) | ||
Face(NW) | ||
SaveLocation("LOCALS","bd_default_loc",[4425.540]) | ||
SetGlobal("bd_retreat","locals",1) | ||
RESPONSE #3 | ||
Face(NW) | ||
EscapeAreaObject("TransBD4100") | ||
END | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
IF | ||
Global("bd_lanewalk","locals",0) | ||
Global("bd_outer_gate_explosion","bd4000",1) // Dragonspear Castle, Exterior | ||
GlobalTimerExpired("bd_wave2_timer","bd4000") // Dragonspear Castle, Exterior | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("bd_lanewalk","locals",1) | ||
SetGlobal("bd_no_retreat","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveObjectLocation("LOCALS","bd_walk_point1","dsc_gate_outer") | ||
SaveObjectLocation("LOCALS","bd_walk_point2","camp_arrival1") | ||
SaveObjectLocation("LOCALS","bd_default_loc","camp_arrival1") | ||
ChangeEnemyAlly(Myself,GOODBUTBLUE) | ||
RESPONSE #100 | ||
SetGlobal("bd_lanewalk","locals",1) | ||
SetGlobal("bd_no_retreat","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveObjectLocation("LOCALS","bd_walk_point1","dsc_gate_outer") | ||
SaveObjectLocation("LOCALS","bd_walk_point2","camp_arrival2") | ||
SaveObjectLocation("LOCALS","bd_default_loc","camp_arrival2") | ||
ChangeEnemyAlly(Myself,GOODBUTBLUE) | ||
RESPONSE #100 | ||
SetGlobal("bd_lanewalk","locals",1) | ||
SetGlobal("bd_no_retreat","locals",1) | ||
SetGlobal("bd_no_search","locals",1) | ||
SaveObjectLocation("LOCALS","bd_walk_point1","dsc_gate_outer") | ||
SaveObjectLocation("LOCALS","bd_walk_point2","courtyard") | ||
SaveObjectLocation("LOCALS","bd_default_loc","courtyard") | ||
ChangeEnemyAlly(Myself,GOODBUTBLUE) | ||
END | ||
|
Oops, something went wrong.