Difference between revisions of "SkibUserMacros:Defend"
From Protoi Healing
| Line 1: | Line 1: | ||
| − | + | {{UserMacroMainBox | |
| − | + | |nameUserMacro = DefendAndCounterattack/DAC for short | |
| + | |authorUserMacro = Drack | ||
| + | |descrUserMacro = Defends,blocks and reflects attacks and starts counterattacks. | ||
| + | |statusUserMacro = public | ||
| + | |termsUserMacro = Oneself and usable on others ("Use DAC macro for personxy") | ||
| + | }} | ||
| + | {{UserMacroCommandBox|'''DefendAndCounterattack''' {Use butterfly} }} | ||
| + | <br/><br/><br/><br/><br/> | ||
| − | ''' | + | '''Description''' |
| + | :This Macro tries to defend you or the person you use it on , blocking the attacks on you or the person the macro is used on and reflecting it back and starts counterattacks on the attackers. | ||
| − | ''' | + | {{Box|860|left|#215a97|#bcd5f0}} |
| + | {{TextColor|#215a97}}'''Algorithm of User Macro'''{{EndText}} | ||
| + | # {{Method|Scan}} the person this macro is used on and '''TRY''' to {{Method|identify}} all kinds of attacks on the person this macro is used on. | ||
| + | # '''TRY''' to {{Method|identify}} all origins of the attacks. | ||
| + | # '''TRY''' to {{Method|reflect}} or {{Method|block}} all kinds of attacks on the person this macro is used on. | ||
| + | # {{Method|Scan}} the attackers for masks. | ||
| + | ## '''IF-ELSE''' {{Method|Scan}} found masks on the attackers '''DO''': | ||
| + | ### '''TRY''' to {{Method|Remove}} masks from attackers. | ||
| + | ### '''TRY''' to start counterattacks for all attackers. | ||
| + | ## '''ELSE''' | ||
| + | ### '''TRY''' to start counterattacks for all attackers. | ||
| + | #'''IF-END''' | ||
| + | # '''TRY''' to {{Method|Block}} attackers weapons from attacking. | ||
| + | -------------------- | ||
| − | + | {{EndBox}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | } | + | |
| − | + | ||
Revision as of 21:30, 5 February 2017
| Name | DefendAndCounterattack/DAC for short |
|---|---|
| Author | Drack |
| Brief descr. | Defends,blocks and reflects attacks and starts counterattacks. |
| Status | public |
| Terms | Oneself and usable on others ("Use DAC macro for personxy") |
| Resources for the UserMacro | |||||
|---|---|---|---|---|---|
| 1 | 00 | 10 | 00 | 100 | 00 |
| 1k | 00 | 100k | 00 | 1kk | 00 |
| 10kk | 00 | Gmax | 00 | Omax | 00 |
| Resources with butterfly option | |||||
| 1 | 00 | 10 | 00 | 100 | 00 |
| 1k | 00 | 100k | 00 | 1kk | 00 |
| 10kk | 00 | Gmax | 00 | Omax | 00 |
Command syntax
Description
- This Macro tries to defend you or the person you use it on , blocking the attacks on you or the person the macro is used on and reflecting it back and starts counterattacks on the attackers.
Algorithm of User Macro
- Scan the person this macro is used on and TRY to identify all kinds of attacks on the person this macro is used on.
- TRY to identify all origins of the attacks.
- TRY to reflect or block all kinds of attacks on the person this macro is used on.
- Scan the attackers for masks.
- IF-ELSE Scan found masks on the attackers DO:
- TRY to Remove masks from attackers.
- TRY to start counterattacks for all attackers.
- ELSE
- TRY to start counterattacks for all attackers.
- IF-ELSE Scan found masks on the attackers DO:
- IF-END
- TRY to Block attackers weapons from attacking.