1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"[email protected]"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e50ce474-d014-46df-93a6-e314bafb8bfc",e._sentryDebugIdIdentifier="sentry-dbid-e50ce474-d014-46df-93a6-e314bafb8bfc")}catch(e){}}(),(globalThis.rspackChunk=globalThis.rspackChunk||[]).push([[3635],{51518(e,t,r){r(35690),Opal.queue(function(e){var t,r,n,a,i,o,s,l,$,c,u=e.module,d=e.klass,_=e.const_set,b=e.truthy,f=e.def,y=e.rb_le,m=e.rb_minus,h=e.rb_plus,P=e.rb_divide,g=e.rb_times,p=[],D=e.nil;return t=p[0],n=(r=[u(t,"BCDice")].concat(p))[0],a=[u(n,"GameSystem")].concat(r),i=e.$r(a),o=a[0],s=i("Base"),$=[l=d(o,s,"PersonaO")].concat(a),c=e.$r($),l.$$prototype.randomizer=D,_($[0],"ID","PersonaO"),_($[0],"NAME","ãã«ã½ãTRPG-O"),_($[0],"SORT_KEY","ã¸ãããªTRPGO"),_($[0],"HELP_MESSAGE","ã»åºæ¬å¤å®\nãPTx@yãxï¼ç®æ¨å¤ãyï¼ã¯ãªãã£ã«ã«å¤ï¼çç¥æã¯5ï¼\nãä¾ï¼PT60ãPT90@10\n\nã»ãã¡ã¼ã¸è¨ç®\nãnPD+(x+y*2)%(z-a)-bãnï¼ãã¤ã¹åæ°ãxï¼ã¹ãã«åºå®å¤ãyï¼ãã¼ãã¹ãzï¼ããåçãaï¼èæ§ãbï¼æµé²å¾¡å\nãnPD+(x+y*2)ã¾ã§ãã¹ãã«ã«ããç´ ã®ãã¡ã¼ã¸ãzããã³aã¯è¨ç®å¼ãå
¥ãã¦ããã\nã\nãä¾ï¼ã½ããã¯ãã³ããåB2ç¹ã\nãããã¿ã«ã«ã¸ã£ãããã£ã¦ãããææèæ§ããã\nãããç®æ¨ã®ç©çé²å¾¡åã¯2ç¹\nããã\nããã2PD+(20+2*2)%(100+50-50)-2\n"),l.$register_prefix("PT","\\d+PD"),f(l,"$eval_game_system_specific_command",function(e){var t=D;return b(t=this.$roll_attack(e))?t:this.$roll_damage(e)}),l.$private(),f(l,"$roll_attack",function(e){var t,r=D,n=D,a=D,i=D,o=D,s=D;return b(r=/^PT(-?\d+)?(@(-?\d+))?$/i.$match(e))?(n=r["$[]"](1).$to_i(),a=b(i=(t=r["$[]"](3))===D||null==t?D:t.$to_i())?i:5,(s=b(y(o=this.randomizer.$roll_once(100),a))?c("Result").$critical("ã¯ãªãã£ã«ã«"):b(y(o,n))?c("Result").$success("æå"):c("Result").$failure("失æ"))["$text="]("D100<="+n+"@"+a+" ï¼ "+o+" ï¼ "+s.$text()),s):D}),f(l,"$roll_damage",function(e){var t=D,r=D,n=D,a=D,i=D,o=D,s=D;return b(t=/^(\d+)PD\+(-?\d+)%(-?\d+)-(\d+)$/i.$match(e))?(r=t["$[]"](1).$to_i(),n=t["$[]"](2).$to_i(),a=t["$[]"](3).$to_i(),i=t["$[]"](4).$to_i(),s=m(h((o=this.randomizer.$roll_barabara(r,10)).$sum(),P(g(a,n),100).$to_i()),i),""+r+"D10+"+n+"ï¼"+a+"%-"+i+" ï¼ ["+o.$join(",")+"]+"+n+"ï¼"+a+"%-"+i+" ï¼ "+s+" ãã¡ã¼ã¸ï¼"):D})})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.