florrbattle data
seanli1008 · · 休闲·娱乐
Petals
| Name | Stats | Common | Unusual | Rare | Epic | Legendary |
|---|---|---|---|---|---|---|
| Basic | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 10 | 30 | 90 | 270 | 810 |
| ^ | reload | 2.5 | < | < | < | < |
| ^ | active bar | 2 | < | < | < | < |
| Rose | damage | 5 | 15 | 45 | 135 | 405 |
| ^ | healing | 10 | 30 | 90 | 270 | 810 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 5 | 15 | 45 | 135 | 405 |
| ^ | reload | 2.5 | < | < | < | < |
| ^ | active bar | 4 | < | < | < | < |
| Leaf | damage | 7 | 21 | 63 | 189 | 567 |
| ^ | healing | 1/round | 3/round | 9/round | 27/round | 81/round |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 6 | 18 | 54 | 162 | 486 |
| ^ | reload | 2.5 | < | < | < | < |
| ^ | active bar | 3 | < | < | < | < |
| Light | damage | 15 | 45 | 135 | 405 | 1215 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 30% | < | < | < | < |
| ^ | petal health | 5 | 15 | 45 | 135 | 405 |
| ^ | reload | 0.8 | < | < | < | < |
| ^ | active bar | 1 | < | < | < | < |
| Corn | damage | 5 | 15 | 45 | 135 | 405 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 100 | 300 | 900 | 2700 | 8100 |
| ^ | reload | 3 | < | < | < | < |
| ^ | active bar | 0.5 | < | < | < | < |
| Stinger | damage | 50 | 150 | 450 | 1350 | 4050 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 1 | 3 | 9 | 27 | 81 |
| ^ | reload | 8 | < | < | < | < |
| ^ | active bar | 7 | < | < | < | < |
| Pollen | damage | 8 | 24 | 72 | 216 | 648 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 0 | 0 | 0 | 0 | 0 |
| ^ | reload | 2 | < | < | < | < |
| ^ | active bar | 1 | < | < | < | < |
| Rice | damage | 4 | 12 | 36 | 108 | 324 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 25% | < | < | < | < |
| ^ | petal health | 1 | 3 | 9 | 27 | 81 |
| ^ | reload | 0.2 | < | < | < | < |
| ^ | active bar | 0.3 | < | < | < | < |
| Glass | damage | 12 | 36 | 108 | 324 | 972 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 0 | 0 | 0 | 0 | 0 |
| ^ | reload | 1 | < | < | < | < |
| ^ | active bar | 3 | < | < | < | < |
| Clover | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 10 | 30 | 90 | 270 | 810 |
| ^ | reload | 2 | < | < | < | < |
| ^ | active bar | 2 | < | < | < | < |
| Rock | damage | 25 | 75 | 225 | 675 | 2025 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 15 | 45 | 135 | 405 | 1215 |
| ^ | reload | 4 | < | < | < | < |
| ^ | active bar | 2 | < | < | < | < |
| Heavy | damage | 8 | 24 | 72 | 216 | 648 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 50 | 150 | 450 | 1350 | 4050 |
| ^ | reload | 4 | < | < | < | < |
| ^ | active bar | 0.5 | < | < | < | < |
| Soil | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health | 10 | 30 | 90 | 270 | 810 |
| ^ | reload | 3 | < | < | < | < |
| ^ | active bar | 4 | < | < | < | < |
| ^ | extra health | 50 | 150 | 450 | 1350 | 4050 |
| Shovel | damage | 0 | 0 | 0 | 0 | 0 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | N/A | < | < | < | < |
| ^ | petal health | 0 | 0 | 0 | 0 | 0 |
| ^ | reload | 9 | 8 | 7 | 6 | 5 |
| ^ | active bar | 10 | < | < | < | < |
| Ant egg | damage(pet) | 6 | 18 | 54 | 162 | 486 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 100% | < | < | < | < |
| ^ | petal health(pet health) | 250 | 750 | 2250 | 6750 | 20250 |
| ^ | reload | 10 | < | < | < | < |
| ^ | active bar | 3 | < | < | < | < |
| ^ | copies | 4 | < | < | < | < |
| Peas | damage | 15 | 45 | 135 | 405 | 1215 |
| ^ | healing | 0 | 0 | 0 | 0 | 0 |
| ^ | accuracy | 25% | < | < | < | < |
| ^ | reload | 1 | < | < | < | < |
| ^ | petal health | 0 | 0 | 0 | 0 | 0 |
| ^ | active bar | 1 | < | < | < | < |
| ^ | copies | 4 | < | < | < | < |
Mobs
| Name | Stats | Common | Unusual | Rare | Epic | Legendary |
|---|---|---|---|---|---|---|
| Baby Ant | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | health | 30 | 90 | 360 | 1800 | 10800 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Ladybug | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | health | 70 | 210 | 840 | 4200 | 25200 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Worker Ant | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | health | 70 | 210 | 840 | 4200 | 25200 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Bee | damage | 50 | 150 | 450 | 1350 | 4050 |
| ^ | health | 35 | 105 | 420 | 2100 | 12600 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Soldier Ant | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | health | 100 | 300 | 1200 | 6000 | 36000 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Rock | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | health | 50 | 150 | 600 | 3000 | 18000 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Ant hole | damage | 15 | 45 | 135 | 405 | 1215 |
| ^ | health | 750 | 2250 | 9000 | 45000 | 270000 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Queen ant | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | health | 200 | 600 | 2400 | 12000 | 72000 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
| Centipede (each section) | damage | 10 | 30 | 90 | 270 | 810 |
| ^ | health | 25 | 75 | 300 | 1500 | 9000 |
| ^ | armor | 1 | 2 | 7 | 22 | 67 |
Strength Formula & Strength Rank
Formula
其中
其中
Code
#include <bits/stdc++.h>
using namespace std;
#define int long long
const int mdfact[15]={0,1,3,9,27,81,243,729,2187,6561};
const int marmor[15]={0,1,2,7,22,65,194,583,583,583};
int mob_dmg[500];
struct petal{
int dmg,ph;
}petals[500];
signed main(){
freopen("data.txt","r",stdin);
freopen("strength.txt","w",stdout);
int max_petal,max_mob,max_rarity;
cin>>max_petal>>max_mob>>max_rarity;
for(int i=1;i<=max_mob;i++)
cin>>mob_dmg[i];
for(int i=1;i<=max_petal;i++){
string name,tp;
cin>>name>>tp;
cout<<name<<": ";
if(tp=="N/A"){
cout<<"N/A"<<endl;
continue;
}
double cd,ap,acc;
cin>>petals[i].dmg>>petals[i].ph>>cd>>ap>>acc;
int copies=1;
if(name=="Ant_egg"||name=="Peas")
copies=4;
for(int j=1;j<=max_rarity;j++){
double sum_same=0,sum_cross=0;
for(int n=1;n<=max_mob;n++){
int dmg_same=petals[i].dmg*mdfact[j];
int ph_same=petals[i].ph*mdfact[j];
int mobdmg_same=mob_dmg[n]*mdfact[j];
int armor_same=marmor[j];
int real_dmg_same=max(0ll,dmg_same-armor_same);
int hits_same=max(1ll,(int)ceil((double)ph_same/(double)mobdmg_same));
double D_same=(double)copies*acc*real_dmg_same;
double total_damage_same=(double)hits_same*D_same;
double total_time_same=(double)hits_same*ap/5.0+cd;
double dmg_per_turn_same=total_damage_same/total_time_same;
double dmg_per_ap_same=total_damage_same/((double)hits_same*ap);
sum_same+=dmg_per_turn_same*dmg_per_ap_same;
int cross_rarity=min(j+1,max_rarity);
int dmg_cross=petals[i].dmg*mdfact[j];
int ph_cross=petals[i].ph*mdfact[j];
int mobdmg_cross=mob_dmg[n]*mdfact[cross_rarity];
int armor_cross=marmor[cross_rarity];
int real_dmg_cross=max(0ll,dmg_cross-armor_cross);
int hits_cross=max(1ll,(int)ceil((double)ph_cross/(double)mobdmg_cross));
double D_cross=(double)copies*acc*real_dmg_cross;
double total_damage_cross=(double)hits_cross*D_cross;
double total_time_cross=(double)hits_cross*ap/5.0+cd;
double dmg_per_turn_cross=total_damage_cross/total_time_cross;
double dmg_per_ap_cross=total_damage_cross/((double)hits_cross*ap);
sum_cross+=dmg_per_turn_cross*dmg_per_ap_cross;
}
double s_same=sum_same/max_mob;
double s_cross=sum_cross/max_mob;
double strength=3.0*s_same*s_same+2.0*s_same*s_cross+s_cross*s_cross;
cout<<fixed<<setprecision(2)<<pow(strength,0.25)<<' ';
}
cout<<endl;
}
return 0;
}
Strength
| Petal | Common | Unusual | Rare | Epic | Legendary |
|---|---|---|---|---|---|
| Basic | 5.64 | N/A(17.21) | N/A(50.99) | N/A(152.69) | N/A(484.15) |
| Rose | 1.60 | 5.03 | 14.67 | 43.75 | 146.46 |
| Leaf | N/A(2.92) | 9.01 | 26.53 | 79.34 | 257.63 |
| Light | 6.42 | 19.45 | 57.89 | 173.48 | 539.95 |
| Corn | 11.53 | 36.92 | 107.80 | 321.02 | 1113.56 |
| Stinger | 9.39 | 28.24 | 84.52 | 253.51 | 768.87 |
| Pollen | N/A(7.06) | 21.66 | 63.95 | 191.33 | 615.17 |
| Rice | 3.82 | 12.30 | 35.56 | 105.76 | 362.85 |
| Glass | 7.63 | 23.19 | 68.85 | 206.25 | 647.92 |
| Clover | 6.20 | 18.92 | 56.05 | 167.84 | 532.20 |
| Rock | 14.98 | 45.31 | 135.30 | 405.54 | 1318.19 |
| Heavy | N/A(13.65) | N/A(42.43) | 125.31 | 374.43 | 1275.76 |
| Soil | 3.49 | 10.63 | 31.50 | 94.32 | 299.07 |
| Shovel | N/A | < | < | < | < |
| Ant egg | 15.39 | 48.42 | 142.09 | 423.95 | 1446.20 |
| Peas | 19.54 | 59.20 | 176.16 | 527.90 | 1643.03 |