異世界の創造者 改造スレ[無断転載禁止] (201レス)
1-

144: 2023/08/26(土)10:34 ID:0WlVn8Ld(1) AAS
ランクアップのアイコンが戻るのも対応してみた

tGameItem.prototype.equipRankupItem = function (a, b, c, f) {
"undefined" == typeof f && (f = !0);
var e = this.parent.tGameItem.getItemName(b);
//------------------------ここから追加------------------------------
var icon = b[3];
//------------------------ここまで追加------------------------------
f && this.parent.tGameEffect.effectSimple({ mapId: a.mapId, effectId: "ef38", positions: [a.viewPosition] }, function (d) {});
if (!this.convertTargetRankEquipment(b, Math.round(10 * (b[15] + c)) / 10)) return f && (b = this.parent.tGameTalkResource.convertValue(this.parent.tGameTalkResource.talkData.system.logequiprankupng, [a.name, this.parent.tGameItem.getItemName(b)]), this.parent.tGameLog.addAndViewLog(b)), !1;
f && (b = this.parent.tGameTalkResource.convertValue(this.parent.tGameTalkResource.talkData.system.logequiprankupok, [a.name, e, this.parent.tGameItem.getItemName(b)]), this.parent.tGameLog.addAndViewLog(b));
//------------------------ここから追加------------------------------
var s = e.match(/^(\[呪])?(.*)[(]rank\d*?[.]?\d+?[)][+-]?\d*?$/)[2]; s != null && s != "" && (b[4] = s); b[3] = icon;
//------------------------ここまで追加------------------------------
this.parent.tGameCharactor.setStatus(a);
return !0;
};

前回の正規表現が雑過ぎたので今回はちゃんとした
1-
あと 57 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.031s