====== Repulsion ====== {{czary:ikony:14.png?nolink|}} ^ Klasa | [[czary:czarodziej|Czarodziej]] | ^ Szkoła | Wind | ^ Element | brak | ^ Rodzaj | Active | ^ Opóźnienie | 0 s | ^ Księga | [[przedmioty:repulsion|Repulsion]] | > A defensive spell that allows you to push away enemies of lower level. This spell has a fixed chance for success. The range of the spell and chance of success increase with training. ===== Poziomy ===== ^ Poziom czaru ^ Wymagany poziom postaci ^ Trening do następnego ^ Moc ^ Koszt many ^ | 0 | 12 (nauka) | 200 | 2-3 | 1 | | 1 | 12 | 300 | 3-4 | 3 | | 2 | 14 | 400 | 4-5 | 6 | | 3 | 16 | - | 5-6 | 9 | ===== Co wpływa na skuteczność ===== * **poziom czaru** (moc z tabeli niżej) * poziom postaci względem poziomu celu (warunek skuteczności, np. cel musi mieć niższy poziom) Obrażenia magiczne zmniejsza MR celu, a fizyczne AC celu. Element czaru zderza się z odpornością celu na ten element. Fragmenty kodu serwera, z których to wynika: if (!Player.CanAttackTarget(ob) || ob.Level >= Player.Level || SEnvir.Random.Next(16) >= 6 + Magic.Level * 3 + Player.Level - ob.Level) continue; if (ob.Pushed(direction, Magic.GetPower()) <= 0) continue; //Źródło: ''ServerLibrary/Models/Magics/Wizard/Repulsion.cs''//