def leader_skill_header(m: "MonsterModel", lsmultiplier: LsMultiplier, transform_base: "MonsterModel"): return Box( BoldText('Leader Skill'), BoldText(ls_multiplier_text(m.leader_skill) if lsmultiplier == LsMultiplier.lsdouble else get_emoji('1x') + ' ' + ls_single_multiplier_text(m.leader_skill)), BoldText('(' + get_emoji( '\N{DOWN-POINTING RED TRIANGLE}') + '7x6)') if m != transform_base and transform_base.leader_skill.is_7x6 else None, delimiter=' ' )
def embed(state: LeaderSkillSingleViewState): ls = state.mon.leader_skill return EmbedView(embed_main=EmbedMain( title=ls_single_multiplier_text(ls), description=Box( BoldText(MonsterHeader.name(state.mon, link=True, show_jp=True)), Text(ls.desc if ls else 'None')), color=state.color), embed_footer=embed_footer_with_state(state))
def embed(state: LeaderSkillSingleViewState): ls = state.mon.leader_skill return EmbedView(embed_main=EmbedMain( title=ls_single_multiplier_text(ls), description=Box( BoldText( MonsterHeader.box_with_emoji( state.mon, query_settings=state.query_settings)), Text(ls.desc if ls else 'None')), color=state.query_settings.embedcolor), embed_footer=embed_footer_with_state(state))