跳到正文

休闲·娱乐

florrbattle data

seanli1008约 16 分钟
原文
文章信息与版本

文章信息

发布
2026年7月18日
收录
2026年9月21日
更新
2026年11月21日
篇幅
约 16 分钟

版本

  1. v10当前
  2. v9
  3. v8
  4. v7
更早的 6 个版本
  1. v6
  2. v5
  3. v4
  4. v3
  5. v2
  6. v1

Petals

NameStatsCommonUnusualRareEpicLegendary
Basicdamage103090270810
healing00000
accuracy100%
petal health103090270810
reload2.5
active bar2
Rosedamage51545135405
healing103090270810
accuracy100%
petal health51545135405
reload2.5
active bar4
Leafdamage72163189567
healing1/round3/round9/round27/round81/round
accuracy100%
petal health61854162486
reload2.5
active bar3
Lightdamage15451354051215
healing00000
accuracy30%
petal health51545135405
reload0.8
active bar1
Corndamage51545135405
healing00000
accuracy100%
petal health10030090027008100
reload3
active bar0.5
Stingerdamage5015045013504050
healing00000
accuracy100%
petal health1392781
reload8
active bar7
Pollendamage82472216648
healing00000
accuracy100%
petal health00000
reload2
active bar1
Ricedamage41236108324
healing00000
accuracy25%
petal health1392781
reload0.2
active bar0.3
Glassdamage1236108324972
healing00000
accuracy100%
petal health00000
reload1
active bar3
Cloverdamage103090270810
healing00000
accuracy100%
petal health103090270810
reload2
active bar2
Rockdamage25752256752025
healing00000
accuracy100%
petal health15451354051215
reload4
active bar2
Heavydamage82472216648
healing00000
accuracy100%
petal health5015045013504050
reload4
active bar0.5
Soildamage103090270810
healing00000
accuracy100%
petal health103090270810
reload3
active bar4
extra health5015045013504050
Shoveldamage00000
healing00000
accuracyN/A
petal health00000
reload98765
active bar10
Ant eggdamage(pet)61854162486
healing00000
accuracy100%
petal health(pet health)2507502250675020250
reload10
active bar3
copies4
Peasdamage15451354051215
healing00000
accuracy25%
reload1
petal health00000
active bar1
copies4

Mobs

NameStatsCommonUnusualRareEpicLegendary
Baby Antdamage103090270810
health3090360180010800
armor1272267
Ladybugdamage103090270810
health70210840420025200
armor1272267
Worker Antdamage103090270810
health70210840420025200
armor1272267
Beedamage5015045013504050
health35105420210012600
armor1272267
Soldier Antdamage103090270810
health1003001200600036000
armor1272267
Rockdamage103090270810
health50150600300018000
armor1272267
Ant holedamage15451354051215
health7502250900045000270000
armor1272267
Queen antdamage103090270810
health20060024001200072000
armor1272267
Centipede (each section)damage103090270810
health257530015009000
armor1272267

Strength Formula & Strength Rank

Formula

Strength=(3s同2+2s同s越+s越2)4\text{Strength}=\sqrt[4]{\left( 3 s_{\text{同}}^2 + 2 s_{\text{同}} s_{\text{越}} + s_{\text{越}}^2 \right)} s同=1N∑i=1N(hi⋅copies⋅acc⋅max⁡(0, petal_dmg−armori))2(hi⋅act5+cd)⋅hi⋅acts_{\text{同}} = \frac{1}{N} \sum_{i=1}^{N} \frac{ \left( h_i \cdot \text{copies} \cdot \text{acc} \cdot \max(0,\ \text{petal\_dmg} - \text{armor}_i) \right)^2 }{ \left( \frac{h_i \cdot \text{act}}{5} + \text{cd} \right) \cdot h_i \cdot \text{act} }

其中

hi=max⁡(1, ⌈phdmgi⌉)h_i = \max\left(1,\ \left\lceil \frac{\text{ph}}{\text{dmg}_i} \right\rceil \right) s越=1M∑j=1M(hj⋅copies⋅acc⋅max⁡(0, petal_dmg−armorj))2(hj⋅act5+cd)⋅hj⋅acts_{\text{越}} = \frac{1}{M} \sum_{j=1}^{M} \frac{ \left( h_j \cdot \text{copies} \cdot \text{acc} \cdot \max(0,\ \text{petal\_dmg} - \text{armor}_j) \right)^2 }{ \left( \frac{h_j \cdot \text{act}}{5} + \text{cd} \right) \cdot h_j \cdot \text{act} }

其中

hj=max⁡(1, ⌈phdmgj⌉)h_j = \max\left(1,\ \left\lceil \frac{\text{ph}}{\text{dmg}_j} \right\rceil \right)

Code

C++
#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

PetalCommonUnusualRareEpicLegendary
Basic5.64N/A(17.21)N/A(50.99)N/A(152.69)N/A(484.15)
Rose1.605.0314.6743.75146.46
LeafN/A(2.92)9.0126.5379.34257.63
Light6.4219.4557.89173.48539.95
Corn11.5336.92107.80321.021113.56
Stinger9.3928.2484.52253.51768.87
PollenN/A(7.06)21.6663.95191.33615.17
Rice3.8212.3035.56105.76362.85
Glass7.6323.1968.85206.25647.92
Clover6.2018.9256.05167.84532.20
Rock14.9845.31135.30405.541318.19
HeavyN/A(13.65)N/A(42.43)125.31374.431275.76
Soil3.4910.6331.5094.32299.07
ShovelN/A
Ant egg15.3948.42142.09423.951446.20
Peas19.5459.20176.16527.901643.03
原文