Skip to content

Commit

Permalink
Update ichingshifa.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kentang2017 authored Aug 24, 2024
1 parent 50ca242 commit eccb4a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ichingshifa/ichingshifa.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def display_pan_m(self, year, month, day, hour, minute, mgua):
o = "【斷主客勝負】\n1.客隊下卦為【{}】,主隊上卦為【{}】,主客關係為【{}】。內卦為我寨,處{},外卦為彼營,處{}。{}\n2.主隊世爻,{}世爻為【{}】{}{}{},{};{}客隊應爻為【{}】{}{}{},{}主客關係為【{}】,{}。 \n3.{}變為【{}】,主客關係為【{}】。 \n4.動爻【{}】,主隊世爻【{}】,關係為【{}】。 \n5.動爻【{}】,客隊應爻【{}】,關係為【{}】。\n6.{}。\n7.{} \n8.日干下主隊世爻臨【{}】,客隊應爻臨【{}】,時干下{}{}".format(downgua,upgua, down_vs_up,downgua1,upgua1,father_luck,shi_yy,shi[0:4],sk_dist,sguan,s_dist2,s_dist3,shi_monster,ying[0:4],yk_dist,yguan,y_dist2,ying_monster,shi_vs_ying,shi_vs_ying2,dong2, bian, vs, dong[:-1],shi[0:4], vs2, dong[:-1],ying[0:4], vs3, dd_dist,dong_dist, gettwelve.get(shi[2]), gettwelve.get(ying[2]), s_vs_y_dist, gua_no_yao)
if flyfu_dist != "":
o = "【斷主客勝負】\n1.客隊下卦為【{}】,主隊上卦為【{}】,主客關係為【{}】。內卦為我寨,處{},外卦為彼營,處{}。{}\n2.主隊世爻,{}世爻為【{}】{}{}{},{};{}客隊應爻為【{}】{}{}{},{}主客關係為【{}】,{}。 \n3.{}變為【{}】,主客關係為【{}】。 \n4.動爻【{}】,主隊世爻【{}】,關係為【{}】。 \n5.動爻【{}】,客隊應爻【{}】,關係為【{}】。\n6.{}{}{} \n7.{} \n8.日干下主隊世爻臨【{}】,客隊應爻臨【{}】,時干下{}{}".format(downgua,upgua, down_vs_up,downgua1,upgua1,father_luck,shi_yy,shi[0:4],sk_dist,sguan,s_dist2,s_dist3,shi_monster,ying[0:4],yk_dist,yguan,y_dist2,ying_monster,shi_vs_ying,shi_vs_ying2,dong2, bian, vs, dong[:-1],shi[0:4], vs2, dong[:-1],ying[0:4], vs3,dd_dist,flyfu_dist,father_lay_dist, dong_dist,gettwelve.get(shi[2]), gettwelve.get(ying[2]), s_vs_y_dist, gua_no_yao)
p = "\n【先天周易策軌】\n"
p = "\n\n【先天周易策軌】\n"
q = " ".join(self.innate_cegui(year, month, day, hour, minute))
return a+b+c0+c+c1+c2+c3+c4+c5+c5_1+d+e+f+g+h+i+j+k+l+m+n+o+p+q

Expand Down Expand Up @@ -995,7 +995,7 @@ def display_pan(self, year, month, day, hour, minute):
o = "【斷主客勝負】\n1.客隊下卦為【{}】,主隊上卦為【{}】,主客關係為【{}】。內卦為我寨,處{},外卦為彼營,處{}。{}\n2.主隊世爻,{}世爻為【{}】{}{}{},{};{}客隊應爻為【{}】{}{}{},{}主客關係為【{}】,{}。 \n3.{}變為【{}】,主客關係為【{}】。 \n4.動爻【{}】,主隊世爻【{}】,關係為【{}】。 \n5.動爻【{}】,客隊應爻【{}】,關係為【{}】。\n6.{}。\n7.{} \n8.日干下主隊世爻臨【{}】,客隊應爻臨【{}】,時干下{}{}".format(downgua,upgua, down_vs_up,downgua1,upgua1,father_luck,shi_yy,shi[0:4],sk_dist,sguan,s_dist2,s_dist3,shi_monster,ying[0:4],yk_dist,yguan,y_dist2,ying_monster,shi_vs_ying,shi_vs_ying2,dong2, bian, vs, dong[:-1],shi[0:4], vs2, dong[:-1],ying[0:4], vs3, dd_dist,dong_dist, gettwelve.get(shi[2]), gettwelve.get(ying[2]), s_vs_y_dist, gua_no_yao)
if flyfu_dist != "":
o = "【斷主客勝負】\n1.客隊下卦為【{}】,主隊上卦為【{}】,主客關係為【{}】。內卦為我寨,處{},外卦為彼營,處{}。{}\n2.主隊世爻,{}世爻為【{}】{}{}{},{};{}客隊應爻為【{}】{}{}{},{}主客關係為【{}】,{}。 \n3.{}變為【{}】,主客關係為【{}】。 \n4.動爻【{}】,主隊世爻【{}】,關係為【{}】。 \n5.動爻【{}】,客隊應爻【{}】,關係為【{}】。\n6.{}{}{} \n7.{} \n8.日干下主隊世爻臨【{}】,客隊應爻臨【{}】,時干下{}{}".format(downgua,upgua, down_vs_up,downgua1,upgua1,father_luck,shi_yy,shi[0:4],sk_dist,sguan,s_dist2,s_dist3,shi_monster,ying[0:4],yk_dist,yguan,y_dist2,ying_monster,shi_vs_ying,shi_vs_ying2,dong2, bian, vs, dong[:-1],shi[0:4], vs2, dong[:-1],ying[0:4], vs3,dd_dist,flyfu_dist,father_lay_dist, dong_dist,gettwelve.get(shi[2]), gettwelve.get(ying[2]), s_vs_y_dist, gua_no_yao)
p = "\n【先天周易策軌】\n"
p = "\n\n【先天周易策軌】\n"
q = " ".join(self.innate_cegui(year, month, day, hour, minute))
return a+b+c0+c+c1+c2+c3+c4+c5+c5_1+d+e+f+g+h+i+j+k+l+m+n+o+p+q
#qin_elements
Expand Down

0 comments on commit eccb4a9

Please sign in to comment.