hmm I've tried this now, but I am not entirely happy
Code:
[trait] id=lionhearted male_name=_ "lionhearted" description=_ "Day-time fighting penalty is reduced by 5 percent" help_text=_ "Having seen a long time fighting companion die, these individuals took heart and started fighting with even more valor no matter the circumstance." [effect] apply_to=new_ability [abilities] [leadership] [filter_condition] [lua] code=<< return ((wesnoth.get_variable(("turn_number" mod 24) < 4)) || wesnoth.get_variable(("turn_number" mod 24) > 13) ) >> [/lua] [/filter_condition] id=motivated_v1 value=5 cumulative=no name= _ "" description= _ "" affect_self=yes affect_allies=no [/leadership] [/abilities] [/effect] [effect] apply_to=remove_ability [experimental_filter_ability] id=motivated_v2 [/experimental_filter_ability] [/effect] [effect] apply_to=remove_ability [experimental_filter_ability] id=motivated_v3 [/experimental_filter_ability] [/effect] [/trait]
Statistics: Posted by Numero — Yesterday, 6:14 pm