Files
test/Assets/PerfectWorld/Scripts/Skills/skill187.cs
T
2026-01-08 18:43:10 +07:00

89 lines
2.6 KiB
C#

#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 = "无效";
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;
range = new Range();
range.type = 0;
pre_skills = new Dictionary<uint, int>();
pre_skills.Add(0, 2);
}
~Skill187Stub() { }
public override float GetMpcost(Skill skill) => 1033f;
public override int GetExecutetime(Skill skill) => 1000333;
public override 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 override float GetPraydistance(Skill skill) => 1533f;
public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1];
public override 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
}
}