convert all skill in stub1
This commit is contained in:
@@ -128,6 +128,8 @@ namespace BrewMonster.Managers
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +13,14 @@ namespace BrewMonster
|
||||
public static CECTaoistRank[] s_allTaoistRanks = new CECTaoistRank[(int)ToaistRank.TotalRankCount];
|
||||
public static readonly int[] TaoistRankIDs = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 20, 21, 22, 30, 31, 32 };
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
|
||||
private static void OnPlay()
|
||||
{
|
||||
initComplete = false;
|
||||
CECTaoistRank[] s_allTaoistRanks = new CECTaoistRank[(int)ToaistRank.TotalRankCount];
|
||||
}
|
||||
#endif
|
||||
public int GetID()
|
||||
{
|
||||
return m_id;
|
||||
|
||||
@@ -14,255 +14,255 @@ namespace BrewMonster
|
||||
public static Skill5Stub __stub_Skill5Stub = new Skill5Stub();
|
||||
public static Skill6Stub __stub_Skill6Stub = new Skill6Stub();
|
||||
public static Skill54Stub __stub_Skill54Stub = new Skill54Stub();
|
||||
//public static Skill55Stub __stub_Skill55Stub = new Skill55Stub();
|
||||
public static Skill55Stub __stub_Skill55Stub = new Skill55Stub();
|
||||
public static Skill56Stub __stub_Skill56Stub = new Skill56Stub();
|
||||
public static Skill57Stub __stub_Skill57Stub = new Skill57Stub();
|
||||
public static Skill58Stub __stub_Skill58Stub = new Skill58Stub();
|
||||
public static Skill59Stub __stub_Skill59Stub = new Skill59Stub();
|
||||
//public static Skill60Stub __stub_Skill60Stub = new Skill60Stub();
|
||||
//public static Skill61Stub __stub_Skill61Stub = new Skill61Stub();
|
||||
//public static Skill62Stub __stub_Skill62Stub = new Skill62Stub();
|
||||
//public static Skill63Stub __stub_Skill63Stub = new Skill63Stub();
|
||||
//public static Skill64Stub __stub_Skill64Stub = new Skill64Stub();
|
||||
//public static Skill65Stub __stub_Skill65Stub = new Skill65Stub();
|
||||
//public static Skill66Stub __stub_Skill66Stub = new Skill66Stub();
|
||||
//public static Skill67Stub __stub_Skill67Stub = new Skill67Stub();
|
||||
//public static Skill68Stub __stub_Skill68Stub = new Skill68Stub();
|
||||
//public static Skill69Stub __stub_Skill69Stub = new Skill69Stub();
|
||||
//public static Skill70Stub __stub_Skill70Stub = new Skill70Stub();
|
||||
//public static Skill71Stub __stub_Skill71Stub = new Skill71Stub();
|
||||
//public static Skill72Stub __stub_Skill72Stub = new Skill72Stub();
|
||||
//public static Skill73Stub __stub_Skill73Stub = new Skill73Stub();
|
||||
//public static Skill74Stub __stub_Skill74Stub = new Skill74Stub();
|
||||
//public static Skill75Stub __stub_Skill75Stub = new Skill75Stub();
|
||||
public static Skill60Stub __stub_Skill60Stub = new Skill60Stub();
|
||||
public static Skill61Stub __stub_Skill61Stub = new Skill61Stub();
|
||||
public static Skill62Stub __stub_Skill62Stub = new Skill62Stub();
|
||||
public static Skill63Stub __stub_Skill63Stub = new Skill63Stub();
|
||||
public static Skill64Stub __stub_Skill64Stub = new Skill64Stub();
|
||||
public static Skill65Stub __stub_Skill65Stub = new Skill65Stub();
|
||||
public static Skill66Stub __stub_Skill66Stub = new Skill66Stub();
|
||||
public static Skill67Stub __stub_Skill67Stub = new Skill67Stub();
|
||||
public static Skill68Stub __stub_Skill68Stub = new Skill68Stub();
|
||||
public static Skill69Stub __stub_Skill69Stub = new Skill69Stub();
|
||||
public static Skill70Stub __stub_Skill70Stub = new Skill70Stub();
|
||||
public static Skill71Stub __stub_Skill71Stub = new Skill71Stub();
|
||||
public static Skill72Stub __stub_Skill72Stub = new Skill72Stub();
|
||||
public static Skill73Stub __stub_Skill73Stub = new Skill73Stub();
|
||||
public static Skill74Stub __stub_Skill74Stub = new Skill74Stub();
|
||||
public static Skill75Stub __stub_Skill75Stub = new Skill75Stub();
|
||||
public static Skill76Stub __stub_Skill76Stub = new Skill76Stub();
|
||||
public static Skill77Stub __stub_Skill77Stub = new Skill77Stub();
|
||||
//public static Skill78Stub __stub_Skill78Stub = new Skill78Stub();
|
||||
//public static Skill79Stub __stub_Skill79Stub = new Skill79Stub();
|
||||
//public static Skill80Stub __stub_Skill80Stub = new Skill80Stub();
|
||||
//public static Skill176Stub __stub_Skill176Stub = new Skill176Stub();
|
||||
public static Skill78Stub __stub_Skill78Stub = new Skill78Stub();
|
||||
public static Skill79Stub __stub_Skill79Stub = new Skill79Stub();
|
||||
public static Skill80Stub __stub_Skill80Stub = new Skill80Stub();
|
||||
public static Skill176Stub __stub_Skill176Stub = new Skill176Stub();
|
||||
public static Skill177Stub __stub_Skill177Stub = new Skill177Stub();
|
||||
public static Skill178Stub __stub_Skill178Stub = new Skill178Stub();
|
||||
//public static Skill179Stub __stub_Skill179Stub = new Skill179Stub();
|
||||
//public static Skill187Stub __stub_Skill187Stub = new Skill187Stub();
|
||||
//public static Skill226Stub __stub_Skill226Stub = new Skill226Stub();
|
||||
//public static Skill227Stub __stub_Skill227Stub = new Skill227Stub();
|
||||
//public static Skill362Stub __stub_Skill362Stub = new Skill362Stub();
|
||||
//public static Skill363Stub __stub_Skill363Stub = new Skill363Stub();
|
||||
//public static Skill374Stub __stub_Skill374Stub = new Skill374Stub();
|
||||
//public static Skill375Stub __stub_Skill375Stub = new Skill375Stub();
|
||||
//public static Skill376Stub __stub_Skill376Stub = new Skill376Stub();
|
||||
//public static Skill377Stub __stub_Skill377Stub = new Skill377Stub();
|
||||
//public static Skill378Stub __stub_Skill378Stub = new Skill378Stub();
|
||||
//public static Skill379Stub __stub_Skill379Stub = new Skill379Stub();
|
||||
//public static Skill380Stub __stub_Skill380Stub = new Skill380Stub();
|
||||
//public static Skill381Stub __stub_Skill381Stub = new Skill381Stub();
|
||||
//public static Skill382Stub __stub_Skill382Stub = new Skill382Stub();
|
||||
//public static Skill383Stub __stub_Skill383Stub = new Skill383Stub();
|
||||
//public static Skill384Stub __stub_Skill384Stub = new Skill384Stub();
|
||||
//public static Skill385Stub __stub_Skill385Stub = new Skill385Stub();
|
||||
//public static Skill386Stub __stub_Skill386Stub = new Skill386Stub();
|
||||
//public static Skill387Stub __stub_Skill387Stub = new Skill387Stub();
|
||||
//public static Skill388Stub __stub_Skill388Stub = new Skill388Stub();
|
||||
//public static Skill389Stub __stub_Skill389Stub = new Skill389Stub();
|
||||
//public static Skill390Stub __stub_Skill390Stub = new Skill390Stub();
|
||||
//public static Skill391Stub __stub_Skill391Stub = new Skill391Stub();
|
||||
//public static Skill392Stub __stub_Skill392Stub = new Skill392Stub();
|
||||
//public static Skill393Stub __stub_Skill393Stub = new Skill393Stub();
|
||||
//public static Skill394Stub __stub_Skill394Stub = new Skill394Stub();
|
||||
//public static Skill395Stub __stub_Skill395Stub = new Skill395Stub();
|
||||
//public static Skill396Stub __stub_Skill396Stub = new Skill396Stub();
|
||||
//public static Skill397Stub __stub_Skill397Stub = new Skill397Stub();
|
||||
//public static Skill398Stub __stub_Skill398Stub = new Skill398Stub();
|
||||
//public static Skill399Stub __stub_Skill399Stub = new Skill399Stub();
|
||||
//public static Skill400Stub __stub_Skill400Stub = new Skill400Stub();
|
||||
//public static Skill401Stub __stub_Skill401Stub = new Skill401Stub();
|
||||
//public static Skill402Stub __stub_Skill402Stub = new Skill402Stub();
|
||||
//public static Skill403Stub __stub_Skill403Stub = new Skill403Stub();
|
||||
//public static Skill404Stub __stub_Skill404Stub = new Skill404Stub();
|
||||
//public static Skill405Stub __stub_Skill405Stub = new Skill405Stub();
|
||||
//public static Skill406Stub __stub_Skill406Stub = new Skill406Stub();
|
||||
//public static Skill407Stub __stub_Skill407Stub = new Skill407Stub();
|
||||
//public static Skill408Stub __stub_Skill408Stub = new Skill408Stub();
|
||||
//public static Skill409Stub __stub_Skill409Stub = new Skill409Stub();
|
||||
//public static Skill410Stub __stub_Skill410Stub = new Skill410Stub();
|
||||
//public static Skill411Stub __stub_Skill411Stub = new Skill411Stub();
|
||||
//public static Skill412Stub __stub_Skill412Stub = new Skill412Stub();
|
||||
//public static Skill413Stub __stub_Skill413Stub = new Skill413Stub();
|
||||
//public static Skill414Stub __stub_Skill414Stub = new Skill414Stub();
|
||||
//public static Skill415Stub __stub_Skill415Stub = new Skill415Stub();
|
||||
//public static Skill416Stub __stub_Skill416Stub = new Skill416Stub();
|
||||
//public static Skill417Stub __stub_Skill417Stub = new Skill417Stub();
|
||||
//public static Skill418Stub __stub_Skill418Stub = new Skill418Stub();
|
||||
//public static Skill419Stub __stub_Skill419Stub = new Skill419Stub();
|
||||
//public static Skill420Stub __stub_Skill420Stub = new Skill420Stub();
|
||||
//public static Skill421Stub __stub_Skill421Stub = new Skill421Stub();
|
||||
//public static Skill422Stub __stub_Skill422Stub = new Skill422Stub();
|
||||
//public static Skill423Stub __stub_Skill423Stub = new Skill423Stub();
|
||||
//public static Skill424Stub __stub_Skill424Stub = new Skill424Stub();
|
||||
//public static Skill425Stub __stub_Skill425Stub = new Skill425Stub();
|
||||
//public static Skill426Stub __stub_Skill426Stub = new Skill426Stub();
|
||||
//public static Skill427Stub __stub_Skill427Stub = new Skill427Stub();
|
||||
//public static Skill428Stub __stub_Skill428Stub = new Skill428Stub();
|
||||
//public static Skill429Stub __stub_Skill429Stub = new Skill429Stub();
|
||||
//public static Skill430Stub __stub_Skill430Stub = new Skill430Stub();
|
||||
//public static Skill431Stub __stub_Skill431Stub = new Skill431Stub();
|
||||
//public static Skill432Stub __stub_Skill432Stub = new Skill432Stub();
|
||||
//public static Skill433Stub __stub_Skill433Stub = new Skill433Stub();
|
||||
//public static Skill434Stub __stub_Skill434Stub = new Skill434Stub();
|
||||
//public static Skill435Stub __stub_Skill435Stub = new Skill435Stub();
|
||||
//public static Skill436Stub __stub_Skill436Stub = new Skill436Stub();
|
||||
//public static Skill437Stub __stub_Skill437Stub = new Skill437Stub();
|
||||
//public static Skill438Stub __stub_Skill438Stub = new Skill438Stub();
|
||||
//public static Skill439Stub __stub_Skill439Stub = new Skill439Stub();
|
||||
//public static Skill896Stub __stub_Skill896Stub = new Skill896Stub();
|
||||
//public static Skill897Stub __stub_Skill897Stub = new Skill897Stub();
|
||||
//public static Skill898Stub __stub_Skill898Stub = new Skill898Stub();
|
||||
//public static Skill899Stub __stub_Skill899Stub = new Skill899Stub();
|
||||
//public static Skill900Stub __stub_Skill900Stub = new Skill900Stub();
|
||||
//public static Skill923Stub __stub_Skill923Stub = new Skill923Stub();
|
||||
//public static Skill924Stub __stub_Skill924Stub = new Skill924Stub();
|
||||
//public static Skill1195Stub __stub_Skill1195Stub = new Skill1195Stub();
|
||||
//public static Skill1815Stub __stub_Skill1815Stub = new Skill1815Stub();
|
||||
//public static Skill1816Stub __stub_Skill1816Stub = new Skill1816Stub();
|
||||
//public static Skill1817Stub __stub_Skill1817Stub = new Skill1817Stub();
|
||||
//public static Skill1818Stub __stub_Skill1818Stub = new Skill1818Stub();
|
||||
//public static Skill1819Stub __stub_Skill1819Stub = new Skill1819Stub();
|
||||
//public static Skill1868Stub __stub_Skill1868Stub = new Skill1868Stub();
|
||||
//public static Skill1871Stub __stub_Skill1871Stub = new Skill1871Stub();
|
||||
//public static Skill1872Stub __stub_Skill1872Stub = new Skill1872Stub();
|
||||
//public static Skill2206Stub __stub_Skill2206Stub = new Skill2206Stub();
|
||||
//public static Skill2207Stub __stub_Skill2207Stub = new Skill2207Stub();
|
||||
//public static Skill2208Stub __stub_Skill2208Stub = new Skill2208Stub();
|
||||
//public static Skill2209Stub __stub_Skill2209Stub = new Skill2209Stub();
|
||||
//public static Skill2210Stub __stub_Skill2210Stub = new Skill2210Stub();
|
||||
//public static Skill2211Stub __stub_Skill2211Stub = new Skill2211Stub();
|
||||
//public static Skill2352Stub __stub_Skill2352Stub = new Skill2352Stub();
|
||||
//public static Skill2367Stub __stub_Skill2367Stub = new Skill2367Stub();
|
||||
//public static Skill2368Stub __stub_Skill2368Stub = new Skill2368Stub();
|
||||
//public static Skill2369Stub __stub_Skill2369Stub = new Skill2369Stub();
|
||||
//public static Skill2370Stub __stub_Skill2370Stub = new Skill2370Stub();
|
||||
//public static Skill2371Stub __stub_Skill2371Stub = new Skill2371Stub();
|
||||
//public static Skill2372Stub __stub_Skill2372Stub = new Skill2372Stub();
|
||||
//public static Skill2373Stub __stub_Skill2373Stub = new Skill2373Stub();
|
||||
//public static Skill2374Stub __stub_Skill2374Stub = new Skill2374Stub();
|
||||
//public static Skill2375Stub __stub_Skill2375Stub = new Skill2375Stub();
|
||||
//public static Skill7Stub __stub_Skill7Stub = new Skill7Stub();
|
||||
//public static Skill8Stub __stub_Skill8Stub = new Skill8Stub();
|
||||
//public static Skill9Stub __stub_Skill9Stub = new Skill9Stub();
|
||||
//public static Skill10Stub __stub_Skill10Stub = new Skill10Stub();
|
||||
//public static Skill53Stub __stub_Skill53Stub = new Skill53Stub();
|
||||
//public static Skill81Stub __stub_Skill81Stub = new Skill81Stub();
|
||||
//public static Skill84Stub __stub_Skill84Stub = new Skill84Stub();
|
||||
//public static Skill85Stub __stub_Skill85Stub = new Skill85Stub();
|
||||
//public static Skill86Stub __stub_Skill86Stub = new Skill86Stub();
|
||||
//public static Skill87Stub __stub_Skill87Stub = new Skill87Stub();
|
||||
//public static Skill88Stub __stub_Skill88Stub = new Skill88Stub();
|
||||
//public static Skill89Stub __stub_Skill89Stub = new Skill89Stub();
|
||||
//public static Skill90Stub __stub_Skill90Stub = new Skill90Stub();
|
||||
//public static Skill91Stub __stub_Skill91Stub = new Skill91Stub();
|
||||
//public static Skill92Stub __stub_Skill92Stub = new Skill92Stub();
|
||||
//public static Skill93Stub __stub_Skill93Stub = new Skill93Stub();
|
||||
//public static Skill94Stub __stub_Skill94Stub = new Skill94Stub();
|
||||
//public static Skill95Stub __stub_Skill95Stub = new Skill95Stub();
|
||||
//public static Skill96Stub __stub_Skill96Stub = new Skill96Stub();
|
||||
//public static Skill97Stub __stub_Skill97Stub = new Skill97Stub();
|
||||
//public static Skill98Stub __stub_Skill98Stub = new Skill98Stub();
|
||||
//public static Skill99Stub __stub_Skill99Stub = new Skill99Stub();
|
||||
//public static Skill100Stub __stub_Skill100Stub = new Skill100Stub();
|
||||
//public static Skill101Stub __stub_Skill101Stub = new Skill101Stub();
|
||||
//public static Skill180Stub __stub_Skill180Stub = new Skill180Stub();
|
||||
//public static Skill181Stub __stub_Skill181Stub = new Skill181Stub();
|
||||
//public static Skill182Stub __stub_Skill182Stub = new Skill182Stub();
|
||||
//public static Skill183Stub __stub_Skill183Stub = new Skill183Stub();
|
||||
//public static Skill184Stub __stub_Skill184Stub = new Skill184Stub();
|
||||
//public static Skill228Stub __stub_Skill228Stub = new Skill228Stub();
|
||||
//public static Skill229Stub __stub_Skill229Stub = new Skill229Stub();
|
||||
//public static Skill364Stub __stub_Skill364Stub = new Skill364Stub();
|
||||
//public static Skill365Stub __stub_Skill365Stub = new Skill365Stub();
|
||||
//public static Skill440Stub __stub_Skill440Stub = new Skill440Stub();
|
||||
//public static Skill441Stub __stub_Skill441Stub = new Skill441Stub();
|
||||
//public static Skill442Stub __stub_Skill442Stub = new Skill442Stub();
|
||||
//public static Skill443Stub __stub_Skill443Stub = new Skill443Stub();
|
||||
//public static Skill444Stub __stub_Skill444Stub = new Skill444Stub();
|
||||
//public static Skill445Stub __stub_Skill445Stub = new Skill445Stub();
|
||||
//public static Skill446Stub __stub_Skill446Stub = new Skill446Stub();
|
||||
//public static Skill447Stub __stub_Skill447Stub = new Skill447Stub();
|
||||
//public static Skill448Stub __stub_Skill448Stub = new Skill448Stub();
|
||||
//public static Skill449Stub __stub_Skill449Stub = new Skill449Stub();
|
||||
//public static Skill450Stub __stub_Skill450Stub = new Skill450Stub();
|
||||
//public static Skill451Stub __stub_Skill451Stub = new Skill451Stub();
|
||||
//public static Skill452Stub __stub_Skill452Stub = new Skill452Stub();
|
||||
//public static Skill453Stub __stub_Skill453Stub = new Skill453Stub();
|
||||
//public static Skill454Stub __stub_Skill454Stub = new Skill454Stub();
|
||||
//public static Skill455Stub __stub_Skill455Stub = new Skill455Stub();
|
||||
//public static Skill456Stub __stub_Skill456Stub = new Skill456Stub();
|
||||
//public static Skill457Stub __stub_Skill457Stub = new Skill457Stub();
|
||||
//public static Skill458Stub __stub_Skill458Stub = new Skill458Stub();
|
||||
//public static Skill459Stub __stub_Skill459Stub = new Skill459Stub();
|
||||
//public static Skill460Stub __stub_Skill460Stub = new Skill460Stub();
|
||||
//public static Skill461Stub __stub_Skill461Stub = new Skill461Stub();
|
||||
//public static Skill462Stub __stub_Skill462Stub = new Skill462Stub();
|
||||
//public static Skill463Stub __stub_Skill463Stub = new Skill463Stub();
|
||||
//public static Skill464Stub __stub_Skill464Stub = new Skill464Stub();
|
||||
//public static Skill465Stub __stub_Skill465Stub = new Skill465Stub();
|
||||
//public static Skill466Stub __stub_Skill466Stub = new Skill466Stub();
|
||||
//public static Skill467Stub __stub_Skill467Stub = new Skill467Stub();
|
||||
//public static Skill468Stub __stub_Skill468Stub = new Skill468Stub();
|
||||
//public static Skill469Stub __stub_Skill469Stub = new Skill469Stub();
|
||||
//public static Skill470Stub __stub_Skill470Stub = new Skill470Stub();
|
||||
//public static Skill471Stub __stub_Skill471Stub = new Skill471Stub();
|
||||
//public static Skill472Stub __stub_Skill472Stub = new Skill472Stub();
|
||||
//public static Skill473Stub __stub_Skill473Stub = new Skill473Stub();
|
||||
//public static Skill474Stub __stub_Skill474Stub = new Skill474Stub();
|
||||
//public static Skill475Stub __stub_Skill475Stub = new Skill475Stub();
|
||||
//public static Skill476Stub __stub_Skill476Stub = new Skill476Stub();
|
||||
//public static Skill477Stub __stub_Skill477Stub = new Skill477Stub();
|
||||
//public static Skill478Stub __stub_Skill478Stub = new Skill478Stub();
|
||||
//public static Skill479Stub __stub_Skill479Stub = new Skill479Stub();
|
||||
//public static Skill480Stub __stub_Skill480Stub = new Skill480Stub();
|
||||
//public static Skill481Stub __stub_Skill481Stub = new Skill481Stub();
|
||||
//public static Skill482Stub __stub_Skill482Stub = new Skill482Stub();
|
||||
//public static Skill483Stub __stub_Skill483Stub = new Skill483Stub();
|
||||
//public static Skill484Stub __stub_Skill484Stub = new Skill484Stub();
|
||||
//public static Skill485Stub __stub_Skill485Stub = new Skill485Stub();
|
||||
//public static Skill486Stub __stub_Skill486Stub = new Skill486Stub();
|
||||
//public static Skill487Stub __stub_Skill487Stub = new Skill487Stub();
|
||||
//public static Skill488Stub __stub_Skill488Stub = new Skill488Stub();
|
||||
//public static Skill489Stub __stub_Skill489Stub = new Skill489Stub();
|
||||
//public static Skill490Stub __stub_Skill490Stub = new Skill490Stub();
|
||||
//public static Skill491Stub __stub_Skill491Stub = new Skill491Stub();
|
||||
//public static Skill901Stub __stub_Skill901Stub = new Skill901Stub();
|
||||
//public static Skill902Stub __stub_Skill902Stub = new Skill902Stub();
|
||||
//public static Skill903Stub __stub_Skill903Stub = new Skill903Stub();
|
||||
//public static Skill904Stub __stub_Skill904Stub = new Skill904Stub();
|
||||
//public static Skill905Stub __stub_Skill905Stub = new Skill905Stub();
|
||||
//public static Skill925Stub __stub_Skill925Stub = new Skill925Stub();
|
||||
//public static Skill926Stub __stub_Skill926Stub = new Skill926Stub();
|
||||
//public static Skill1805Stub __stub_Skill1805Stub = new Skill1805Stub();
|
||||
//public static Skill1806Stub __stub_Skill1806Stub = new Skill1806Stub();
|
||||
//public static Skill1807Stub __stub_Skill1807Stub = new Skill1807Stub();
|
||||
//public static Skill1808Stub __stub_Skill1808Stub = new Skill1808Stub();
|
||||
//public static Skill1809Stub __stub_Skill1809Stub = new Skill1809Stub();
|
||||
//public static Skill1864Stub __stub_Skill1864Stub = new Skill1864Stub();
|
||||
//public static Skill1865Stub __stub_Skill1865Stub = new Skill1865Stub();
|
||||
//public static Skill1873Stub __stub_Skill1873Stub = new Skill1873Stub();
|
||||
//public static Skill1874Stub __stub_Skill1874Stub = new Skill1874Stub();
|
||||
//public static Skill1951Stub __stub_Skill1951Stub = new Skill1951Stub();
|
||||
//public static Skill2254Stub __stub_Skill2254Stub = new Skill2254Stub();
|
||||
//public static Skill2255Stub __stub_Skill2255Stub = new Skill2255Stub();
|
||||
//public static Skill2256Stub __stub_Skill2256Stub = new Skill2256Stub();
|
||||
//public static Skill2257Stub __stub_Skill2257Stub = new Skill2257Stub();
|
||||
//public static Skill2258Stub __stub_Skill2258Stub = new Skill2258Stub();
|
||||
//public static Skill2259Stub __stub_Skill2259Stub = new Skill2259Stub();
|
||||
//public static Skill2260Stub __stub_Skill2260Stub = new Skill2260Stub();
|
||||
//public static Skill2261Stub __stub_Skill2261Stub = new Skill2261Stub();
|
||||
//public static Skill2262Stub __stub_Skill2262Stub = new Skill2262Stub();
|
||||
//public static Skill2263Stub __stub_Skill2263Stub = new Skill2263Stub();
|
||||
//public static Skill2264Stub __stub_Skill2264Stub = new Skill2264Stub();
|
||||
//public static Skill2265Stub __stub_Skill2265Stub = new Skill2265Stub();
|
||||
//public static Skill2452Stub __stub_Skill2452Stub = new Skill2452Stub();
|
||||
//public static Skill2453Stub __stub_Skill2453Stub = new Skill2453Stub();
|
||||
public static Skill179Stub __stub_Skill179Stub = new Skill179Stub();
|
||||
public static Skill187Stub __stub_Skill187Stub = new Skill187Stub();
|
||||
public static Skill226Stub __stub_Skill226Stub = new Skill226Stub();
|
||||
public static Skill227Stub __stub_Skill227Stub = new Skill227Stub();
|
||||
public static Skill362Stub __stub_Skill362Stub = new Skill362Stub();
|
||||
public static Skill363Stub __stub_Skill363Stub = new Skill363Stub();
|
||||
public static Skill374Stub __stub_Skill374Stub = new Skill374Stub();
|
||||
public static Skill375Stub __stub_Skill375Stub = new Skill375Stub();
|
||||
public static Skill376Stub __stub_Skill376Stub = new Skill376Stub();
|
||||
public static Skill377Stub __stub_Skill377Stub = new Skill377Stub();
|
||||
public static Skill378Stub __stub_Skill378Stub = new Skill378Stub();
|
||||
public static Skill379Stub __stub_Skill379Stub = new Skill379Stub();
|
||||
public static Skill380Stub __stub_Skill380Stub = new Skill380Stub();
|
||||
public static Skill381Stub __stub_Skill381Stub = new Skill381Stub();
|
||||
public static Skill382Stub __stub_Skill382Stub = new Skill382Stub();
|
||||
public static Skill383Stub __stub_Skill383Stub = new Skill383Stub();
|
||||
public static Skill384Stub __stub_Skill384Stub = new Skill384Stub();
|
||||
public static Skill385Stub __stub_Skill385Stub = new Skill385Stub();
|
||||
public static Skill386Stub __stub_Skill386Stub = new Skill386Stub();
|
||||
public static Skill387Stub __stub_Skill387Stub = new Skill387Stub();
|
||||
public static Skill388Stub __stub_Skill388Stub = new Skill388Stub();
|
||||
public static Skill389Stub __stub_Skill389Stub = new Skill389Stub();
|
||||
public static Skill390Stub __stub_Skill390Stub = new Skill390Stub();
|
||||
public static Skill391Stub __stub_Skill391Stub = new Skill391Stub();
|
||||
public static Skill392Stub __stub_Skill392Stub = new Skill392Stub();
|
||||
public static Skill393Stub __stub_Skill393Stub = new Skill393Stub();
|
||||
public static Skill394Stub __stub_Skill394Stub = new Skill394Stub();
|
||||
public static Skill395Stub __stub_Skill395Stub = new Skill395Stub();
|
||||
public static Skill396Stub __stub_Skill396Stub = new Skill396Stub();
|
||||
public static Skill397Stub __stub_Skill397Stub = new Skill397Stub();
|
||||
public static Skill398Stub __stub_Skill398Stub = new Skill398Stub();
|
||||
public static Skill399Stub __stub_Skill399Stub = new Skill399Stub();
|
||||
public static Skill400Stub __stub_Skill400Stub = new Skill400Stub();
|
||||
public static Skill401Stub __stub_Skill401Stub = new Skill401Stub();
|
||||
public static Skill402Stub __stub_Skill402Stub = new Skill402Stub();
|
||||
public static Skill403Stub __stub_Skill403Stub = new Skill403Stub();
|
||||
public static Skill404Stub __stub_Skill404Stub = new Skill404Stub();
|
||||
public static Skill405Stub __stub_Skill405Stub = new Skill405Stub();
|
||||
public static Skill406Stub __stub_Skill406Stub = new Skill406Stub();
|
||||
public static Skill407Stub __stub_Skill407Stub = new Skill407Stub();
|
||||
public static Skill408Stub __stub_Skill408Stub = new Skill408Stub();
|
||||
public static Skill409Stub __stub_Skill409Stub = new Skill409Stub();
|
||||
public static Skill410Stub __stub_Skill410Stub = new Skill410Stub();
|
||||
public static Skill411Stub __stub_Skill411Stub = new Skill411Stub();
|
||||
public static Skill412Stub __stub_Skill412Stub = new Skill412Stub();
|
||||
public static Skill413Stub __stub_Skill413Stub = new Skill413Stub();
|
||||
public static Skill414Stub __stub_Skill414Stub = new Skill414Stub();
|
||||
public static Skill415Stub __stub_Skill415Stub = new Skill415Stub();
|
||||
public static Skill416Stub __stub_Skill416Stub = new Skill416Stub();
|
||||
public static Skill417Stub __stub_Skill417Stub = new Skill417Stub();
|
||||
public static Skill418Stub __stub_Skill418Stub = new Skill418Stub();
|
||||
public static Skill419Stub __stub_Skill419Stub = new Skill419Stub();
|
||||
public static Skill420Stub __stub_Skill420Stub = new Skill420Stub();
|
||||
public static Skill421Stub __stub_Skill421Stub = new Skill421Stub();
|
||||
public static Skill422Stub __stub_Skill422Stub = new Skill422Stub();
|
||||
public static Skill423Stub __stub_Skill423Stub = new Skill423Stub();
|
||||
public static Skill424Stub __stub_Skill424Stub = new Skill424Stub();
|
||||
public static Skill425Stub __stub_Skill425Stub = new Skill425Stub();
|
||||
public static Skill426Stub __stub_Skill426Stub = new Skill426Stub();
|
||||
public static Skill427Stub __stub_Skill427Stub = new Skill427Stub();
|
||||
public static Skill428Stub __stub_Skill428Stub = new Skill428Stub();
|
||||
public static Skill429Stub __stub_Skill429Stub = new Skill429Stub();
|
||||
public static Skill430Stub __stub_Skill430Stub = new Skill430Stub();
|
||||
public static Skill431Stub __stub_Skill431Stub = new Skill431Stub();
|
||||
public static Skill432Stub __stub_Skill432Stub = new Skill432Stub();
|
||||
public static Skill433Stub __stub_Skill433Stub = new Skill433Stub();
|
||||
public static Skill434Stub __stub_Skill434Stub = new Skill434Stub();
|
||||
public static Skill435Stub __stub_Skill435Stub = new Skill435Stub();
|
||||
public static Skill436Stub __stub_Skill436Stub = new Skill436Stub();
|
||||
public static Skill437Stub __stub_Skill437Stub = new Skill437Stub();
|
||||
public static Skill438Stub __stub_Skill438Stub = new Skill438Stub();
|
||||
public static Skill439Stub __stub_Skill439Stub = new Skill439Stub();
|
||||
public static Skill896Stub __stub_Skill896Stub = new Skill896Stub();
|
||||
public static Skill897Stub __stub_Skill897Stub = new Skill897Stub();
|
||||
public static Skill898Stub __stub_Skill898Stub = new Skill898Stub();
|
||||
public static Skill899Stub __stub_Skill899Stub = new Skill899Stub();
|
||||
public static Skill900Stub __stub_Skill900Stub = new Skill900Stub();
|
||||
public static Skill923Stub __stub_Skill923Stub = new Skill923Stub();
|
||||
public static Skill924Stub __stub_Skill924Stub = new Skill924Stub();
|
||||
public static Skill1195Stub __stub_Skill1195Stub = new Skill1195Stub();
|
||||
public static Skill1815Stub __stub_Skill1815Stub = new Skill1815Stub();
|
||||
public static Skill1816Stub __stub_Skill1816Stub = new Skill1816Stub();
|
||||
public static Skill1817Stub __stub_Skill1817Stub = new Skill1817Stub();
|
||||
public static Skill1818Stub __stub_Skill1818Stub = new Skill1818Stub();
|
||||
public static Skill1819Stub __stub_Skill1819Stub = new Skill1819Stub();
|
||||
public static Skill1868Stub __stub_Skill1868Stub = new Skill1868Stub();
|
||||
public static Skill1871Stub __stub_Skill1871Stub = new Skill1871Stub();
|
||||
public static Skill1872Stub __stub_Skill1872Stub = new Skill1872Stub();
|
||||
public static Skill2206Stub __stub_Skill2206Stub = new Skill2206Stub();
|
||||
public static Skill2207Stub __stub_Skill2207Stub = new Skill2207Stub();
|
||||
public static Skill2208Stub __stub_Skill2208Stub = new Skill2208Stub();
|
||||
public static Skill2209Stub __stub_Skill2209Stub = new Skill2209Stub();
|
||||
public static Skill2210Stub __stub_Skill2210Stub = new Skill2210Stub();
|
||||
public static Skill2211Stub __stub_Skill2211Stub = new Skill2211Stub();
|
||||
public static Skill2352Stub __stub_Skill2352Stub = new Skill2352Stub();
|
||||
public static Skill2367Stub __stub_Skill2367Stub = new Skill2367Stub();
|
||||
public static Skill2368Stub __stub_Skill2368Stub = new Skill2368Stub();
|
||||
public static Skill2369Stub __stub_Skill2369Stub = new Skill2369Stub();
|
||||
public static Skill2370Stub __stub_Skill2370Stub = new Skill2370Stub();
|
||||
public static Skill2371Stub __stub_Skill2371Stub = new Skill2371Stub();
|
||||
public static Skill2372Stub __stub_Skill2372Stub = new Skill2372Stub();
|
||||
public static Skill2373Stub __stub_Skill2373Stub = new Skill2373Stub();
|
||||
public static Skill2374Stub __stub_Skill2374Stub = new Skill2374Stub();
|
||||
public static Skill2375Stub __stub_Skill2375Stub = new Skill2375Stub();
|
||||
public static Skill7Stub __stub_Skill7Stub = new Skill7Stub();
|
||||
public static Skill8Stub __stub_Skill8Stub = new Skill8Stub();
|
||||
public static Skill9Stub __stub_Skill9Stub = new Skill9Stub();
|
||||
public static Skill10Stub __stub_Skill10Stub = new Skill10Stub();
|
||||
public static Skill53Stub __stub_Skill53Stub = new Skill53Stub();
|
||||
public static Skill81Stub __stub_Skill81Stub = new Skill81Stub();
|
||||
public static Skill84Stub __stub_Skill84Stub = new Skill84Stub();
|
||||
public static Skill85Stub __stub_Skill85Stub = new Skill85Stub();
|
||||
public static Skill86Stub __stub_Skill86Stub = new Skill86Stub();
|
||||
public static Skill87Stub __stub_Skill87Stub = new Skill87Stub();
|
||||
public static Skill88Stub __stub_Skill88Stub = new Skill88Stub();
|
||||
public static Skill89Stub __stub_Skill89Stub = new Skill89Stub();
|
||||
public static Skill90Stub __stub_Skill90Stub = new Skill90Stub();
|
||||
public static Skill91Stub __stub_Skill91Stub = new Skill91Stub();
|
||||
public static Skill92Stub __stub_Skill92Stub = new Skill92Stub();
|
||||
public static Skill93Stub __stub_Skill93Stub = new Skill93Stub();
|
||||
public static Skill94Stub __stub_Skill94Stub = new Skill94Stub();
|
||||
public static Skill95Stub __stub_Skill95Stub = new Skill95Stub();
|
||||
public static Skill96Stub __stub_Skill96Stub = new Skill96Stub();
|
||||
public static Skill97Stub __stub_Skill97Stub = new Skill97Stub();
|
||||
public static Skill98Stub __stub_Skill98Stub = new Skill98Stub();
|
||||
public static Skill99Stub __stub_Skill99Stub = new Skill99Stub();
|
||||
public static Skill100Stub __stub_Skill100Stub = new Skill100Stub();
|
||||
public static Skill101Stub __stub_Skill101Stub = new Skill101Stub();
|
||||
public static Skill180Stub __stub_Skill180Stub = new Skill180Stub();
|
||||
public static Skill181Stub __stub_Skill181Stub = new Skill181Stub();
|
||||
public static Skill182Stub __stub_Skill182Stub = new Skill182Stub();
|
||||
public static Skill183Stub __stub_Skill183Stub = new Skill183Stub();
|
||||
public static Skill184Stub __stub_Skill184Stub = new Skill184Stub();
|
||||
public static Skill228Stub __stub_Skill228Stub = new Skill228Stub();
|
||||
public static Skill229Stub __stub_Skill229Stub = new Skill229Stub();
|
||||
public static Skill364Stub __stub_Skill364Stub = new Skill364Stub();
|
||||
public static Skill365Stub __stub_Skill365Stub = new Skill365Stub();
|
||||
public static Skill440Stub __stub_Skill440Stub = new Skill440Stub();
|
||||
public static Skill441Stub __stub_Skill441Stub = new Skill441Stub();
|
||||
public static Skill442Stub __stub_Skill442Stub = new Skill442Stub();
|
||||
public static Skill443Stub __stub_Skill443Stub = new Skill443Stub();
|
||||
public static Skill444Stub __stub_Skill444Stub = new Skill444Stub();
|
||||
public static Skill445Stub __stub_Skill445Stub = new Skill445Stub();
|
||||
public static Skill446Stub __stub_Skill446Stub = new Skill446Stub();
|
||||
public static Skill447Stub __stub_Skill447Stub = new Skill447Stub();
|
||||
public static Skill448Stub __stub_Skill448Stub = new Skill448Stub();
|
||||
public static Skill449Stub __stub_Skill449Stub = new Skill449Stub();
|
||||
public static Skill450Stub __stub_Skill450Stub = new Skill450Stub();
|
||||
public static Skill451Stub __stub_Skill451Stub = new Skill451Stub();
|
||||
public static Skill452Stub __stub_Skill452Stub = new Skill452Stub();
|
||||
public static Skill453Stub __stub_Skill453Stub = new Skill453Stub();
|
||||
public static Skill454Stub __stub_Skill454Stub = new Skill454Stub();
|
||||
public static Skill455Stub __stub_Skill455Stub = new Skill455Stub();
|
||||
public static Skill456Stub __stub_Skill456Stub = new Skill456Stub();
|
||||
public static Skill457Stub __stub_Skill457Stub = new Skill457Stub();
|
||||
public static Skill458Stub __stub_Skill458Stub = new Skill458Stub();
|
||||
public static Skill459Stub __stub_Skill459Stub = new Skill459Stub();
|
||||
public static Skill460Stub __stub_Skill460Stub = new Skill460Stub();
|
||||
public static Skill461Stub __stub_Skill461Stub = new Skill461Stub();
|
||||
public static Skill462Stub __stub_Skill462Stub = new Skill462Stub();
|
||||
public static Skill463Stub __stub_Skill463Stub = new Skill463Stub();
|
||||
public static Skill464Stub __stub_Skill464Stub = new Skill464Stub();
|
||||
public static Skill465Stub __stub_Skill465Stub = new Skill465Stub();
|
||||
public static Skill466Stub __stub_Skill466Stub = new Skill466Stub();
|
||||
public static Skill467Stub __stub_Skill467Stub = new Skill467Stub();
|
||||
public static Skill468Stub __stub_Skill468Stub = new Skill468Stub();
|
||||
public static Skill469Stub __stub_Skill469Stub = new Skill469Stub();
|
||||
public static Skill470Stub __stub_Skill470Stub = new Skill470Stub();
|
||||
public static Skill471Stub __stub_Skill471Stub = new Skill471Stub();
|
||||
public static Skill472Stub __stub_Skill472Stub = new Skill472Stub();
|
||||
public static Skill473Stub __stub_Skill473Stub = new Skill473Stub();
|
||||
public static Skill474Stub __stub_Skill474Stub = new Skill474Stub();
|
||||
public static Skill475Stub __stub_Skill475Stub = new Skill475Stub();
|
||||
public static Skill476Stub __stub_Skill476Stub = new Skill476Stub();
|
||||
public static Skill477Stub __stub_Skill477Stub = new Skill477Stub();
|
||||
public static Skill478Stub __stub_Skill478Stub = new Skill478Stub();
|
||||
public static Skill479Stub __stub_Skill479Stub = new Skill479Stub();
|
||||
public static Skill480Stub __stub_Skill480Stub = new Skill480Stub();
|
||||
public static Skill481Stub __stub_Skill481Stub = new Skill481Stub();
|
||||
public static Skill482Stub __stub_Skill482Stub = new Skill482Stub();
|
||||
public static Skill483Stub __stub_Skill483Stub = new Skill483Stub();
|
||||
public static Skill484Stub __stub_Skill484Stub = new Skill484Stub();
|
||||
public static Skill485Stub __stub_Skill485Stub = new Skill485Stub();
|
||||
public static Skill486Stub __stub_Skill486Stub = new Skill486Stub();
|
||||
public static Skill487Stub __stub_Skill487Stub = new Skill487Stub();
|
||||
public static Skill488Stub __stub_Skill488Stub = new Skill488Stub();
|
||||
public static Skill489Stub __stub_Skill489Stub = new Skill489Stub();
|
||||
public static Skill490Stub __stub_Skill490Stub = new Skill490Stub();
|
||||
public static Skill491Stub __stub_Skill491Stub = new Skill491Stub();
|
||||
public static Skill901Stub __stub_Skill901Stub = new Skill901Stub();
|
||||
public static Skill902Stub __stub_Skill902Stub = new Skill902Stub();
|
||||
public static Skill903Stub __stub_Skill903Stub = new Skill903Stub();
|
||||
public static Skill904Stub __stub_Skill904Stub = new Skill904Stub();
|
||||
public static Skill905Stub __stub_Skill905Stub = new Skill905Stub();
|
||||
public static Skill925Stub __stub_Skill925Stub = new Skill925Stub();
|
||||
public static Skill926Stub __stub_Skill926Stub = new Skill926Stub();
|
||||
public static Skill1805Stub __stub_Skill1805Stub = new Skill1805Stub();
|
||||
public static Skill1806Stub __stub_Skill1806Stub = new Skill1806Stub();
|
||||
public static Skill1807Stub __stub_Skill1807Stub = new Skill1807Stub();
|
||||
public static Skill1808Stub __stub_Skill1808Stub = new Skill1808Stub();
|
||||
public static Skill1809Stub __stub_Skill1809Stub = new Skill1809Stub();
|
||||
public static Skill1864Stub __stub_Skill1864Stub = new Skill1864Stub();
|
||||
public static Skill1865Stub __stub_Skill1865Stub = new Skill1865Stub();
|
||||
public static Skill1873Stub __stub_Skill1873Stub = new Skill1873Stub();
|
||||
public static Skill1874Stub __stub_Skill1874Stub = new Skill1874Stub();
|
||||
public static Skill1951Stub __stub_Skill1951Stub = new Skill1951Stub();
|
||||
public static Skill2254Stub __stub_Skill2254Stub = new Skill2254Stub();
|
||||
public static Skill2255Stub __stub_Skill2255Stub = new Skill2255Stub();
|
||||
public static Skill2256Stub __stub_Skill2256Stub = new Skill2256Stub();
|
||||
public static Skill2257Stub __stub_Skill2257Stub = new Skill2257Stub();
|
||||
public static Skill2258Stub __stub_Skill2258Stub = new Skill2258Stub();
|
||||
public static Skill2259Stub __stub_Skill2259Stub = new Skill2259Stub();
|
||||
public static Skill2260Stub __stub_Skill2260Stub = new Skill2260Stub();
|
||||
public static Skill2261Stub __stub_Skill2261Stub = new Skill2261Stub();
|
||||
public static Skill2262Stub __stub_Skill2262Stub = new Skill2262Stub();
|
||||
public static Skill2263Stub __stub_Skill2263Stub = new Skill2263Stub();
|
||||
public static Skill2264Stub __stub_Skill2264Stub = new Skill2264Stub();
|
||||
public static Skill2265Stub __stub_Skill2265Stub = new Skill2265Stub();
|
||||
public static Skill2452Stub __stub_Skill2452Stub = new Skill2452Stub();
|
||||
public static Skill2453Stub __stub_Skill2453Stub = new Skill2453Stub();
|
||||
|
||||
#if SKILL_SERVER
|
||||
public static Skill1 __stub_Skill1 = new Skill1();
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace BrewMonster.Scripts.Skills
|
||||
skill.SetLevel(n);
|
||||
return skill;
|
||||
}
|
||||
public override int GetMaxLevel() { return stub.GetMaxLevel(); }
|
||||
public override int GetMaxLevel() { return stub.GetMaxLevel(); }
|
||||
public override int SetLevel(int l)
|
||||
{
|
||||
uint tmp = level;
|
||||
@@ -59,6 +59,7 @@ namespace BrewMonster.Scripts.Skills
|
||||
{
|
||||
return player;
|
||||
}
|
||||
public override int GetRank() { return stub.rank; }
|
||||
public override bool IsInstant() { return stub.time_type == 1; }
|
||||
|
||||
public override int GetCls()
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#define SKILL_CLIENT
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
@@ -20,149 +21,66 @@ namespace BrewMonster
|
||||
|
||||
public class Skill1Stub : SkillStub
|
||||
{
|
||||
// Static arrays for skill requirements
|
||||
private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 };
|
||||
private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 };
|
||||
private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 400;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 400;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f * (-5 + 7 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetDecmp(0.2f *(-5 + 7 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 700;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 700;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f * (-5 + 7 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetDecmp(0.8f *(-5 + 7 * skill.GetLevel()));
|
||||
skill.SetPlus(1.9f * skill.GetLevel() * skill.GetLevel() + 64 * skill.GetLevel() + 36.7f);
|
||||
skill.SetRatio(0);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1Stub() : base(1)
|
||||
{
|
||||
cls = 0;
|
||||
@@ -189,19 +107,19 @@ namespace BrewMonster
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "虎击.sgc";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(9);
|
||||
effect = "虎击.sgc";
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
@@ -209,59 +127,18 @@ namespace BrewMonster
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1Stub()
|
||||
{
|
||||
}
|
||||
~Skill1Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill)
|
||||
{
|
||||
return (float)(-5 + 7 * skill.GetLevel());
|
||||
}
|
||||
|
||||
public int GetExecutetime(Skill skill)
|
||||
{
|
||||
return 700;
|
||||
}
|
||||
|
||||
public int GetCoolingtime(Skill skill)
|
||||
{
|
||||
return 3000;
|
||||
}
|
||||
|
||||
public int GetRequiredLevel(Skill skill)
|
||||
{
|
||||
return RequiredLevelArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredSp(Skill skill)
|
||||
{
|
||||
return RequiredSpArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredMoney(Skill skill)
|
||||
{
|
||||
return RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public float GetRadius(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAttackdistance(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAngle(Skill skill)
|
||||
{
|
||||
return (float)(1 - 0.0111111 * 0);
|
||||
}
|
||||
|
||||
public float GetPraydistance(Skill skill)
|
||||
{
|
||||
return (float)skill.GetPlayer().GetRange();
|
||||
}
|
||||
public float GetMpcost(Skill skill) => (float)(-5 + 7 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 700;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
@@ -280,30 +157,12 @@ namespace BrewMonster
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public bool TakeEffect(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public float GetEffectdistance(Skill skill)
|
||||
{
|
||||
return 13.3f;
|
||||
}
|
||||
|
||||
public int GetAttackspeed(Skill skill)
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
public float GetHitrate(Skill skill)
|
||||
{
|
||||
return (float)(1.2 + 0.05 * skill.GetLevel());
|
||||
}
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 13.3f;
|
||||
public int GetAttackspeed(Skill skill) => 3;
|
||||
public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,169 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill10 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 10;
|
||||
|
||||
public Skill10() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill10Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 };
|
||||
private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 };
|
||||
private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f *(50.4f + 18 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f *(50.4f + 18 * skill.GetLevel()));
|
||||
skill.SetPlus(0);
|
||||
skill.SetRatio(0);
|
||||
skill.SetEarthdamage(skill.GetMagicattack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill10Stub() : base(10)
|
||||
{
|
||||
cls = 1;
|
||||
name = "沙陷";
|
||||
nativename = "沙陷";
|
||||
icon = "沙陷.dds";
|
||||
max_level = 10;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 10;
|
||||
attr = 6;
|
||||
rank = 2;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1220;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "沙陷.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(181, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill10Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => (float)(50.4 + 18 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 8000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
19.5 + 0.9 * skill.GetLevel(),
|
||||
50.4 + 18 * skill.GetLevel(),
|
||||
8 * skill.GetLevel() * skill.GetLevel() + 214.1 * skill.GetLevel() + 659.8,
|
||||
5 + skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel();
|
||||
public int GetAttackspeed(Skill skill) => 7;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 587af2794ea743c44a40c8d1963fc64b
|
||||
@@ -0,0 +1,161 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill100 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 100;
|
||||
|
||||
public Skill100() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill100Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 };
|
||||
private static readonly int[] RequiredSpArray = { 8260, 12110, 17220, 23940, 32900, 44800, 60900, 82600, 112000, 167300 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(50);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill100Stub() : base(100)
|
||||
{
|
||||
cls = 1;
|
||||
name = "缩地术";
|
||||
nativename = "缩地术";
|
||||
icon = "缩地术.dds";
|
||||
max_level = 10;
|
||||
type = 8;
|
||||
apcost = 20;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 3;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
time_type = 0;
|
||||
showorder = 1221;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "缩地术.sgc";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill100Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 50f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 20000 - 1000 * skill.GetLevel();
|
||||
public float GetRadius(Skill skill) => (float)(2 + 0.3 * skill.GetLevel());
|
||||
public float GetAttackdistance(Skill skill) => (float)(4 + 0.4 * skill.GetLevel());
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(15 + skill.GetLevel());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
20 - skill.GetLevel(),
|
||||
15 + skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 15f;
|
||||
public int GetAttackspeed(Skill skill) => 0;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c7dcaf124d218a945be1e463e57c2960
|
||||
@@ -0,0 +1,100 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill101 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 101;
|
||||
|
||||
public Skill101() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill101Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 };
|
||||
private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 217000 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 };
|
||||
|
||||
|
||||
public Skill101Stub() : base(101)
|
||||
{
|
||||
cls = 1;
|
||||
name = "土精通";
|
||||
nativename = "土精通";
|
||||
icon = "土精通.dds";
|
||||
max_level = 10;
|
||||
type = 5;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 3;
|
||||
eventflag = 1;
|
||||
posdouble = 0;
|
||||
time_type = 0;
|
||||
showorder = 1227;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 0;
|
||||
effect = "";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
|
||||
}
|
||||
|
||||
~Skill101Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 0;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, skill.GetLevel(), 2 * skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 0f;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6ecb5203dcfa4942bf9224cfc08b7fe
|
||||
@@ -0,0 +1,162 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1195 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1195;
|
||||
|
||||
public Skill1195() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1195Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredMoneyArray = { 8600, 14000, 21000, 30000, 42000, 58000, 80000, 110000, 150000, 200000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 350;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f *(10 + 5 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f *(10 + 5 * skill.GetLevel()));
|
||||
skill.SetPlus(3.9f * skill.GetLevel() * skill.GetLevel() + 52.2f * skill.GetLevel() - 45.3f);
|
||||
skill.SetRatio(0);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1195Stub() : base(1195)
|
||||
{
|
||||
cls = 0;
|
||||
name = "致盲(废弃)";
|
||||
nativename = "致盲(废弃)";
|
||||
icon = "致盲.dds";
|
||||
max_level = 10;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 5;
|
||||
attr = 1;
|
||||
rank = 2;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 0;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "疾风霹雳.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(23749);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1195Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 1200;
|
||||
public int GetCoolingtime(Skill skill) => 8000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
10 + 5 * skill.GetLevel(),
|
||||
3.9 * skill.GetLevel() * skill.GetLevel() + 52.2 * skill.GetLevel() - 45.3);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 13.3f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59c9afbff6c1d9d41acf0a46dd3cf942
|
||||
@@ -0,0 +1,107 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill176 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 176;
|
||||
|
||||
public Skill176() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill176Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 59 };
|
||||
private static readonly int[] RequiredSpArray = { 60900 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(100);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill176Stub() : base(176)
|
||||
{
|
||||
cls = 0;
|
||||
name = "凌波微步";
|
||||
nativename = "凌波微步";
|
||||
icon = "凌波微步.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 100;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 6;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 1;
|
||||
showorder = 1128;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
restrict_weapons.Add(0);
|
||||
effect = "";
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill176Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 100f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 60000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 5f;
|
||||
public float GetHitrate(Skill skill) => 0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97a0f2720af40e24e9af66de2a7a7e4a
|
||||
@@ -1,4 +1,4 @@
|
||||
#define SKILL_CLIENT
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
@@ -21,56 +21,29 @@ namespace BrewMonster
|
||||
|
||||
public class Skill177Stub : SkillStub
|
||||
{
|
||||
// Static arrays for skill requirements
|
||||
private static readonly int[] RequiredLevelArray = { 16, 21, 26, 31, 36, 41, 46, 51, 56, 61 };
|
||||
private static readonly int[] RequiredSpArray = { 2560, 4640, 7360, 11120, 16000, 22480, 31120, 42560, 57920, 78640 };
|
||||
private static readonly int[] RequiredMoneyArray = { 320, 530, 820, 1270, 1720, 2180, 2680, 3180, 3680, 6980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(20);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill177Stub() : base(177)
|
||||
{
|
||||
cls = 0;
|
||||
@@ -98,86 +71,31 @@ namespace BrewMonster
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(9);
|
||||
effect = "易筋经.sgc";
|
||||
effect = "";
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
range.type = 0;
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill177Stub()
|
||||
{
|
||||
}
|
||||
~Skill177Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill)
|
||||
{
|
||||
return 20f;
|
||||
}
|
||||
|
||||
public int GetExecutetime(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int GetCoolingtime(Skill skill)
|
||||
{
|
||||
return 10000;
|
||||
}
|
||||
|
||||
public int GetRequiredLevel(Skill skill)
|
||||
{
|
||||
return RequiredLevelArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredSp(Skill skill)
|
||||
{
|
||||
return RequiredSpArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredMoney(Skill skill)
|
||||
{
|
||||
return RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public float GetRadius(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAttackdistance(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAngle(Skill skill)
|
||||
{
|
||||
return (float)(1 - 0.0111111 * 0);
|
||||
}
|
||||
|
||||
public float GetPraydistance(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
public float GetMpcost(Skill skill) => 20f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 10000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
20 + 10 * skill.GetLevel(),
|
||||
20 + 10 * skill.GetLevel());
|
||||
string result = string.Format(format, skill.GetLevel(), 20 + 10 * skill.GetLevel(), 20 + 10 * skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
@@ -188,53 +106,15 @@ namespace BrewMonster
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill)
|
||||
{
|
||||
skill.GetVictim().SetTime(30000);
|
||||
skill.GetVictim().SetRatio(0.2f + 0.1f * skill.GetLevel());
|
||||
skill.GetVictim().SetAmount(0.2f + 0.1f * skill.GetLevel());
|
||||
skill.GetVictim().SetYijin(1);
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool TakeEffect(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public float GetEffectdistance(Skill skill)
|
||||
{
|
||||
return 5f;
|
||||
}
|
||||
|
||||
public float GetHitrate(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 5f;
|
||||
public float GetHitrate(Skill skill) => 0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#define SKILL_CLIENT
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
@@ -21,56 +21,29 @@ namespace BrewMonster
|
||||
|
||||
public class Skill178Stub : SkillStub
|
||||
{
|
||||
// Static arrays for skill requirements
|
||||
private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 };
|
||||
private static readonly int[] RequiredSpArray = { 5600, 8720, 12880, 18400, 25600, 35280, 48160, 65440, 88800, 120800 };
|
||||
private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(20);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill178Stub() : base(178)
|
||||
{
|
||||
cls = 0;
|
||||
@@ -98,86 +71,31 @@ namespace BrewMonster
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(9);
|
||||
effect = "易髓经.sgc";
|
||||
effect = "";
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(177, 1);
|
||||
range.type = 0;
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill178Stub()
|
||||
{
|
||||
}
|
||||
~Skill178Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill)
|
||||
{
|
||||
return 20f;
|
||||
}
|
||||
|
||||
public int GetExecutetime(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int GetCoolingtime(Skill skill)
|
||||
{
|
||||
return 10000;
|
||||
}
|
||||
|
||||
public int GetRequiredLevel(Skill skill)
|
||||
{
|
||||
return RequiredLevelArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredSp(Skill skill)
|
||||
{
|
||||
return RequiredSpArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredMoney(Skill skill)
|
||||
{
|
||||
return RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public float GetRadius(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAttackdistance(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAngle(Skill skill)
|
||||
{
|
||||
return (float)(1 - 0.0111111 * 0);
|
||||
}
|
||||
|
||||
public float GetPraydistance(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
public float GetMpcost(Skill skill) => 20f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 10000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
20 + 10 * skill.GetLevel(),
|
||||
20 + 10 * skill.GetLevel());
|
||||
string result = string.Format(format, skill.GetLevel(), 20 + 10 * skill.GetLevel(), 20 + 10 * skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
@@ -188,53 +106,15 @@ namespace BrewMonster
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill)
|
||||
{
|
||||
skill.GetVictim().SetTime(30000);
|
||||
skill.GetVictim().SetRatio(0.2f + 0.1f * skill.GetLevel());
|
||||
skill.GetVictim().SetAmount(0.2f + 0.1f * skill.GetLevel());
|
||||
skill.GetVictim().SetXisui(1);
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool TakeEffect(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public float GetEffectdistance(Skill skill)
|
||||
{
|
||||
return 5f;
|
||||
}
|
||||
|
||||
public float GetHitrate(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 5f;
|
||||
public float GetHitrate(Skill skill) => 0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill179 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 179;
|
||||
|
||||
public Skill179() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill179Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 };
|
||||
private static readonly int[] RequiredSpArray = { 9440, 13840, 19680, 27360, 37600, 51200, 69600, 94400, 128000, 191200 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(20 + 30 * skill.GetLevel());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill179Stub() : base(179)
|
||||
{
|
||||
cls = 0;
|
||||
name = "金刚经";
|
||||
nativename = "金刚经";
|
||||
icon = "金刚经.dds";
|
||||
max_level = 10;
|
||||
type = 2;
|
||||
apcost = 100;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 3;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 1;
|
||||
showorder = 1133;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
restrict_weapons.Add(0);
|
||||
effect = "";
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill179Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => (float)(20 + 30 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 30000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, skill.GetLevel(), 20 + 30 * skill.GetLevel(), skill.GetLevel() * 150 + 100);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 5f;
|
||||
public float GetHitrate(Skill skill) => 0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f884da37f52c784990afc49f5b5c49e
|
||||
@@ -0,0 +1,165 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill180 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 180;
|
||||
|
||||
public Skill180() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill180Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 };
|
||||
private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 };
|
||||
private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f *(-6 + 15 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f *(-6 + 15 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill180Stub() : base(180)
|
||||
{
|
||||
cls = 1;
|
||||
name = "寒冰护甲";
|
||||
nativename = "寒冰护甲";
|
||||
icon = "寒冰护甲.dds";
|
||||
max_level = 10;
|
||||
type = 2;
|
||||
apcost = 30;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 1;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1210;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(88, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill180Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => (float)(-6 + 15 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 1200;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
12 + 15 * skill.GetLevel(),
|
||||
10 * skill.GetLevel(),
|
||||
skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e79a99e9fcf6b7041b6ca371546f806c
|
||||
@@ -0,0 +1,150 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1805 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1805;
|
||||
|
||||
public Skill1805() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1805Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33739 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 3500;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(273);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1500;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(1090);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1805Stub() : base(1805)
|
||||
{
|
||||
cls = 1;
|
||||
name = "秘法之光";
|
||||
nativename = "秘法之光";
|
||||
icon = "法之奥义.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 30;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2901;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_法之奥义.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1805Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 1363f;
|
||||
public int GetExecutetime(Skill skill) => 1500;
|
||||
public int GetCoolingtime(Skill skill) => 60000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 48fbf4d583134bf45b4f43eef8445166
|
||||
@@ -0,0 +1,149 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1806 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1806;
|
||||
|
||||
public Skill1806() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1806Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33736 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 2000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(364);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(1454);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1806Stub() : base(1806)
|
||||
{
|
||||
cls = 1;
|
||||
name = "冰晶世界";
|
||||
nativename = "冰晶世界";
|
||||
icon = "冰晶世界.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 200;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2902;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1806Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 1818f;
|
||||
public int GetExecutetime(Skill skill) => 1300;
|
||||
public int GetCoolingtime(Skill skill) => 120000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 0f;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: acbce8f77e3244b4e96b30e861f7082a
|
||||
@@ -0,0 +1,152 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1807 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1807;
|
||||
|
||||
public Skill1807() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1807Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 2500000 };
|
||||
private static readonly int[] RequiredItemArray = { 33742 };
|
||||
private static readonly int[] RequiredMoneyArray = { 2500000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(145);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 600;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(400);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1807Stub() : base(1807)
|
||||
{
|
||||
cls = 1;
|
||||
name = "太虚·逆空诀";
|
||||
nativename = "太虚·逆空诀";
|
||||
icon = "静谧之术.dds";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 20;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 5;
|
||||
rank = 8;
|
||||
eventflag = 1;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2905;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_静谧之术.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(1873, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1807Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 545f;
|
||||
public int GetExecutetime(Skill skill) => 600;
|
||||
public int GetCoolingtime(Skill skill) => 45000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 38f;
|
||||
public int GetAttackspeed(Skill skill) => 0;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => player.GetSoulpower (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9dbc35f122ba51a4f8129d48cf07ae7a
|
||||
@@ -0,0 +1,150 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1808 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1808;
|
||||
|
||||
public Skill1808() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1808Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33738 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(182);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(727);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1808Stub() : base(1808)
|
||||
{
|
||||
cls = 1;
|
||||
name = "煌黑之焰";
|
||||
nativename = "煌黑之焰";
|
||||
icon = "炙焰.dds";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 100;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 5;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2903;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_灸焰.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1808Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 909f;
|
||||
public int GetExecutetime(Skill skill) => 1200;
|
||||
public int GetCoolingtime(Skill skill) => 90000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 38f;
|
||||
public int GetAttackspeed(Skill skill) => 9;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ef841f4a9b08cbd47a242383439447f2
|
||||
@@ -0,0 +1,150 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1809 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1809;
|
||||
|
||||
public Skill1809() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1809Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33737 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1900;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(121);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1900;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(485);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1809Stub() : base(1809)
|
||||
{
|
||||
cls = 1;
|
||||
name = "沙之守护";
|
||||
nativename = "沙之守护";
|
||||
icon = "沙暴.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 6;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2904;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_沙暴.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1809Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 606f;
|
||||
public int GetExecutetime(Skill skill) => 1900;
|
||||
public int GetCoolingtime(Skill skill) => 10000;
|
||||
public float GetRadius(Skill skill) => 15f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 10f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 30f;
|
||||
public int GetAttackspeed(Skill skill) => 7;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 67a44a81663302747b52f47a45191389
|
||||
@@ -0,0 +1,165 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill181 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 181;
|
||||
|
||||
public Skill181() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill181Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 };
|
||||
private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 };
|
||||
private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f *(12 + 15 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f *(12 + 15 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill181Stub() : base(181)
|
||||
{
|
||||
cls = 1;
|
||||
name = "磐石护甲";
|
||||
nativename = "磐石护甲";
|
||||
icon = "奇门护甲.dds";
|
||||
max_level = 10;
|
||||
type = 2;
|
||||
apcost = 30;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 1;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1219;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(97, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill181Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => (float)(12 + 15 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 1200;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
12 + 15 * skill.GetLevel(),
|
||||
10 * skill.GetLevel(),
|
||||
10 * skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4023695df6bd708498470de3c8120816
|
||||
@@ -0,0 +1,154 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1815 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1815;
|
||||
|
||||
public Skill1815() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1815Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33712 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(28);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 600;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(113);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1815Stub() : base(1815)
|
||||
{
|
||||
cls = 0;
|
||||
name = "一骑紫尘";
|
||||
nativename = "一骑紫尘";
|
||||
icon = "霸气.dds";
|
||||
max_level = 1;
|
||||
type = 8;
|
||||
apcost = 50;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 7;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2901;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "巫师_复仇雷霆.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(9);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1815Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 141f;
|
||||
public int GetExecutetime(Skill skill) => 600;
|
||||
public int GetCoolingtime(Skill skill) => 90000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 15f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 25f;
|
||||
public int GetAttackspeed(Skill skill) => 0;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => 1.2 * player.GetPureattack (;
|
||||
public float GetTalent1(Skill skill) => player.GetAttackdegree (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f8d471a82d315364ca03f80de9495621
|
||||
@@ -0,0 +1,156 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1816 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1816;
|
||||
|
||||
public Skill1816() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1816Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 5000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33713 };
|
||||
private static readonly int[] RequiredMoneyArray = { 5000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 400;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(99);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1700;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(396);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1816Stub() : base(1816)
|
||||
{
|
||||
cls = 0;
|
||||
name = "太虚·诛神诀";
|
||||
nativename = "太虚·诛神诀";
|
||||
icon = "狂风.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 300;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 1;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2905;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_狂风.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(9);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(1871, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1816Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 495f;
|
||||
public int GetExecutetime(Skill skill) => 1700;
|
||||
public int GetCoolingtime(Skill skill) => 180000;
|
||||
public float GetRadius(Skill skill) => 10f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 9;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => player.GetAttackdegree (;
|
||||
public float GetTalent1(Skill skill) => (player.GetPureattack (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 14f6e369673df9542bf35e30e01379ee
|
||||
@@ -0,0 +1,156 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1817 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1817;
|
||||
|
||||
public Skill1817() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1817Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33710 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 450;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 850;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0);
|
||||
skill.SetPlus(7200);
|
||||
skill.SetRatio(2);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1817Stub() : base(1817)
|
||||
{
|
||||
cls = 0;
|
||||
name = "天元逆转";
|
||||
nativename = "天元逆转";
|
||||
icon = "碎颅.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 7;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2903;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_碎颅.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(9);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 1;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1817Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 850;
|
||||
public int GetCoolingtime(Skill skill) => 120000;
|
||||
public float GetRadius(Skill skill) => 3f;
|
||||
public float GetAttackdistance(Skill skill) => 12f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 10f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 9;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 515d5660c35a58548823a189a35a974a
|
||||
@@ -0,0 +1,156 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1818 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1818;
|
||||
|
||||
public Skill1818() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1818Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33711 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(70);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 900;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(283);
|
||||
skill.SetPlus(3500);
|
||||
skill.SetRatio(1);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1818Stub() : base(1818)
|
||||
{
|
||||
cls = 0;
|
||||
name = "一掷乾坤";
|
||||
nativename = "一掷乾坤";
|
||||
icon = "回旋击.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 35;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 7;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2904;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_回旋击.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 1;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(9);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(182);
|
||||
range = new Range();
|
||||
range.type = 3;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1818Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 353f;
|
||||
public int GetExecutetime(Skill skill) => 900;
|
||||
public int GetCoolingtime(Skill skill) => 60000;
|
||||
public float GetRadius(Skill skill) => 8f;
|
||||
public float GetAttackdistance(Skill skill) => 15f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 25f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool BlessMe(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 30f;
|
||||
public int GetAttackspeed(Skill skill) => 9;
|
||||
public float GetHitrate(Skill skill) => 3f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 20df611b7727dfe48bae66f90c9dc9dc
|
||||
@@ -0,0 +1,154 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1819 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1819;
|
||||
|
||||
public Skill1819() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1819Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 3000000 };
|
||||
private static readonly int[] RequiredItemArray = { 33709 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(42);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 2000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(170);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1819Stub() : base(1819)
|
||||
{
|
||||
cls = 0;
|
||||
name = "赤龙索";
|
||||
nativename = "赤龙索";
|
||||
icon = "龙依.dds";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 50;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 1;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2902;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_龙爪手.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(9);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1819Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 212f;
|
||||
public int GetExecutetime(Skill skill) => 2000;
|
||||
public int GetCoolingtime(Skill skill) => 120000;
|
||||
public float GetRadius(Skill skill) => 10f;
|
||||
public float GetAttackdistance(Skill skill) => 15f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 25f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 35f;
|
||||
public int GetAttackspeed(Skill skill) => 9;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => player.GetSoulpower (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 786a0ec08bf32664fa44221f4a12737d
|
||||
@@ -0,0 +1,169 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill182 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 182;
|
||||
|
||||
public Skill182() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill182Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 16, 21, 26, 31, 36, 41, 46, 51, 56, 61 };
|
||||
private static readonly int[] RequiredSpArray = { 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200, 72400, 98300 };
|
||||
private static readonly int[] RequiredMoneyArray = { 320, 530, 820, 1270, 1720, 2180, 2680, 3180, 3680, 6980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1800;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f *(39.6f + 18 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f *(39.6f + 18 * skill.GetLevel()));
|
||||
skill.SetPlus(3.2f * skill.GetLevel() * skill.GetLevel() + 114.6f * skill.GetLevel() + 328.9f);
|
||||
skill.SetRatio(0);
|
||||
skill.SetWaterdamage(skill.GetMagicattack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill182Stub() : base(182)
|
||||
{
|
||||
cls = 1;
|
||||
name = "冰雹";
|
||||
nativename = "冰雹";
|
||||
icon = "冰雹.dds";
|
||||
max_level = 10;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 5;
|
||||
attr = 4;
|
||||
rank = 1;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1211;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 3;
|
||||
effect = "冰雹.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 3;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill182Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => (float)(39.6 + 18 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 1200;
|
||||
public int GetCoolingtime(Skill skill) => 12000;
|
||||
public float GetRadius(Skill skill) => (float)(4 + 0.4 * skill.GetLevel());
|
||||
public float GetAttackdistance(Skill skill) => (float)(4 + 0.4 * skill.GetLevel());
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
19.5 + 0.9 * skill.GetLevel(),
|
||||
39.6 + 18 * skill.GetLevel(),
|
||||
3.2 * skill.GetLevel() * skill.GetLevel() + 114.6 * skill.GetLevel() + 328.9,
|
||||
2 + 0.2 * skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel();
|
||||
public int GetAttackspeed(Skill skill) => 0;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c8efff5b62497aa46859e38e54023686
|
||||
@@ -0,0 +1,110 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill183 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 183;
|
||||
|
||||
public Skill183() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill183Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 59 };
|
||||
private static readonly int[] RequiredSpArray = { 69600 };
|
||||
private static readonly int[] RequiredMoneyArray = { 3980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill183Stub() : base(183)
|
||||
{
|
||||
cls = 1;
|
||||
name = "般若心经";
|
||||
nativename = "般若心经";
|
||||
icon = "般若心经.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 200;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 6;
|
||||
eventflag = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 1;
|
||||
showorder = 1217;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "般若心经.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(89, 5);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill183Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 60000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 30f;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec2133869cfb82d4189f534be86deeaa
|
||||
@@ -0,0 +1,166 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill184 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 184;
|
||||
|
||||
public Skill184() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill184Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 };
|
||||
private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 };
|
||||
private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 500;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f *(135 + 12 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 2000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f *(135 + 12 * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill184Stub() : base(184)
|
||||
{
|
||||
cls = 1;
|
||||
name = "石破天惊";
|
||||
nativename = "石破天惊";
|
||||
icon = "石破天惊.dds";
|
||||
max_level = 10;
|
||||
type = 3;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 10;
|
||||
attr = 0;
|
||||
rank = 5;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1223;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "石破天惊.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(98, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill184Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => (float)(135 + 12 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 2000;
|
||||
public int GetCoolingtime(Skill skill) => 31000 - 1000 * skill.GetLevel();
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
19.5 + 0.9 * skill.GetLevel(),
|
||||
135 + 12 * skill.GetLevel(),
|
||||
31 - 1 * skill.GetLevel(),
|
||||
2 + 0.3 * skill.GetLevel());
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel();
|
||||
public int GetAttackspeed(Skill skill) => 27;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a2e7d62ab874faf40aebc102d0176b07
|
||||
@@ -0,0 +1,83 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1864 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1864;
|
||||
|
||||
public Skill1864() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1864Stub : SkillStub
|
||||
{
|
||||
|
||||
|
||||
public Skill1864Stub() : base(1864)
|
||||
{
|
||||
cls = 1;
|
||||
name = "8704021512";
|
||||
nativename = "8704021512";
|
||||
icon = "";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 0;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 0;
|
||||
allow_land = true;
|
||||
allow_air = false;
|
||||
allow_water = false;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 0;
|
||||
effect = "法师_冰晶世界.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
|
||||
}
|
||||
|
||||
~Skill1864Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 0;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 0f;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2eabc289456a37048a35ad0f437fceaa
|
||||
@@ -0,0 +1,152 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1865 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1865;
|
||||
|
||||
public Skill1865() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1865Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 2500000 };
|
||||
private static readonly int[] RequiredItemArray = { 33740 };
|
||||
private static readonly int[] RequiredMoneyArray = { 2500000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(145);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 600;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(400);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1865Stub() : base(1865)
|
||||
{
|
||||
cls = 1;
|
||||
name = "太虚·逆流诀";
|
||||
nativename = "太虚·逆流诀";
|
||||
icon = "静谧之术2.dds";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 20;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 5;
|
||||
rank = 8;
|
||||
eventflag = 1;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2906;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "静谧之术2_击中.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(1874, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1865Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 545f;
|
||||
public int GetExecutetime(Skill skill) => 600;
|
||||
public int GetCoolingtime(Skill skill) => 45000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 38f;
|
||||
public int GetAttackspeed(Skill skill) => 0;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => player.GetSoulpower (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e27ab1d6bb526de4488281117d9427a5
|
||||
@@ -0,0 +1,83 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1868 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1868;
|
||||
|
||||
public Skill1868() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1868Stub : SkillStub
|
||||
{
|
||||
|
||||
|
||||
public Skill1868Stub() : base(1868)
|
||||
{
|
||||
cls = 0;
|
||||
name = "8706856";
|
||||
nativename = "8706856";
|
||||
icon = "";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 0;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 0;
|
||||
allow_land = true;
|
||||
allow_air = false;
|
||||
allow_water = false;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 0;
|
||||
effect = "武侠_狂风.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 0);
|
||||
|
||||
}
|
||||
|
||||
~Skill1868Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 0;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 0f;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a010d16e793a6de4f901d89bc87a38a1
|
||||
@@ -0,0 +1,89 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill187 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 187;
|
||||
|
||||
public Skill187() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill187Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredItemArray = { 42333 };
|
||||
private static readonly int[] RequiredMoneyArray = { 42333 };
|
||||
|
||||
|
||||
public Skill187Stub() : base(187)
|
||||
{
|
||||
cls = 0;
|
||||
name = "2233";
|
||||
nativename = "2233";
|
||||
icon = "无效.ddsdd";
|
||||
max_level = 12;
|
||||
type = 10;
|
||||
apcost = 2233;
|
||||
arrowcost = 31;
|
||||
apgain = 3233;
|
||||
attr = 6;
|
||||
rank = 1;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 3;
|
||||
showorder = 4233;
|
||||
allow_land = false;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 1;
|
||||
restrict_corpse = 2;
|
||||
allow_forms = 15;
|
||||
effect = "3233";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
effect = "3233";
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 2);
|
||||
|
||||
}
|
||||
|
||||
~Skill187Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 1033f;
|
||||
public int GetExecutetime(Skill skill) => 1000333;
|
||||
public int GetCoolingtime(Skill skill) => 30002;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 1533f;
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 33344;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 8.5211f;
|
||||
public int GetAttackspeed(Skill skill) => 64;
|
||||
public float GetHitrate(Skill skill) => 1233f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12fdd4e1c59cd27468fea2884e06cef5
|
||||
@@ -0,0 +1,155 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1871 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1871;
|
||||
|
||||
public Skill1871() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1871Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 80 };
|
||||
private static readonly int[] RequiredSpArray = { 500000 };
|
||||
private static readonly int[] RequiredItemArray = { 33714 };
|
||||
private static readonly int[] RequiredMoneyArray = { 500000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 400;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(92);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1700;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(300);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1871Stub() : base(1871)
|
||||
{
|
||||
cls = 0;
|
||||
name = "诛神诀";
|
||||
nativename = "诛神诀";
|
||||
icon = "狂风.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 299;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 1;
|
||||
rank = 8;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2905;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_狂风.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(9);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1871Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 392f;
|
||||
public int GetExecutetime(Skill skill) => 1700;
|
||||
public int GetCoolingtime(Skill skill) => 300000;
|
||||
public float GetRadius(Skill skill) => 10f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 9;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => player.GetAttackdegree (;
|
||||
public float GetTalent1(Skill skill) => (player.GetPureattack (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 50f8533b01670a24cb735fb94767be2c
|
||||
@@ -0,0 +1,83 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1872 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1872;
|
||||
|
||||
public Skill1872() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1872Stub : SkillStub
|
||||
{
|
||||
|
||||
|
||||
public Skill1872Stub() : base(1872)
|
||||
{
|
||||
cls = 0;
|
||||
name = "8706857";
|
||||
nativename = "8706857";
|
||||
icon = "";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 0;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 0;
|
||||
allow_land = true;
|
||||
allow_air = false;
|
||||
allow_water = false;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 0;
|
||||
effect = "武侠_狂风.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 0);
|
||||
|
||||
}
|
||||
|
||||
~Skill1872Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 0;
|
||||
public int GetCoolingtime(Skill skill) => 0;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 0f;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dcf00d50b713f7844a0312859061439b
|
||||
@@ -0,0 +1,152 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1873 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1873;
|
||||
|
||||
public Skill1873() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1873Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 80 };
|
||||
private static readonly int[] RequiredSpArray = { 250000 };
|
||||
private static readonly int[] RequiredItemArray = { 33743 };
|
||||
private static readonly int[] RequiredMoneyArray = { 250000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(132);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 600;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(300);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1873Stub() : base(1873)
|
||||
{
|
||||
cls = 1;
|
||||
name = "逆空诀";
|
||||
nativename = "逆空诀";
|
||||
icon = "静谧之术.dds";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 50;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 5;
|
||||
rank = 8;
|
||||
eventflag = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2905;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_静谧之术.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1873Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 432f;
|
||||
public int GetExecutetime(Skill skill) => 600;
|
||||
public int GetCoolingtime(Skill skill) => 60000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 38f;
|
||||
public int GetAttackspeed(Skill skill) => 0;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => player.GetSoulpower (;
|
||||
public float GetTalent1(Skill skill) => player.GetLevel (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c266793a86edf844283c4232a2e56063
|
||||
@@ -0,0 +1,152 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1874 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1874;
|
||||
|
||||
public Skill1874() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1874Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 80 };
|
||||
private static readonly int[] RequiredSpArray = { 250000 };
|
||||
private static readonly int[] RequiredItemArray = { 33741 };
|
||||
private static readonly int[] RequiredMoneyArray = { 250000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(132);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 600;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(300);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1874Stub() : base(1874)
|
||||
{
|
||||
cls = 1;
|
||||
name = "逆流诀";
|
||||
nativename = "逆流诀";
|
||||
icon = "静谧之术2.dds";
|
||||
max_level = 1;
|
||||
type = 3;
|
||||
apcost = 50;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 5;
|
||||
rank = 8;
|
||||
eventflag = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2906;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "静谧之术2_击中.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1874Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 432f;
|
||||
public int GetExecutetime(Skill skill) => 600;
|
||||
public int GetCoolingtime(Skill skill) => 60000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 100;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 38f;
|
||||
public int GetAttackspeed(Skill skill) => 0;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
public float GetTalent0(Skill skill) => player.GetSoulpower (;
|
||||
public float GetTalent1(Skill skill) => player.GetLevel (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 93cb78294aa4f704dae9876c58a31a8c
|
||||
@@ -0,0 +1,140 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill1951 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 1951;
|
||||
|
||||
public Skill1951() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill1951Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 1 };
|
||||
private static readonly int[] RequiredSpArray = { 1 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 500;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill1951Stub() : base(1951)
|
||||
{
|
||||
cls = 1;
|
||||
name = "142452777";
|
||||
nativename = "142452777";
|
||||
icon = "";
|
||||
max_level = 10;
|
||||
type = 3;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 2;
|
||||
rank = 0;
|
||||
eventflag = 0;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 0;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 0;
|
||||
effect = "";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(0, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill1951Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 0;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 50f;
|
||||
public float GetHitrate(Skill skill) => 0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d8d75c227691a724badb6f2f2e83e636
|
||||
@@ -1,5 +1,6 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
@@ -20,149 +21,66 @@ namespace BrewMonster
|
||||
|
||||
public class Skill2Stub : SkillStub
|
||||
{
|
||||
// Static arrays for skill requirements
|
||||
private static readonly int[] RequiredLevelArray = { 3, 8, 13, 18, 23, 28, 33, 38, 43, 48 };
|
||||
private static readonly int[] RequiredSpArray = { 100, 800, 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100 };
|
||||
private static readonly int[] RequiredMoneyArray = { 10, 90, 220, 400, 630, 1000, 1450, 1900, 2380, 2880 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 200;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.2f * (-2.2f + 5.6f * skill.GetLevel()));
|
||||
skill.GetPlayer().SetDecmp(0.2f *(-2.2f + 5.6f * skill.GetLevel()));
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 700;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 700;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(0.8f * (-2.2f + 5.6f * skill.GetLevel()));
|
||||
skill.GetPlayer().SetDecmp(0.8f *(-2.2f + 5.6f * skill.GetLevel()));
|
||||
skill.SetPlus(0);
|
||||
skill.SetRatio(0);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public bool Quit(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Loop(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Bypass(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
|
||||
public bool Interrupt(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Cancel(Skill skill)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Skip(Skill skill)
|
||||
{
|
||||
return false;
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2Stub() : base(2)
|
||||
{
|
||||
cls = 0;
|
||||
@@ -190,18 +108,9 @@ namespace BrewMonster
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(9);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
effect = "寸力.sgc";
|
||||
effect = "";
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
@@ -209,67 +118,23 @@ namespace BrewMonster
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2Stub()
|
||||
{
|
||||
}
|
||||
~Skill2Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill)
|
||||
{
|
||||
return (float)(-2.2 + 5.6 * skill.GetLevel());
|
||||
}
|
||||
|
||||
public int GetExecutetime(Skill skill)
|
||||
{
|
||||
return 700;
|
||||
}
|
||||
|
||||
public int GetCoolingtime(Skill skill)
|
||||
{
|
||||
return 8000;
|
||||
}
|
||||
|
||||
public int GetRequiredLevel(Skill skill)
|
||||
{
|
||||
return RequiredLevelArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredSp(Skill skill)
|
||||
{
|
||||
return RequiredSpArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public int GetRequiredMoney(Skill skill)
|
||||
{
|
||||
return RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
}
|
||||
|
||||
public float GetRadius(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAttackdistance(Skill skill)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
public float GetAngle(Skill skill)
|
||||
{
|
||||
return (float)(1 - 0.0111111 * 0);
|
||||
}
|
||||
|
||||
public float GetPraydistance(Skill skill)
|
||||
{
|
||||
return (float)skill.GetPlayer().GetRange();
|
||||
}
|
||||
public float GetMpcost(Skill skill) => (float)(-2.2 + 5.6 * skill.GetLevel());
|
||||
public int GetExecutetime(Skill skill) => 700;
|
||||
public int GetCoolingtime(Skill skill) => 8000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format,
|
||||
skill.GetLevel(),
|
||||
-2.2 + 5.6 * skill.GetLevel(),
|
||||
5.9 * skill.GetLevel() * skill.GetLevel() + 126.7 * skill.GetLevel() + 40.5);
|
||||
string result = string.Format(format, skill.GetLevel(), -2.2 + 5.6 * skill.GetLevel(), 5.9 * skill.GetLevel() * skill.GetLevel() + 126.7 * skill.GetLevel() + 40.5);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
@@ -280,39 +145,16 @@ namespace BrewMonster
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill)
|
||||
{
|
||||
skill.GetVictim().SetProbability(1.0f * 100);
|
||||
skill.GetVictim().SetTime(15000);
|
||||
skill.GetVictim().SetAmount(5.9f * skill.GetLevel() * skill.GetLevel() + 126.7f * skill.GetLevel() + 40.5f);
|
||||
skill.GetVictim().SetBleeding(1);
|
||||
return true;
|
||||
}
|
||||
public bool TakeEffect(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public float GetEffectdistance(Skill skill)
|
||||
{
|
||||
return 11.7f;
|
||||
}
|
||||
|
||||
public int GetAttackspeed(Skill skill)
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
public float GetHitrate(Skill skill)
|
||||
{
|
||||
return (float)(1.2 + 0.05 * skill.GetLevel());
|
||||
}
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 11.7f;
|
||||
public int GetAttackspeed(Skill skill) => 3;
|
||||
public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,174 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2206 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2206;
|
||||
|
||||
public Skill2206() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2206Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42121 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 50;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(25);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(100);
|
||||
skill.SetPlus(2825);
|
||||
skill.SetRatio(0);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2206Stub() : base(2206)
|
||||
{
|
||||
cls = 0;
|
||||
name = "玄·虎崩";
|
||||
nativename = "玄·虎崩";
|
||||
icon = "玄·虎崩.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 20;
|
||||
attr = 1;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1101;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_虎击改.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(9);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(374, 1);
|
||||
pre_skills.Add(376, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2206Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 125f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 125, 4697);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 13.3f;
|
||||
public int GetAttackspeed(Skill skill) => 2;
|
||||
public float GetHitrate(Skill skill) => 1.8f;
|
||||
public float GetTalent0(Skill skill) => player.GetAttackdegree (;
|
||||
public float GetTalent1(Skill skill) => 3 * player.GetEquipattack (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 54a19dbf35bf4b34e9ff47977013205f
|
||||
@@ -0,0 +1,174 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2207 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2207;
|
||||
|
||||
public Skill2207() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2207Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42122 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 50;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(25);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(100);
|
||||
skill.SetPlus(2825);
|
||||
skill.SetRatio(0);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2207Stub() : base(2207)
|
||||
{
|
||||
cls = 0;
|
||||
name = "荒·虎崩";
|
||||
nativename = "荒·虎崩";
|
||||
icon = "荒·虎崩.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 15;
|
||||
attr = 1;
|
||||
rank = 30;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1101;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_虎击改.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(9);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(375, 1);
|
||||
pre_skills.Add(377, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2207Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 125f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 125, 4697);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 13.3f;
|
||||
public int GetAttackspeed(Skill skill) => 3;
|
||||
public float GetHitrate(Skill skill) => 1.8f;
|
||||
public float GetTalent0(Skill skill) => player.GetAttackdegree (;
|
||||
public float GetTalent1(Skill skill) => 4 * player.GetEquipattack (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2960e35a9b41284e8d7c93c46d5729c
|
||||
@@ -0,0 +1,171 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2208 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2208;
|
||||
|
||||
public Skill2208() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2208Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42123 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 50;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(42);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(168);
|
||||
skill.SetPlus(7241);
|
||||
skill.SetRatio(0);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2208Stub() : base(2208)
|
||||
{
|
||||
cls = 0;
|
||||
name = "玄·千军辟易";
|
||||
nativename = "玄·千军辟易";
|
||||
icon = "玄·千军辟易.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 10;
|
||||
attr = 1;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1108;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_横扫千军改.sgc";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(9);
|
||||
range = new Range();
|
||||
range.type = 2;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(388, 1);
|
||||
pre_skills.Add(386, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2208Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 210f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 10f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 210);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 5f;
|
||||
public int GetAttackspeed(Skill skill) => 6;
|
||||
public float GetHitrate(Skill skill) => 2f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e0f1eee8b1e5cd4e86dd4e3d5cd44ab
|
||||
@@ -0,0 +1,171 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2209 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2209;
|
||||
|
||||
public Skill2209() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2209Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42124 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 50;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(42);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(168);
|
||||
skill.SetPlus(5416);
|
||||
skill.SetRatio(0);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2209Stub() : base(2209)
|
||||
{
|
||||
cls = 0;
|
||||
name = "荒·千军辟易";
|
||||
nativename = "荒·千军辟易";
|
||||
icon = "荒·千军辟易.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 10;
|
||||
attr = 1;
|
||||
rank = 30;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1108;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_横扫千军改.sgc";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(9);
|
||||
range = new Range();
|
||||
range.type = 2;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(389, 1);
|
||||
pre_skills.Add(387, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2209Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 210f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 12f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 210);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 5f;
|
||||
public int GetAttackspeed(Skill skill) => 6;
|
||||
public float GetHitrate(Skill skill) => 2f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 72a4ec7f7bb462d459718b7f56d8344c
|
||||
@@ -0,0 +1,172 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2210 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2210;
|
||||
|
||||
public Skill2210() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2210Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42125 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 400;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(30);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1800;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(120);
|
||||
skill.SetPlus(4664);
|
||||
skill.SetRatio(1.8f);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2210Stub() : base(2210)
|
||||
{
|
||||
cls = 0;
|
||||
name = "玄·断水凌风";
|
||||
nativename = "玄·断水凌风";
|
||||
icon = "玄·断水凌风.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 10;
|
||||
attr = 1;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1104;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_凌风改.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(9);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(380, 1);
|
||||
pre_skills.Add(378, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2210Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 150f;
|
||||
public int GetExecutetime(Skill skill) => 1800;
|
||||
public int GetCoolingtime(Skill skill) => 6000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 150);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 22.1f;
|
||||
public int GetAttackspeed(Skill skill) => 15;
|
||||
public float GetHitrate(Skill skill) => 2f;
|
||||
public float GetTalent0(Skill skill) => player.GetMaxhp (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8194f706bc239ee48a2a6aefcd9b7aba
|
||||
@@ -0,0 +1,172 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2211 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2211;
|
||||
|
||||
public Skill2211() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2211Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42126 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 400;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(30);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1800;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(120);
|
||||
skill.SetPlus(4664);
|
||||
skill.SetRatio(1.4f);
|
||||
skill.SetDamage(skill.GetAttack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2211Stub() : base(2211)
|
||||
{
|
||||
cls = 0;
|
||||
name = "荒·断水凌风";
|
||||
nativename = "荒·断水凌风";
|
||||
icon = "荒·断水凌风.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 10;
|
||||
attr = 1;
|
||||
rank = 30;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1104;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = true;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "武侠_凌风改.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(1);
|
||||
restrict_weapons.Add(5);
|
||||
restrict_weapons.Add(9);
|
||||
restrict_weapons.Add(182);
|
||||
restrict_weapons.Add(292);
|
||||
restrict_weapons.Add(0);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(381, 1);
|
||||
pre_skills.Add(379, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2211Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 150f;
|
||||
public int GetExecutetime(Skill skill) => 1800;
|
||||
public int GetCoolingtime(Skill skill) => 5000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange());
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 150);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 22.1f;
|
||||
public int GetAttackspeed(Skill skill) => 15;
|
||||
public float GetHitrate(Skill skill) => 2f;
|
||||
public float GetTalent0(Skill skill) => player.GetMaxhp (;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b4cfca84b043d8148b9e2a99d767353f
|
||||
@@ -0,0 +1,164 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2254 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2254;
|
||||
|
||||
public Skill2254() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2254Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42098 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2254Stub() : base(2254)
|
||||
{
|
||||
cls = 1;
|
||||
name = "玄·磐石护甲";
|
||||
nativename = "玄·磐石护甲";
|
||||
icon = "奇门护甲1.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 10;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1219;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_磐石护甲.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(474, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2254Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 300;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cac5fa70d4d7e9a49b26592f5bcccfeb
|
||||
@@ -0,0 +1,164 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2255 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2255;
|
||||
|
||||
public Skill2255() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2255Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42099 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2255Stub() : base(2255)
|
||||
{
|
||||
cls = 1;
|
||||
name = "荒·磐石护甲";
|
||||
nativename = "荒·磐石护甲";
|
||||
icon = "奇门护甲2.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 10;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 30;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1219;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_磐石护甲.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(475, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2255Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 300;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: abe70766c28c30b4cb8b0a96b4841110
|
||||
@@ -0,0 +1,164 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2256 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2256;
|
||||
|
||||
public Skill2256() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2256Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42094 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2256Stub() : base(2256)
|
||||
{
|
||||
cls = 1;
|
||||
name = "玄·烈焰护甲";
|
||||
nativename = "玄·烈焰护甲";
|
||||
icon = "烈焰护甲1.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1202;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_烈焰护甲.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(442, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2256Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 300;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 7;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d11ea596b283b7244926ea28dbb13dfd
|
||||
@@ -0,0 +1,164 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2257 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2257;
|
||||
|
||||
public Skill2257() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2257Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42095 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2257Stub() : base(2257)
|
||||
{
|
||||
cls = 1;
|
||||
name = "荒·烈焰护甲";
|
||||
nativename = "荒·烈焰护甲";
|
||||
icon = "烈焰护甲2.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 0;
|
||||
rank = 30;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1202;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_烈焰护甲.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(443, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2257Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 300;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 7;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e7df7376d4338354780835075cbd63d4
|
||||
@@ -0,0 +1,164 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2258 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2258;
|
||||
|
||||
public Skill2258() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2258Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42096 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2258Stub() : base(2258)
|
||||
{
|
||||
cls = 1;
|
||||
name = "玄·寒冰护甲";
|
||||
nativename = "玄·寒冰护甲";
|
||||
icon = "寒冰护甲1.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 5;
|
||||
attr = 0;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1210;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_寒冰护甲.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(458, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2258Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 300;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 379270054f72dbf4999d661e8c7485ea
|
||||
@@ -0,0 +1,164 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2259 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2259;
|
||||
|
||||
public Skill2259() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2259Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42097 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 300;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2259Stub() : base(2259)
|
||||
{
|
||||
cls = 1;
|
||||
name = "荒·寒冰护甲";
|
||||
nativename = "荒·寒冰护甲";
|
||||
icon = "寒冰护甲2.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 5;
|
||||
attr = 0;
|
||||
rank = 30;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1210;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_寒冰护甲.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 5;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(459, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2259Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 300;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 20f;
|
||||
public int GetAttackspeed(Skill skill) => 4;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8d27e85513f8060479681ab07180baf7
|
||||
@@ -0,0 +1,140 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill226 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 226;
|
||||
|
||||
public Skill226() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill226Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 29 };
|
||||
private static readonly int[] RequiredSpArray = { 0 };
|
||||
private static readonly int[] RequiredMoneyArray = { 0 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 200;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill226Stub() : base(226)
|
||||
{
|
||||
cls = 0;
|
||||
name = "真元爆发";
|
||||
nativename = "真元爆发";
|
||||
icon = "爆气1.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 100;
|
||||
arrowcost = 0;
|
||||
apgain = 0;
|
||||
attr = 1;
|
||||
rank = 3;
|
||||
eventflag = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 2111;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
restrict_weapons.Add(0);
|
||||
effect = "";
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill226Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 0f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 5000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 0f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 8.5f;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 50df00b7e9d1c3d4d8e407f8339e3d4d
|
||||
@@ -0,0 +1,166 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2260 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2260;
|
||||
|
||||
public Skill2260() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2260Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42100 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1500;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 800;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.SetPlus(3620);
|
||||
skill.SetRatio(1);
|
||||
skill.SetFiredamage(skill.GetMagicattack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2260Stub() : base(2260)
|
||||
{
|
||||
cls = 1;
|
||||
name = "废弃";
|
||||
nativename = "废弃";
|
||||
icon = "玄·业火符.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 15;
|
||||
attr = 5;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1201;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_业火符.sgc";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(440, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2260Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 800;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 30, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 36f;
|
||||
public int GetAttackspeed(Skill skill) => 27;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1806e4b063aa7854bbca55c1e1fa20db
|
||||
@@ -0,0 +1,166 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2261 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2261;
|
||||
|
||||
public Skill2261() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2261Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42101 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1500;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(53);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 800;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(212);
|
||||
skill.SetPlus(3620);
|
||||
skill.SetRatio(1);
|
||||
skill.SetFiredamage(skill.GetMagicattack());
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2261Stub() : base(2261)
|
||||
{
|
||||
cls = 1;
|
||||
name = "废弃";
|
||||
nativename = "废弃";
|
||||
icon = "荒·业火符.dds";
|
||||
max_level = 1;
|
||||
type = 1;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 15;
|
||||
attr = 5;
|
||||
rank = 30;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1201;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_业火符.sgc";
|
||||
doenchant = 0;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 0;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(441, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2261Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 265f;
|
||||
public int GetExecutetime(Skill skill) => 800;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 0f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 30f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 30, 265);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 36f;
|
||||
public int GetAttackspeed(Skill skill) => 27;
|
||||
public float GetHitrate(Skill skill) => 1.0f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 86e6c90eeea58534dacf16c0fa2943f4
|
||||
@@ -0,0 +1,164 @@
|
||||
#define SKILL_CLIENT
|
||||
using BrewMonster.Scripts.Skills;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using static BrewMonster.PET_EVOLVE_CONFIG;
|
||||
|
||||
namespace BrewMonster
|
||||
{
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class Skill2262 : Skill
|
||||
{
|
||||
public const int SKILL_ID = 2262;
|
||||
|
||||
public Skill2262() : base(SKILL_ID)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class Skill2262Stub : SkillStub
|
||||
{
|
||||
private static readonly int[] RequiredLevelArray = { 100 };
|
||||
private static readonly int[] RequiredSpArray = { 1000000 };
|
||||
private static readonly int[] RequiredItemArray = { 42102 };
|
||||
private static readonly int[] RequiredMoneyArray = { 1000000 };
|
||||
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State1 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(120);
|
||||
skill.GetPlayer().SetPray(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => true;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State2 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 1000;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
skill.GetPlayer().SetDecmp(480);
|
||||
skill.GetPlayer().SetPerform(1);
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public class State3 : SkillStub.State
|
||||
{
|
||||
public int GetTime(Skill skill) => 0;
|
||||
public bool Quit(Skill skill) => false;
|
||||
public bool Loop(Skill skill) => false;
|
||||
public bool Bypass(Skill skill) => false;
|
||||
public void Calculate(Skill skill)
|
||||
{
|
||||
}
|
||||
public bool Interrupt(Skill skill) => false;
|
||||
public bool Cancel(Skill skill) => false;
|
||||
public bool Skip(Skill skill) => false;
|
||||
}
|
||||
#endif
|
||||
|
||||
public Skill2262Stub() : base(2262)
|
||||
{
|
||||
cls = 1;
|
||||
name = "玄·霜刃";
|
||||
nativename = "玄·霜刃";
|
||||
icon = "玄·霜天之刃.dds";
|
||||
max_level = 1;
|
||||
type = 2;
|
||||
apcost = 0;
|
||||
arrowcost = 0;
|
||||
apgain = 20;
|
||||
attr = 4;
|
||||
rank = 20;
|
||||
eventflag = 0;
|
||||
is_senior = 1;
|
||||
posdouble = 0;
|
||||
clslimit = 0;
|
||||
time_type = 0;
|
||||
showorder = 1214;
|
||||
allow_land = true;
|
||||
allow_air = true;
|
||||
allow_water = true;
|
||||
allow_ride = false;
|
||||
auto_attack = false;
|
||||
long_range = 0;
|
||||
restrict_corpse = 0;
|
||||
allow_forms = 1;
|
||||
effect = "法师_寒霜.sgc";
|
||||
doenchant = 1;
|
||||
dobless = 0;
|
||||
commoncooldown = 0;
|
||||
commoncooldowntime = 0;
|
||||
restrict_weapons.Add(0);
|
||||
restrict_weapons.Add(292);
|
||||
range = new Range();
|
||||
range.type = 2;
|
||||
pre_skills = new Dictionary<uint, int>();
|
||||
pre_skills.Add(466, 1);
|
||||
#if SKILL_SERVER
|
||||
statestub.Add(new State1());
|
||||
statestub.Add(new State2());
|
||||
statestub.Add(new State3());
|
||||
#endif
|
||||
}
|
||||
|
||||
~Skill2262Stub() { }
|
||||
|
||||
public float GetMpcost(Skill skill) => 600f;
|
||||
public int GetExecutetime(Skill skill) => 1000;
|
||||
public int GetCoolingtime(Skill skill) => 3000;
|
||||
public float GetRadius(Skill skill) => 15f;
|
||||
public float GetAttackdistance(Skill skill) => 0f;
|
||||
public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0);
|
||||
public float GetPraydistance(Skill skill) => 5f;
|
||||
public int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
|
||||
public int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1];
|
||||
|
||||
#if SKILL_CLIENT
|
||||
public int GetIntroduction(Skill skill, StringBuilder buffer, int length, string format)
|
||||
{
|
||||
string result = string.Format(format, 600);
|
||||
if (result.Length < length)
|
||||
{
|
||||
buffer.Append(result);
|
||||
return result.Length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SKILL_SERVER
|
||||
public int GetEnmity(Skill skill) => 0;
|
||||
public bool StateAttack(Skill skill) => true;
|
||||
public bool TakeEffect(Skill skill) => true;
|
||||
public float GetEffectdistance(Skill skill) => 36f;
|
||||
public int GetAttackspeed(Skill skill) => 8;
|
||||
public float GetHitrate(Skill skill) => 1f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a8ac45b1e2972747ac21a4730cad180
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user