Toranks

Tag error

Mar 24th, 2023
964
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 5.69 KB | None | 0 0
  1.  
  2. #define AWW_BERSERK STATUS NUMBER ROUNDS
  3.     [message]
  4. # wmlindent: start ignoring
  5.         speaker=narrator
  6.         side_for=$side_number
  7.         image="misc/aww-fury-icon.png"
  8.         message="<b>"+_"Berserk tweak : Replaced by Fury"+" → "+"</b>"+_"Replace 'berserk' by a new 'Fury' weapon special, way more interesting. "+"
  9. "+"<b><span color='#00E600'>"+_"Set to"+": "+"</span><span color='#00FFFF'>{STATUS}</span></b>"+"
  10.  
  11. "+"<b>"+_"Kills to Bloodthirsty (Fury)"+" → "+"</b>"+_"Killings per map needed to gain Bloodthirsty with Fury ability."+" "+"This weapon special drains half the damage dealt to living units and will apply to melee weapons only."+"
  12. "+"<b><span color='#00E600'>"+_"Set to"+": "+"</span><span color='#00FFFF'>{NUMBER}</span></b>"+"
  13.  
  14. "+"<b>"+_"Berserk rounds"+" → "+"</b>"+_"Combat rounds of berserk ability. Only applies with Berserk tweak disabled to standard berserk ability."+"
  15. "+"<b><span color='#00E600'>"+_"Set to"+": "+"</span><span color='#00FFFF'>{ROUNDS}</span></b>"+"
  16.  
  17. "+"<b>"_" Fury description : "+"</b>"+"
  18. "+_"When used offensively :
  19. - This attack deals more damage to the target.
  20. - It also causes this unit to take more damage from the target’s counterattack.
  21. - The damage ratio starts at 1.5, increases of 0.5 after each attack, until 3, then drop to 1, and the loop restart.
  22. - Rampage : when the attack kills, the unit can attack an adjacent enemy.
  23. - After "+"<span color='#00FFFF'>{NUMBER}</span>"+_" kills with that attack, it gains Bloodthirsty, an offensive drain, until end of the scenario.
  24. - A warcry related to the fury level with also be displayed when the unit attacks."+
  25. #ifdef CAMPAIGN_LEGEND_OF_THE_INVINCIBLES_PART_I
  26. "
  27.  
  28. "+_"Not recommended on <b>Legend of the Invincibles</b>. If you activate Fury, units may lose the effects of their items and you may have to re-equip them."
  29. #else
  30. #ifdef CAMPAIGN_LEGEND_OF_THE_INVINCIBLES_PART_II
  31. "
  32.  
  33. "+_"Not recommended on <b>Legend of the Invincibles</b>. If you activate Fury, units may lose the effects of their items and you may have to re-equip them."
  34. #else
  35. #endif
  36. #endif
  37. # wmlindent: stop ignoring
  38.  
  39.         [option]
  40.             label="<b>»</b> "+_"Change status of Berserk tweak"
  41.             [command]
  42.                 [message]
  43.                     speaker=narrator
  44.                     message=_"Set status of Berserk tweak."
  45.                     image="misc/aww-fury-icon.png"
  46.                     [option]
  47.                         label= "<b>»</b> "+"<i>"+_"Activate"+"</i>"
  48.                         [command]
  49.                             [lua]
  50.                                 code=<<
  51.                                     aww_status.update_feature_12(1)
  52.                                 >>
  53.                             [/lua]
  54.                         [/command]
  55.                     [/option]
  56.                     [option]
  57.                         label= "<b>»</b> "+"<i>"+_"Deactivate"+"</i>"
  58.                         [command]
  59.                             [lua]
  60.                                 code=<<
  61.                                     aww_status.update_feature_12(0)
  62.                                 >>
  63.                             [/lua]
  64.                         [/command]
  65.                     [/option]
  66.                     {BACK_AND_EXIT}
  67.                 [/message]
  68.             [/command]
  69.         [/option]
  70.  
  71.         [option]
  72.             label="<b>»</b> "+_"Change number of kills to Bloodthirsty"
  73.             [command]
  74.                 [message]
  75.                     speaker=narrator
  76.                     message=_"Set number of kills needed to gain Bloodthirsty per scenario."
  77.                     image="misc/aww-fury-icon.png"
  78.                     [text_input]
  79.                         label=_"Max"+" 9"
  80.                         variable=aww_12_fury_kills
  81.                         max_length=1
  82.                         text={NUMBER}
  83.                     [/text_input]
  84.                     [option]
  85.                         label="<b>»</b> "+"<i>"+_"Set"+"</i>"
  86.                         [command]
  87.                             [print]
  88.                                 text=_"Kills to Bloodthirsty (Fury)"+" → "+_"Set to"+": $aww_12_fury_kills"
  89.                                 size=24
  90.                                 duration=5000
  91.                                 color=0,255,255
  92.                             [/print]
  93.                         [/command]
  94.                     [/option]
  95.                     {BACK_AND_EXIT}
  96.                 [/message]
  97.             [/command]
  98.         [/option]
  99.         [option]
  100.             label="<b>»</b> "+_"Change number of rounds of berserk ability"
  101.             [command]
  102.                 [message]
  103.                     speaker=narrator
  104.                     message=_"Set number of rounds of berserk ability."
  105.                     image="misc/aww-fury-icon.png"
  106.                     [text_input]
  107.                         label=_"Max"+" 99"
  108.                         variable=aww_12_berserk_rounds
  109.                         max_length=2
  110.                         text={ROUNDS}
  111.                     [/text_input]
  112.                     [option]
  113.                         label="<b>»</b> "+"<i>"+_"Set"+"</i>"
  114.                         [command]
  115.                             [fire_event]
  116.                                 name=aww_12_rounds_reload
  117.                             [/fire_event]
  118.                             [print]
  119.                                 text=_"Berserk rounds"+" → "+_"Set to"+": $aww_12_berserk_rounds"
  120.                                 size=24
  121.                                 duration=5000
  122.                                 color=0,255,255
  123.                             [/print]
  124.                         [/command]
  125.                     [/option]
  126.                     {BACK_AND_EXIT}
  127.                 [/message]
  128.             [/command]
  129.         [/option]
  130.         {BACK_AND_EXIT}
  131.     [/message]
  132. #enddef
Advertisement
Add Comment
Please, Sign In to add comment