{"id":2442,"date":"2014-02-28T06:10:19","date_gmt":"2014-02-28T06:10:19","guid":{"rendered":"http:\/\/www.himeworks.com\/?p=2442"},"modified":"2014-05-10T11:28:20","modified_gmt":"2014-05-10T16:28:20","slug":"user-effects","status":"publish","type":"post","link":"https:\/\/himeworks.com\/2014\/02\/user-effects\/","title":{"rendered":"User Effects"},"content":{"rendered":"<p><a href=\"http:\/\/www.himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2443\" src=\"http:\/\/www.himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects1.jpg\" alt=\"userEffects1\" width=\"540\" height=\"414\" srcset=\"https:\/\/himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects1.jpg 540w, https:\/\/himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects1-300x230.jpg 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/a><\/p>\n<p>This script allows you to convert item\/skill effects into &#8220;user effects&#8221;.\u00a0By default, when your skill misses, none of the effects are executed.<\/p>\n<p>There are two types of user effects: &#8220;<strong>Pre User Effects<\/strong>&#8221; which occurs before\u00a0the skill is executed, and &#8220;<strong>Post User Effects<\/strong>&#8221; which occurs after the skill\u00a0is executed.<\/p>\n<p>Using this, you can specify that certain effects are supposed to be executed\u00a0when the skill is used regardless whether it actually hit the target or not. The effects themselves are the same as usual; what changes is when they are executed.<\/p>\n<p><!--more--><strong>Download<\/strong><\/p>\n<p>Script: <a href=\"http:\/\/himeworks.com\/redirect.php?type=script&amp;name=User_Effects\" target=\"_blank\">download here<\/a><\/p>\n<p><strong>Installation<\/strong><\/p>\n<p>In the script editor, place this script below Materials and above Main<\/p>\n<p><strong>Usage<\/strong><\/p>\n<p>Note-tag skills and items with<\/p>\n<pre>&lt;pre user effect: ID&gt;\n&lt;post user effect: ID&gt;<\/pre>\n<p>Where ID is the effect ID that you want to convert into a user effect.<br \/>\nThe first effect on the list has ID 1, the second effect has ID 2, and so on.<\/p>\n<p><a href=\"http:\/\/www.himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2450\" src=\"http:\/\/www.himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects2.jpg\" alt=\"userEffects2\" width=\"360\" height=\"260\" srcset=\"https:\/\/himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects2.jpg 360w, https:\/\/himeworks.com\/blog\/wp-content\/uploads\/2014\/02\/userEffects2-300x216.jpg 300w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<p>If you are using custom effect scripts, note the order that they are added to\u00a0the list. This should be explained in the documentation for those script.<\/p>\n<p><strong>Example<\/strong><\/p>\n<p>Suppose you have a skill with two effects: add state poison, recover HP.<br \/>\nTo convert the second effect into a post use effect, note-tag your skill with<\/p>\n<pre>&lt;post user effect: 2&gt;<\/pre>\n<p>Now your skill will always recover HP even if it misses.<\/p>\n<p><strong>Notes<\/strong><\/p>\n<p>These were originally called &#8220;user effects&#8221; rather than simply &#8220;use effects&#8221; so it may be grammatically incorrect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This script allows you to convert item\/skill effects into &#8220;user effects&#8221;.\u00a0By default, when your skill misses, none of the effects are executed. There are two types of user effects: &#8220;Pre User Effects&#8221; which occurs&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"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":[22,4,7],"tags":[],"_links":{"self":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts\/2442"}],"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=2442"}],"version-history":[{"count":0,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts\/2442\/revisions"}],"wp:attachment":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/media?parent=2442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/categories?post=2442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/tags?post=2442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}