Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^^ user.formatAttack=function(e,t,o,s,h,c,n,r,i,a,g){var f="";r&&0==rr&&(echo("\n*Susan "+h+" "+i+" times"),n&&echo(" at "+n),echo(".*\n")),o?hits++:echo("~~"),r?(f+="Attack "+(rr+1)+": "+e.simple+" to hit, "+t.simple+" damage.",""!=g&&(f+=" "+g),s&&(f+=" :crossed_swords:"),echo(f)):(h&&(echo("\n"),stringPhrase="*Susan "+h,n&&(stringPhrase+=" at "+n),s&&(stringPhrase+=" and scores a CRITICAL HIT"),stringPhrase+="!*",echo(stringPhrase)),e&&(echo("\n"),echo("**To Hit:** "+e.string)),t.tokens.length>0&&(echo("\n"),echo("**Damage: **"+t.string)),""!=c&&(echo("\n"),n?echo(c.split("Target").join(n)):echo(c))),o||echo("~~"),i>1&&echo("\n"),rr>=i-1&&(r||echo("\n"),i>1&&echo("**Total Damage:** "+a+"\n"),i>1&&r&&""!=c&&hits>0&&(n?echo(c.split("Target").join(n).split("Effect:").join("Effect (x"+hits+"):")):echo(c.split("Effect:").join("Effect (x"+hits+"):")),i>1&&echo("\n")))};
Add Comment
Please, Sign In to add comment