genshinsim / gcsim

monte carlo combat simulation for genshin impact
MIT License
290 stars 95 forks source link

Add Kinich #2263

Open ange1o5 opened 1 month ago

ange1o5 commented 1 month ago
ange1o5 commented 2 weeks ago

Other issues:

kinich char lvl=90/90 cons=1 talent=9,9,9 ;
kinich add weapon="fotmk" refine=1 lvl=90/90;
kinich add set="obsidiancodex" count=4;
kinich add stats hp=4780 atk=311 atk%=0.466 dendro%=0.466 cr=0.311 ; #main
kinich add stats def=39.36 def%=0.124 hp=507.88 hp%=0.0992 atk=33.08 atk%=0.1984 er=0.1102 em=39.64 cr=0.3972  cd=0.662 ;        

thoma char lvl=90/90 cons=0 talent=9,9,9; 
thoma add weapon="favoniuslance" refine=3 lvl=90/90;
thoma add set="deepwood" count=4;
thoma add stats hp=4780 atk=311 er=0.518 hp%=0.466 cr=0.311 ; #main
thoma add stats def=39.36 def%=0.124 hp=507.88 hp%=0.0992 atk=33.08 atk%=0.1984 er=0.6402 em=39.64 cr=0.331 cd=0.124;

emilie char lvl=90/90 cons=0 talent=9,9,9;
emilie add weapon="deathmatch" refine=1 lvl=90/90;
emilie add set="ur" count=4;
emilie add stats hp=4780 atk=311 atk%=0.466 dendro%=0.466 cd=0.622 ; #main
emilie add stats def=39.36 def%=0.124 hp=507.88 hp%=0.0992 atk=33.08 atk%=0.1984 er=0.1102 em=39.64 cr=0.3972  cd=0.662 ;        

bennett char lvl=90/90 cons=6 talent=9,9,9;
bennett add weapon="alleyflash" refine=1 lvl=90/90;
bennett add set="no" count=4;
bennett add stats hp=4780 atk=311 er=0.518 pyro%=0.466 cr=0.311 ; #main
bennett add stats def=39.36 def%=0.124 hp=507.88 hp%=0.0992 atk=33.08 atk%=0.0992 er=0.551 em=39.64 cr=0.1986 cd=0.662;

options swap_delay=12 iteration=500;
target lvl=100 resist=.1 hp=10000000 radius=1 pos=-1,2.5;
#target lvl=100 resist=.1 hp=10000000 radius=1 pos=1,2.5;
energy every interval=480,720 amount=1;

fn kinich_combo() {
  kinich skill;
  kinich attack[direction=.kinich.blind_spot];
  if .kinich.burst.ready {
    kinich burst;
  }
  while .kinich.nightsoul.state {
    if .kinich.nightsoul.points == 20 {
      kinich skill[hold=1];
      continue;
    }

    // does not exist at the moment
    let blind_spot = .kinich.blind_spot;
    if blind_spot == 0 {
      if .kinich.nightsoul.points < 20 {
        wait(30);
      }
      continue;
    } else {
      kinich attack[direction=blind_spot];
      continue;
    }
  }
}

active emilie;
for let i=0; i<4; i=i+1 {
  if .emilie.burst.ready {
    emilie burst;
  } else {
    emilie skill;
  }
  thoma skill, burst, attack;
  bennett skill, burst, attack;
  kinich_combo();
}

-