Update index.js
This commit is contained in:
parent
07c38c5580
commit
8ce89dbc8f
|
@ -4215,6 +4215,7 @@ export class Game extends Uninstantable {
|
||||||
* @param { string } skill
|
* @param { string } skill
|
||||||
* @param { Player } player
|
* @param { Player } player
|
||||||
* @param { GameEventPromise } event
|
* @param { GameEventPromise } event
|
||||||
|
* @returns { GameEventPromise }
|
||||||
*/
|
*/
|
||||||
static createTrigger(name, skill, player, event) {
|
static createTrigger(name, skill, player, event) {
|
||||||
let info = get.info(skill);
|
let info = get.info(skill);
|
||||||
|
@ -4229,6 +4230,7 @@ export class Game extends Uninstantable {
|
||||||
next.includeOut = true;
|
next.includeOut = true;
|
||||||
next._trigger = event;
|
next._trigger = event;
|
||||||
next.setContent('createTrigger');
|
next.setContent('createTrigger');
|
||||||
|
return next;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @legacy Use {@link lib.element.GameEvent.constructor} instead.
|
* @legacy Use {@link lib.element.GameEvent.constructor} instead.
|
||||||
|
|
Loading…
Reference in New Issue