diff options
Diffstat (limited to 'world/map/conf/magic-procedures.sex')
-rw-r--r-- | world/map/conf/magic-procedures.sex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/world/map/conf/magic-procedures.sex b/world/map/conf/magic-procedures.sex index e510ec3f..6157765d 100644 --- a/world/map/conf/magic-procedures.sex +++ b/world/map/conf/magic-procedures.sex @@ -284,7 +284,7 @@ (IF (&& (is_in (location caster) (@+ - (@ "009-7.gat" (script_int caster "$@fightclub_x1") (script_int caster "$@fightclub_y1")) + (@ "009-7" (script_int caster "$@fightclub_x1") (script_int caster "$@fightclub_y1")) (+ (- (script_int caster "$@fightclub_x2") (script_int caster "$@fightclub_x1")) 1) (+ (- (script_int caster "$@fightclub_y2") (script_int caster "$@fightclub_y1")) 1))) (|| @@ -297,7 +297,7 @@ (not (is_in (location caster) (@+ - (@ "009-7.gat" (script_int caster "$@fightclub_x1") (script_int caster "$@fightclub_y1")) + (@ "009-7" (script_int caster "$@fightclub_x1") (script_int caster "$@fightclub_y1")) (+ (- (script_int caster "$@fightclub_x2") (script_int caster "$@fightclub_x1")) 1) (+ (- (script_int caster "$@fightclub_y2") (script_int caster "$@fightclub_y1")) 1))))) (ABORT))) @@ -306,7 +306,7 @@ (!= (pc target) caster) (is_in (location (pc target)) (@+ - (@ "009-7.gat" (script_int caster "$@fightclub_x1") (script_int caster "$@fightclub_y1")) + (@ "009-7" (script_int caster "$@fightclub_x1") (script_int caster "$@fightclub_y1")) (+ (- (script_int caster "$@fightclub_x2") (script_int caster "$@fightclub_x1")) 1) (+ (- (script_int caster "$@fightclub_y2") (script_int caster "$@fightclub_y1")) 1)))) (ABORT)))) @@ -320,7 +320,7 @@ (rbox location (if_then_else (is_in (location caster) (@+ - (@ "009-7.gat" (- (script_int caster "$@fightclub_x1") 2) (- (script_int caster "$@fightclub_y1") 2)) + (@ "009-7" (- (script_int caster "$@fightclub_x1") 2) (- (script_int caster "$@fightclub_y1") 2)) (+ (- (script_int caster "$@fightclub_x2") (script_int caster "$@fightclub_x1")) 5) (+ (- (script_int caster "$@fightclub_y2") (script_int caster "$@fightclub_y1")) 5))) 1 2)) caster |