1.4
This commit is contained in:
parent
ad2cc76429
commit
7455d630fc
82 changed files with 2179 additions and 900 deletions
|
|
@ -375,7 +375,7 @@ function processForcedBehaviorQueue(tarinai, world, needs) {
|
|||
}
|
||||
|
||||
function effectCauseTextLooksStale(text = "") {
|
||||
return /の効果$/.test(String(text || "").trim().replace(/[。!?]+$/, ""));
|
||||
return /\u306E\u52B9\u679C$/.test(String(text || "").trim().replace(/[\u3002\uFF01\uFF1F]+$/, ""));
|
||||
}
|
||||
|
||||
function setBehaviorText(tarinai, { need = null, actionId = null, actionLabel = null, reasonText = null, reason = null, target = undefined, subNeed = "", phase = "active", source = "state", forced = null, forcedId = "", sourceReasonText = "", forcedReasonText = "", causeText = "" } = {}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue