|
İçerde : 1 misafir, 0 üye : ---
|
public override void GetDamageTypes( Mobile wielder, out int physical, out int fire, out int cold, out int poison, out int energy )
{
physical = fire = cold = energy = 0;
poison = 100;
}
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy )
{
phys = 0;
fire = 0;
cold = 0;
nrgy = 0;
pois = 100;
}
public override void GetDamageTypes( Mobile wielder, out int physical, out int fire, out int cold, out int poison, out int energy )
{
physical = 0;
fire = 0;
cold = 0;
energy = 0;
poison = 100;
}
xrambo :
Öncelikle run uo scriptinden hiç bişey anlamam.
bir inceledim sanki damage type lerinde bir hata var gibi , hesaplamada ufak bişey denedim belki yardımcı olur
satır 49 için
nrgy gibi satırları energy yaptım.
Kod:public override void GetDamageTypes( Mobile wielder, out int physical, out int fire, out int cold, out int poison, out int energy )
{
physical = fire = cold = energy = 0;
poison = 100;
}
yada
damage tiplerini 0 lamak için kullanılan fonksiyonda cold = fire gibi eşitleme yapmış bunları ayırmak.
Kod:public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy )
{
phys = 0;
fire = 0;
cold = 0;
nrgy = 0;
pois = 100;
}
olmazsa birde isimlerini düzenleyip ayırmayı denemek lazım.
Kod:public override void GetDamageTypes( Mobile wielder, out int physical, out int fire, out int cold, out int poison, out int energy )
{
physical = 0;
fire = 0;
cold = 0;
energy = 0;
poison = 100;
}
son olarak da satır altına şuda olabilir.
poison 0;
poison 100;
önce sıfırlatıp sonra 100 yapmak.
55 satır da ise tam olarak anlamadımda ,49. satır bozuk olduğu için oradada otomatik hata veriyor olabilir
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy )
{
phys = fire = cold = nrgy = 0;
pois = 100;
}
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
{
phys = fire = cold = nrgy = chaos = direct = 0;
pois = 100;
}
public override void OnHit( Mobile attacker, Mobile defender )
public override void OnHit( Mobile attacker, Mobile defender, double damageBonus )
base.OnHit( attacker, defender );
base.OnHit( attacker, defender, damageBonus );
|
Yok |