-
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
1 parent
fd5cfcf
commit 1559195
Showing
5 changed files
with
108 additions
and
2 deletions.
There are no files selected for viewing
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
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 @@ | ||
つくる('メイジ', 3, 4, 'map1', むき.した) |
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 @@ | ||
this.しょうかんする('メイジ', 1, 0) |
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,87 @@ | ||
import '../game' | ||
|
||
rule.つくられたとき(async function() { | ||
await this.みためをかえる('メイジ') | ||
this.なかま = なかま.プレイヤー | ||
this.たいりょく = 3 | ||
this.こうげきりょく = 1 | ||
this.みえるきょり = 3 | ||
this.みえるはんい = 1 | ||
|
||
/*+ つくられたとき */ | ||
}) | ||
|
||
rule.つねに(async function() { | ||
await this.おいかける('プレイヤー') | ||
await this.てきをみつける() | ||
|
||
/*+ つねに */ | ||
}) | ||
|
||
rule.みつけたとき(async function(item) { | ||
if (this.てきかどうか(item)) { | ||
await this.まつ(1) | ||
await this.こうげきする() | ||
await this.うしろにあるく() | ||
await this.てきをみつける() | ||
await this.あるく() | ||
await this.てきをみつける() | ||
|
||
/*+ みつけたとき */ | ||
} | ||
/*+ みつけたとき */ | ||
}) | ||
|
||
rule.こうげきするとき(async function() { | ||
this.しょうかんする('赤色のうず', 3, 1) | ||
this.しょうかんする('赤色のうず', 3, 0) | ||
this.しょうかんする('赤色のうず', 3, -1) | ||
|
||
/*+ こうげきするとき */ | ||
}) | ||
|
||
rule.ぶつかったとき(async function(item) { | ||
if (item.は('プレイヤー')) { | ||
/*+ ぶつかったとき */ | ||
} | ||
/*+ ぶつかったとき */ | ||
}) | ||
|
||
rule.たおされたとき(async function() { | ||
/*+ たおされたとき */ | ||
}) | ||
|
||
rule.こうげきされたとき(async function(item) { | ||
if (item.は('プレイヤー')) { | ||
/*+ こうげきされたとき */ | ||
} | ||
/*+ こうげきされたとき */ | ||
}) | ||
|
||
rule.メッセージされたとき(async function(item) { | ||
/*+ メッセージされたとき */ | ||
}) | ||
|
||
rule.じかんがすすんだとき(async function() { | ||
/*+ じかんがすすんだとき */ | ||
}) | ||
|
||
rule.すすめなかったとき(async function() { | ||
/*+ すすめなかったとき */ | ||
}) | ||
|
||
rule.しょうかんされたとき(async function(item) { | ||
/*+ しょうかんされたとき */ | ||
}) | ||
|
||
rule.あるいたとき(async function() { | ||
/*+ あるいたとき */ | ||
}) | ||
|
||
rule.へんすうがかわったとき(async function() { | ||
/*+ へんすうがかわったとき */ | ||
}) | ||
|
||
rule.タップされたとき(async function() { | ||
/*+ タップされたとき */ | ||
}) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.