{"id":2491,"date":"2014-03-11T18:50:59","date_gmt":"2014-03-11T23:50:59","guid":{"rendered":"http:\/\/www.himeworks.com\/?p=2491"},"modified":"2014-09-23T16:11:58","modified_gmt":"2014-09-23T21:11:58","slug":"attack-skill-command","status":"publish","type":"post","link":"https:\/\/himeworks.com\/2014\/03\/attack-skill-command\/","title":{"rendered":"Attack Skill command"},"content":{"rendered":"<p><a href=\"http:\/\/www.himeworks.com\/blog\/wp-content\/uploads\/2014\/03\/command_attackSkill1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2492\" src=\"http:\/\/www.himeworks.com\/blog\/wp-content\/uploads\/2014\/03\/command_attackSkill1.jpg\" alt=\"command_attackSkill1\" width=\"542\" height=\"412\" srcset=\"https:\/\/himeworks.com\/blog\/wp-content\/uploads\/2014\/03\/command_attackSkill1.jpg 542w, https:\/\/himeworks.com\/blog\/wp-content\/uploads\/2014\/03\/command_attackSkill1-300x228.jpg 300w\" sizes=\"(max-width: 542px) 100vw, 542px\" \/><\/a><\/p>\n<p>This script allows you to determine an actor&#8217;s attack skill based on different properties such as the actor&#8217;s equips, currently applied states, class, or the actor itself.<\/p>\n<p>You can dynamically change the attack skill during battle by simply changing one of these properties.<\/p>\n<p>By default, the attack command executes the &#8220;attack&#8221; skill, which is skill 1 in the skills database.<\/p>\n<h2><!--more--><strong>Download<\/strong><\/h2>\n<p>Script: <a href=\"http:\/\/himeworks.com\/redirect.php?type=script&amp;name=attack_skill_command\" target=\"_blank\">download here<\/a><br \/>\nRequired: <a title=\"Command Manager\" href=\"http:\/\/www.himeworks.com\/2013\/02\/19\/command-manager\/\" target=\"_blank\">Command Manager<\/a><\/p>\n<h2><strong>Installation<\/strong><\/h2>\n<p>Place this script below Command Manager and above Main<\/p>\n<h2><strong>Usage<\/strong><\/h2>\n<p>Note-tag actors, classes, weapons, armors, or states with<\/p>\n<pre>&lt;attack skill: ID PRIORITY&gt;<\/pre>\n<p>For some skill ID.<\/p>\n<p>The priority is used if you have multiple states or equips with a<br \/>\nattack skill ID. the highest priority is taken in this case, and if multiple<br \/>\nattack skill ID&#8217;s have equal priority, then whichever appears first is taken.<\/p>\n<p>If you would like to use a formula for the ID, you will need to use the<br \/>\nextended note-tag:<\/p>\n<pre>&lt;attack skill&gt;\n  id: FORMULA\n  priority: x\n&lt;\/attack skill&gt;\n<!--?pre -->\nYou can use any valid formula that returns a number. The following formula\nvariables are available:<\/pre>\n<pre>a - the current battler you are inputting commands for\nt - game troop\np - game party\nv - game variables\ns - game switches<\/pre>\n<p>If your actor does not have a custom attack skill ID, then it defaults to<br \/>\nthe actor&#8217;s attack skill. If the actor does not have a custom attack skill,<br \/>\nthen it defaults to the class attack skill. Finally, it will default to skill<br \/>\n1 if no custom attack skills are defined.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This script allows you to determine an actor&#8217;s attack skill based on different properties such as the actor&#8217;s equips, currently applied states, class, or the actor itself. You can dynamically change the attack skill&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2492,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":""},"categories":[19,4,7],"tags":[91,89,90,203],"_links":{"self":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts\/2491"}],"collection":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/comments?post=2491"}],"version-history":[{"count":0,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts\/2491\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/media\/2492"}],"wp:attachment":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/media?parent=2491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/categories?post=2491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/tags?post=2491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}