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
sub change1 { | |
my ($target) = @_; | |
$target =~ s/5属性/火水木光闇/g; | |
$target =~ s/+//g; | |
$target =~ s/(火|水|木|光|闇|回復|お邪魔|爆弾|猛毒|毒)/[$1]/g; | |
return $target; | |
} | |
for my $key (%$data) { |
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
sub change1 { | |
my ($target) = @_; | |
$target =~ s/以外のドロップから/以外から/g; | |
$target =~ s/全ドロップのロックを解除し、([\s\S]+変化。)/ロックを解除し、全ドロップを$1/g; | |
$target =~ s/(^|[^全])ドロップのロック/$1ロック/g; | |
$target =~ s/毒([\s\S]*を[^を]*に)/毒猛毒$1/g; | |
$target =~ s/5属性/火水木光闇/g; | |
$target =~ s/(火|水|木|光|闇|回復|お邪魔|爆弾|猛毒|毒)(?:ドロップ)?[、と+]?/[$1]/g; | |
return $target; | |
} |
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
#!/usr/bin/perl | |
use strict; | |
use utf8; | |
my $title; | |
my $image_url; | |
my $description; | |
# $ENV{'PATH_INFO'} を参照して、必要に応じて $title , $image_url , $description に代入する |
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
/** 親要素および親要素の子要素にのみ適用されるスタイル情報要素のコンポーネントです。 */ | |
Vue.component('scopedStyle', { | |
common: { inc: 0 }, | |
mounted: function () { | |
const className = 'scopedStyle' + this.$options.common.inc++; | |
this.$el.parentNode.classList.add(className); | |
this.$el.textContent = this.$slots.default[0].text.replace(/([^\}]+\{)/g, `.${className} $1`); | |
}, | |
template: '<div is="style" />' | |
}); |
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
[ | |
{ | |
"storyType": "メインストーリー", | |
"name": "M2-1-1", | |
"difficulty": 6, | |
"ap": 6, | |
"dropItems": [ | |
"燕尾の羽", | |
"羊の角笛" | |
], |